From c1bf15138a2da2e7d235a9a3262b57a0bfb30b19 Mon Sep 17 00:00:00 2001 From: hubobel Date: Sat, 20 Jun 2026 18:45:15 +0200 Subject: [PATCH] Kachel Wartung --- app.py | 14 +++- templates/categories.html | 7 +- templates/edit_category.html | 7 +- templates/index.html | 7 +- templates/maintenance.html | 134 +++++++++++++++++++++++++++++++++++ 5 files changed, 156 insertions(+), 13 deletions(-) create mode 100644 templates/maintenance.html diff --git a/app.py b/app.py index d47cf47..59cf96a 100644 --- a/app.py +++ b/app.py @@ -127,7 +127,7 @@ def get_balance(): return None @app.route("/") -@app.route("/") + def index(): ( @@ -387,6 +387,18 @@ def delete_word(category, word): return redirect( f"/categories/edit/{category}" ) +@app.route("/maintenance") +def maintenance(): + + year, week, _ = datetime.now().isocalendar() + + return render_template( + "maintenance.html", + year=year, + week=week + ) + + if __name__ == "__main__": app.run( diff --git a/templates/categories.html b/templates/categories.html index 015427a..d2a3527 100644 --- a/templates/categories.html +++ b/templates/categories.html @@ -49,10 +49,9 @@ diff --git a/templates/edit_category.html b/templates/edit_category.html index 650842f..e2e4bb0 100644 --- a/templates/edit_category.html +++ b/templates/edit_category.html @@ -49,10 +49,9 @@ diff --git a/templates/index.html b/templates/index.html index 4d92a53..77dee56 100644 --- a/templates/index.html +++ b/templates/index.html @@ -49,10 +49,9 @@ diff --git a/templates/maintenance.html b/templates/maintenance.html new file mode 100644 index 0000000..c164018 --- /dev/null +++ b/templates/maintenance.html @@ -0,0 +1,134 @@ + + + + + + +``` + + + + Wartung + + + +``` + + + + + +
+ +``` +
+ + + +
+ +
+ ING Finanzen +
+ +
+ Wartung und Verwaltung +
+ +
+ +
+ + +``` + +
+ + + +
+ +``` +
+ +
+ +

+ Kontostand aktualisieren +

+ +

+ balance.py ausführen +

+ +
+ + + +
+ +
+ +
+ +

+ Transaktionen laden +

+ +

+ KW {{ week }} / {{ year }} +

+ + + +
+ +
+ +

+ Kategorisierung +

+ +

+ KW {{ week }} / {{ year }} +

+ + + +
+ +
+``` + +
+ + + + + +