From 01453bce5f9dbcba78be58b6c15190abe53a7132 Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Mon, 7 Sep 2026 21:45:50 -0400 Subject: [PATCH] feat(admin): navigation par sections sticky + support complet des themes Navigation/ergonomie: - barre sticky de pilules (Stats, Audit, Backups, Utilisateurs) sous le header - scrollspy (IntersectionObserver) + scroll fluide au clic dans admin.js - ancres + scroll-margin-top sur chaque section, layout responsive <600px Themes: - admin.html importe et appelle initThemes() (themes.js) au boot: la page reprend le theme/mode sauvegarde dans l'app (localStorage meme-origine) - script anti-FOUC en applique vite le mode avant le CSS --- frontend/admin.html | 82 +++++++++++++++++++++++++++++++++++++++++--- frontend/js/admin.js | 51 +++++++++++++++++++++++++++ 2 files changed, 128 insertions(+), 5 deletions(-) diff --git a/frontend/admin.html b/frontend/admin.html index 8b611ed..7bbe692 100644 --- a/frontend/admin.html +++ b/frontend/admin.html @@ -7,6 +7,21 @@ + + + +