neuer stand

This commit is contained in:
2022-10-06 00:55:26 +02:00
parent 03a9433149
commit c6dc363c68
4 changed files with 50 additions and 29 deletions

View File

@@ -2,7 +2,22 @@
{% block content %}
<h1>Inventar</h1>
<h2>{{oe_name}}</h2>
{% for entry in dbresult %}
{{entry}}<br>
<table>
<tr>
{% for entry in table.headers %}
<th>{{entry}}</th>
{% endfor %}
</tr>
{% for entry in table.rows %}
<tr>
{% for x in entry %}
<td>{{x}}</td>
{% endfor %}
</tr>
{% endfor %}
</table>
{% endblock %}