Projects/worblehat-old
Projects
/
worblehat-old
Archived
12
0
Fork 0
This repository has been archived on 2024-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
worblehat-old/python/web/templates/index.html

33 lines
813 B
HTML
Raw Normal View History

{% extends "base/main.html" %}
{% block title %}
Heisann!!
{% endblock %}
{% block content %}
Velkommen til PVVs bokdatabase, Worblehat.<br/>
Her kan du søke etter bøker til din hjertens lyst, eller gå til hyllene:
<br/><br/>
{% for shelf in shelf_lists %}
<span class="img">
<table border="1" class="shelf" >
<caption class="caption">Hylle {% if forloop.last %}B{% else %}A{% endif %}</caption>
{% for row in shelf.1 %}
<tr>
{% for column in row %}
<td>
<table>
{% for category in column %}
<tr><td><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 %}
{% endblock %}