From 94f3fb67369d0687814024c6d6e0897681a5e6c7 Mon Sep 17 00:00:00 2001 From: Pontoporeia Date: Tue, 31 Mar 2026 16:12:56 +0200 Subject: [PATCH] feat(admin): nav logo links back to public site; all nav links right-aligned MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit templates/admin/head.php: - admin-nav__logo now href="/" with target="_blank" rel="noopener noreferrer" - Left arrow prefix (← via ←, aria-hidden) signals leaving admin - sr-only suffix "(site public, nouvel onglet)" for screen readers public/admin/login.php: - Same treatment on the standalone login nav (was a bare ) public/assets/css/admin.css: - admin-nav__list: flex:1 removed; margin-left:auto added → entire link list now right-justified inside the nav bar, mirroring the layout of the public site header - .admin-nav__logout { margin-left:auto } removed (no longer needed; logout is just the last item in a right-aligned list) --- public/admin/login.php | 6 ++++-- public/assets/css/admin.css | 9 ++------- templates/admin/head.php | 4 +++- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/public/admin/login.php b/public/admin/login.php index 7dcbe87..2cc19ae 100644 --- a/public/admin/login.php +++ b/public/admin/login.php @@ -34,8 +34,10 @@ $pageTitle = 'Connexion'; -