diff --git a/app.py b/app.py index 790685c..dc0f442 100644 --- a/app.py +++ b/app.py @@ -329,7 +329,8 @@ def check_habit(): return { "habitId": habit_id, - "unchecked": not delete_tracking + "unchecked": not delete_tracking, + "percentage": habit.percentage, } @app.route('/delete', methods=['POST']) diff --git a/templates/index.html b/templates/index.html index 10c55d9..2c391df 100644 --- a/templates/index.html +++ b/templates/index.html @@ -13,8 +13,8 @@ } .day { - width: 50px; /* Ändere die Breite nach Bedarf */ - height: 50px; /* Ändere die Höhe nach Bedarf */ + width: 50px; + height: 50px; border: 1px solid #ccc; display: flex; align-items: center; @@ -24,7 +24,10 @@
-
+
+
+
+ -
+ + + + + +