From a94077874d8646a3556d5dc2bbe12e78b14ea6a5 Mon Sep 17 00:00:00 2001 From: stephan Date: Thu, 2 Jul 2026 18:35:54 -0400 Subject: [PATCH] Implement V2 sidebar panel for superadmin with enhanced access management This commit introduces a new V2 sidebar panel in the superadmin interface, featuring improved layout and organization for access management tools. The panel includes sections for production synchronization and legacy access controls, with updated styling for better user experience. Additionally, the CSS is enhanced to support the new sidebar design, ensuring a cohesive look and feel across the application. --- superadm/css/style_blue.css | 56 ++++++++++ superadm/inc_droite.php | 197 +++++++++++++++++++----------------- 2 files changed, 159 insertions(+), 94 deletions(-) diff --git a/superadm/css/style_blue.css b/superadm/css/style_blue.css index ee677bc..52d96dc 100644 --- a/superadm/css/style_blue.css +++ b/superadm/css/style_blue.css @@ -158,6 +158,62 @@ table.rapport tr {background-color: #190d7394;}*/ margin-bottom: 0.25rem; } +/* Panneau V2 — bas de la sidebar superadmin */ +.superadm-sidebar-v2-panel { + background: #fff; + border: 1px solid #c5d4e8; + border-radius: 4px; + padding: 0.75rem 0.65rem 0.5rem; +} +.superadm-sidebar-v2-panel__header { + align-items: center; + border-bottom: 1px solid #e3ebf5; + display: flex; + gap: 0.45rem; + margin-bottom: 0.65rem; + padding-bottom: 0.55rem; +} +.superadm-sidebar-v2-panel__badge { + background: #0b2546; + border-radius: 3px; + color: #fff; + font-size: 0.65rem; + font-weight: 700; + letter-spacing: 0.06em; + line-height: 1; + padding: 0.2rem 0.35rem; +} +.superadm-sidebar-v2-panel__title { + color: #0b2546; + font-size: 0.82rem; + font-weight: 700; + line-height: 1.25; +} +.superadm-sidebar-v2-panel__group { + margin-bottom: 0.75rem; +} +.superadm-sidebar-v2-panel__group:last-child { + margin-bottom: 0; +} +.superadm-sidebar-v2-panel__label { + color: #6c757d; + font-size: 0.68rem; + font-weight: 700; + letter-spacing: 0.05em; + margin-bottom: 0.3rem; + text-transform: uppercase; +} +.superadm-sidebar-v2-panel__nav .nav-link { + font-size: 0.88rem; + padding: 0.35rem 0.5rem; +} +.superadm-sidebar-v2-panel__hint { + color: #6c757d; + font-size: 0.75rem; + line-height: 1.35; + margin: 0.35rem 0 0.45rem; +} + /* Toggle Aperçu / Droits (super admin) */ .navbar .ms1-env-text-edit-label{ display:inline-flex; diff --git a/superadm/inc_droite.php b/superadm/inc_droite.php index 68b51a4..3f45a5a 100644 --- a/superadm/inc_droite.php +++ b/superadm/inc_droite.php @@ -1,5 +1,12 @@

Confirmation commande

@@ -47,99 +54,6 @@ global $db, $objDatabase, $vblnEnvironementDev, $vDomaine, $vblnEnvironementPreP
-

Gestion des infos du site espace V2

- -
Aide à la mise en prod du site
- - - - -
Gestion des accès
-
- Legacy promoteur actif'; - } else { - $intLegacyToggle = 1; - $strLegacyClass = 'btn-warning'; - $strLegacyLabel = 'Legacy promoteur désactivé'; - } - ?> - - - -

- Test v2 seul : désactiver, vérifier les kits, réactiver si besoin. -

-
- - - -
MSIN API ChronoTrack
- - - -
Gestion de la documentation et Aide
- -

Gestion des infos du site web

- \ No newline at end of file + + +