From 24cd1e99faf93d64019588d8344d8f89036088b0 Mon Sep 17 00:00:00 2001 From: bryan newbold Date: Mon, 13 May 2013 12:54:51 -0400 Subject: progress --- templates/grid.html | 39 +++++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 10 deletions(-) (limited to 'templates/grid.html') diff --git a/templates/grid.html b/templates/grid.html index 3a4c71e..37f62d6 100644 --- a/templates/grid.html +++ b/templates/grid.html @@ -3,22 +3,31 @@ {% block content %}

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

+ {% for spec in grid.shared_specs %} - {{ spec }}: {{ grid.shared_specs[spec] }}
+ + + {% endfor %} +
{{ spec }}{{ grid.shared_specs[spec] }}

- +
{% for row in grid.data_table %} - + {% for cell in row %} - + {% if loop.first %} + + {% else %} + + {% endif %} {% endfor %} + {% if loop.first %}{% endif %} {% endfor %} - - + + {% for cell in grid.price_row %} {% for row in grid.package_table %} - + {% for cell in row %} - + {% if loop.first %} + + {% else %} + + {% endif %} {% endfor %} {% endfor %} - - + + {% for cell in grid.suffix_row %}
{{ cell[1] }}{{ cell[1] }}{{ cell[1] }}
Price:
Price {% if cell.url %}{% endif %} @@ -29,15 +38,19 @@
{{ cell }}Pins in {{ cell }} Package{{ cell }}
All Parts:
All Parts {% for part in cell %} @@ -50,4 +63,10 @@
+ +
+Fineprint: Prices from Octopart API and only +include "authorized" distributors, regardless of stock. Some distributors +(Avnet?) do not allow their pricing to be included in the API results. +
{% endblock %} -- cgit v1.2.3