From 7423b68ac94efd5371141908686e39c396360bae Mon Sep 17 00:00:00 2001 From: Antoine Date: Thu, 20 Aug 2026 17:26:59 +0200 Subject: [PATCH] =?UTF-8?q?Rend=20l'interface=20utilisable=20sur=20t=C3=A9?= =?UTF-8?q?l=C3=A9phone?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le nav et l'en-tête de semaine passent sur plusieurs lignes sous 700px, le tableau hebdo devient une liste de cartes empilées par jour (au lieu d'un scroll horizontal forcé), avec des cibles tactiles plus grandes. Corrige au passage le popup calendrier qui débordait de l'écran sur mobile. --- app/main.py | 4 +- app/templates/_ligne.html | 14 +++---- app/templates/base.html | 86 ++++++++++++++++++++++++++++++++++++-- app/templates/semaine.html | 23 +++++++++- 4 files changed, 112 insertions(+), 15 deletions(-) diff --git a/app/main.py b/app/main.py index bd2abee..d590b5d 100644 --- a/app/main.py +++ b/app/main.py @@ -383,7 +383,7 @@ def _oob_time_cells(date, jour, plages): matin_cls = "td-fill cg" if matin_cg else ("td-fill warn" if matin_warn else "td-fill") aprem_cls = "td-fill cg" if aprem_cg else ("td-fill warn" if aprem_warn else "td-fill") matin_html = ( - f'
' + f'
' f'
' f'' f'→' @@ -391,7 +391,7 @@ def _oob_time_cells(date, jour, plages): f'
' ) aprem_html = ( - f'
' + f'
' f'
' f'' f'→' diff --git a/app/templates/_ligne.html b/app/templates/_ligne.html index 73b399d..69027bb 100644 --- a/app/templates/_ligne.html +++ b/app/templates/_ligne.html @@ -16,7 +16,7 @@ -
+
@@ -28,7 +28,7 @@ -
+
@@ -39,13 +39,13 @@
- + {{ j.travaille if j.travaille_min else '—' }} - + {%- if j.travaille_min -%} @@ -55,7 +55,7 @@ - + {%- if j.cumul_visible -%} @@ -67,7 +67,7 @@ - + {%- if j.cible_matin or j.cible_aprem -%} {%- if j.cible_matin -%}M {{ j.cible_matin_entree }} → {{ j.cible_matin }}{%- endif -%} @@ -87,7 +87,7 @@ title="Enregistrer">✓ - +