+
+
-
-
-
📈 Graphiques
-
-
Bar chart
-
Camembert
-
-
-
-
+
+
+
+
Catégories actives
+
0
+
+
+
-
+ async function load() {
+ try {
+ var r = await fetch('api/depenses');
+ depenses = await r.json();
+ setFilter('month');
+ } catch(e) {
+ console.error('Erreur chargement:', e);
+ document.getElementById('kpi-total').textContent = 'Erreur';
+ }
+ }
+
+ load();
+
diff --git a/templates/index.html b/templates/index.html
index ed29134..f4ffb44 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,507 +1,1444 @@
-
-
-
💸 Dépenses Trello
-
-
-
-
+
+
+
+
+
+
💸 Dépenses — H3R7
+
+
+
+
+
+
-
💸 Dépenses Trello
-
-
✏️ Saisie
-
📊 Dashboard
-
⚙️ Config
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
Total dépensé
+
0.00€
+
ce mois
+
+
+
+
Nb dépenses
+
0
+
ce mois
+
+
+
+
+
+
+
+
+
+