This commit is contained in:
2025-03-20 10:25:05 +01:00
commit 45bccf468b
13 changed files with 271 additions and 0 deletions

24
templates/index.html Normal file
View File

@@ -0,0 +1,24 @@
{% extends "base.html" %}
{% block body %}
<p>
<h4>Diese Seite zeigt unsere Ausgaben</h4>
Ausgabe hinzufügen <a href="/add_ausgabe">Klick</a> .
</p>
<table border="1" width="50%">
<tr>
<th>Datum</th>
<th>Ausgaben</th>
<th>Beschreibung</th>
</tr>
{% for name in data %}
<tr>
<td>{{ name.get("datum") }}</td>
<td>{{ name.get("ausgabe") }}</td>
<td> {{ name.get("beschreibung") }}</td>
</tr>
{% endfor %}
</table>
<p><br><h5>Gesamt: {{sum_all}}</h5>
<p> Nächste Schritte </p>
{% endblock %}