From 31907e58394484c2447402f630c0a5c93c5b37e7 Mon Sep 17 00:00:00 2001 From: bryan newbold Date: Sun, 12 May 2013 11:02:04 -0400 Subject: minimum viable demonstration --- templates/grid.html | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 templates/grid.html (limited to 'templates/grid.html') diff --git a/templates/grid.html b/templates/grid.html new file mode 100644 index 0000000..3a4c71e --- /dev/null +++ b/templates/grid.html @@ -0,0 +1,53 @@ +{% extends "base.html" %} +{% block title %}partmom: {{ grid.vendor }} {{ grid.familyname }}{% endblock %} +{% block content %} +

{{ grid.vendor }} {{ grid.familyname }}

+ +{% for spec in grid.shared_specs %} + {{ spec }}: {{ grid.shared_specs[spec] }}
+{% endfor %} +
+ + +{% for row in grid.data_table %} + + {% for cell in row %} + + {% endfor %} + +{% endfor %} + + + +{% for cell in grid.price_row %} + +{% endfor %} + + +{% for row in grid.package_table %} + + {% for cell in row %} + + {% endfor %} + +{% endfor %} + + + +{% for cell in grid.suffix_row %} + +{% endfor %} + + +
{{ cell[1] }}
Price: + {% if cell.url %}{% endif %} + {{ cell.price }} + {% if cell.url %}{% endif %} +
{{ cell }}
All Parts: + {% for part in cell %} + {% if part.url %}{{ part.suffix }} + {% else %}{{ part.suffix }} + {% endif %}
+ {% endfor %} +
+{% endblock %} -- cgit v1.2.3