35 lines
794 B
HTML
35 lines
794 B
HTML
{% extends "base/main.html" %}
|
|
|
|
{%block title%}
|
|
Hyllekart
|
|
{% endblock %}
|
|
|
|
|
|
{% block content %}
|
|
{% for shelf in shelf_lists %}
|
|
<span class="img">
|
|
<table border="1" class="shelf" >
|
|
<caption class="caption">Hylle {{ shelf.shelf_name }}</caption>
|
|
{% for row in shelf.shelf_list %}
|
|
<tr>
|
|
{% for column in row %}
|
|
<td>
|
|
<table>
|
|
{% for category in column %}
|
|
<tr><td {% if category in highlight_list %}class="highlight"{% endif %}>{% if category in highlight_list %}!!{% endif %}<a href="/kategori/{{ category.id }}">{{ category }}</a></td></tr>
|
|
{% endfor %}
|
|
</table>
|
|
</td>
|
|
{% endfor %}
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</span>
|
|
<!---<li><a href="/kart/{{ shelf_name }}">{{ shelf_name }}</a></li>---!>
|
|
{% endfor %}
|
|
<br/>
|
|
<br/>
|
|
<br/>
|
|
{% endblock %}
|
|
|