diff --git a/TODO.md b/TODO.md index 8648771..56b356a 100644 --- a/TODO.md +++ b/TODO.md @@ -17,6 +17,9 @@ - [x] **add.php / edit.php / partage/index.php** — use `sortable.min.js` + `file-upload-queue.js` instead of `file-preview.js` - [x] **docs/file-uploads.md** — reference document covering accepted types, size limits, storage layout, ordering, labels, security, and source file index +## UI +- [x] **admin header** — replace "Déconnexion" text link with SVG sign-out icon (accessible via `aria-label` + `.sr-only` span) + ## Bug fixes - [x] **smtp-test.php** — wrap `SmtpRelay::send()` in `try/catch SmtpSendException` so SMTP delivery failures (e.g. 550 recipient rejected) surface as a proper flash error instead of an uncaught exception/silent crash - [x] **partage email retry** — on 550 recipient-rejected, redirect to `/partage/retry-email` instead of `recapitulatif`; student can correct address and resend or skip diff --git a/app/public/assets/css/admin.css b/app/public/assets/css/admin.css index e5ea1eb..b296932 100644 --- a/app/public/assets/css/admin.css +++ b/app/public/assets/css/admin.css @@ -29,10 +29,15 @@ .admin-body header nav ul [data-nav-logout] a { opacity: 0.6; + display: flex; + align-items: center; } .admin-body header nav ul [data-nav-logout] a:hover { opacity: 1; } +.admin-body header nav ul [data-nav-logout] a svg { + display: block; +} /* Public-site link icon in admin nav */ .admin-body header nav > a svg { diff --git a/app/templates/header.php b/app/templates/header.php index 789a515..d75a897 100644 --- a/app/templates/header.php +++ b/app/templates/header.php @@ -30,7 +30,7 @@ $_thesisId = $_GET['id'] ?? null;
  • >Modifier
  • -
  • Déconnexion
  • +
  • Déconnexion