2011-03-06 19:01:15 +01:00
|
|
|
{% extends "base/main.html" %}
|
|
|
|
|
|
|
|
{%block title%}
|
2011-03-06 21:40:41 +01:00
|
|
|
Hyllekart
|
2011-03-06 19:01:15 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
2011-03-06 21:50:07 +01:00
|
|
|
|
2011-03-06 19:01:15 +01:00
|
|
|
{% block content %}
|
2011-03-06 21:50:07 +01:00
|
|
|
{% for shelf in shelf_lists %}
|
2011-03-06 22:24:58 +01:00
|
|
|
<span class="img">
|
|
|
|
<table border="1" class="shelf" >
|
2011-03-06 22:53:58 +01:00
|
|
|
<caption class="caption">Hylle {{ shelf.shelf_name }}</caption>
|
|
|
|
{% for row in shelf.shelf_list %}
|
2011-03-06 21:50:07 +01:00
|
|
|
<tr>
|
|
|
|
{% for column in row %}
|
2011-03-07 13:02:26 +01:00
|
|
|
<td {% for category in column %}{% if category.id == highlight_string %}class="highlight"{% endif %}{% endfor %}>
|
2011-03-06 21:50:07 +01:00
|
|
|
<table>
|
|
|
|
{% for category in column %}
|
2011-03-06 23:42:01 +01:00
|
|
|
<tr><td {% if category.id == highlight_string %}class="highlight"{% endif %}><a href="/kategori/{{ category.id }}">{{ category }}</a></td></tr>
|
2011-03-06 21:50:07 +01:00
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
{% endfor %}
|
|
|
|
</tr>
|
2011-03-06 19:01:15 +01:00
|
|
|
{% endfor %}
|
2011-03-06 21:50:07 +01:00
|
|
|
</table>
|
2011-03-06 22:24:58 +01:00
|
|
|
</span>
|
|
|
|
<!---<li><a href="/kart/{{ shelf_name }}">{{ shelf_name }}</a></li>---!>
|
2011-03-06 21:50:07 +01:00
|
|
|
{% endfor %}
|
2011-03-06 22:24:58 +01:00
|
|
|
<br/>
|
|
|
|
<br/>
|
|
|
|
<br/>
|
2011-03-06 19:01:15 +01:00
|
|
|
{% endblock %}
|
|
|
|
|