ideas for catalog page
This commit is contained in:
parent
d1ac75583b
commit
2a819fb8b1
2 changed files with 92 additions and 14 deletions
25
templates/catalog.html
Normal file
25
templates/catalog.html
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block style %}
|
||||
<style>
|
||||
td { vertical-align: top; }
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="p-2">
|
||||
<table>
|
||||
{% for item in items %}
|
||||
<tr>
|
||||
<td>
|
||||
<img src="{{ item.image.thumburl }}">
|
||||
</td>
|
||||
<td>
|
||||
<p>{{ item.label }}</p>
|
||||
{# <pre>{{ item | pprint }}</pre> #}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue