diff options
Diffstat (limited to 'templates/results.html')
-rw-r--r-- | templates/results.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/results.html b/templates/results.html new file mode 100644 index 0000000..c635a75 --- /dev/null +++ b/templates/results.html @@ -0,0 +1,12 @@ +{% if not from_js %} +<a href="{{ url_for('root') }}">clear search</a> +{% else %} +<a href="{{ savedlink }}">{{ savedlink }}</a> +{% endif %} +{# {% for r in results %}{% for store in r %}<div class="{{ store }} store"><h1>{{ store | capitalize }}</h1> #} +{% for r in results %}{% for store in r %}<div class="{{ store }} store"><h1><img class="storeimg" src="{{ url_for('static', filename = 'images/' + store + '.png') }}"/>{{ store | capitalize }}</h1> +{% for salepaper in r[store] %}<h2>{{ salepaper | safe }}</h2> +{% for grouping in r[store][salepaper] %}<h3>{{ grouping | safe }}</h3> +{% for coupon in r[store][salepaper][grouping] %}{{ coupon | safe }}<br/>{% endfor %} +{% endfor %}{% endfor %} +</div>{% endfor %}{% endfor %} |