diff --git a/app.py b/app.py index 79224b0..86e9c6e 100644 --- a/app.py +++ b/app.py @@ -30,6 +30,11 @@ def index(): with open('/home/h3r7/depenses_trello/templates/index.html', 'r') as f: return f.read() +@app.route('/dashboard') +def dashboard(): + with open('/home/h3r7/depenses_trello/templates/dashboard.html', 'r') as f: + return f.read() + # API Config @app.route('/api/config') def get_config(): diff --git a/config.json b/config.json index a22a890..8e0df81 100644 --- a/config.json +++ b/config.json @@ -28,7 +28,7 @@ "id": 4, "prenom": "HERY", "date": "2026-02-24", - "IDL GAUFFlibelle": "LRIER", + "libelle": "LIDL GAUFFRIER", "montant": 24.98, "status": "Envoy\u00e9 \u2705" }, @@ -139,7 +139,9 @@ ], "format": "{prenom} - {date} - {libelle} - {montant}\u20ac", "prenoms": [ - "HERY" + "HERY", + "Papa", + "Maman" ], "trello": { "api_key": "0e86fa879fe9cc1bd5bff8a4b32bceff", diff --git a/templates/dashboard.html b/templates/dashboard.html new file mode 100644 index 0000000..53f009a --- /dev/null +++ b/templates/dashboard.html @@ -0,0 +1,358 @@ + + +
+ + +| Date | +Personne | +Libellé | +Montant | +Status | +
|---|