From abbce5e799e4bd64dc1a1c5592a471e647ee460f Mon Sep 17 00:00:00 2001 From: Antoine Van Elstraete Date: Wed, 11 Mar 2026 20:47:28 +0100 Subject: [PATCH] =?UTF-8?q?docs:=20ajout=20README,=20LICENSE=20MIT,=20mise?= =?UTF-8?q?=20=C3=A0=20jour=20CLAUDE.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - README.md : introduction, installation, configuration, mention vibe coding - LICENSE.md : licence MIT (Antoine Van-Elstraete) - CLAUDE.md : barème kilométrique, filtres Jinja2, gotcha tests de routes Co-Authored-By: Claude Sonnet 4.6 --- CLAUDE.md | 6 +++--- LICENSE.md | 21 +++++++++++++++++++ README.md | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+), 3 deletions(-) create mode 100644 LICENSE.md create mode 100644 README.md diff --git a/CLAUDE.md b/CLAUDE.md index bfdc269..1657ffc 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -47,7 +47,7 @@ Flask app using the factory pattern (`create_app()` in `app/__init__.py`). The D - Types without journey: `TT, MALADE, CONGE, RTT, FERIE` (see `day_types_without_journey()`) - Work reference: 7h45 (465 min) for WORK/TT/FORMATION, 10h (600 min) for GARDE, 0 for absences - `total_minutes()` on `WorkEntry` sums `TimeSlot` durations, handles midnight crossing -- Frais réels: uses `bareme_kilometrique` tranches from config.toml; `km_max = 0` means "no upper limit" +- Frais réels: uses `bareme_kilometrique` tranches from config.toml; `km_max = 0` means "no upper limit". Keys: `cv_3`, `cv_4`, `cv_5`, `cv_6`, `cv_7plus`. Vehicles with `fuel = "electric"` get +20% applied in `compute_frais_reels(..., electric=True)`. **Frontend:** Tailwind CSS CDN + HTMX in `base.html`. No build step. Design system defined via CSS variables (`--ink`, `--amber`, `--sage`, `--rust`, `--cream`) and custom classes (`.card`, `.card-*`, `.btn-primary`, `.field-input`, `.font-display`, `.font-data`) — all in `base.html