mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 19:19:19 +02:00
admin/add: add ?mode=student toggle — hides admin header, keeps auth
This commit is contained in:
7
TODO.md
7
TODO.md
@@ -7,3 +7,10 @@
|
||||
- [x] Use `<fieldset>` for danger zones (semantic, with `<legend>` instead of `<div>`)
|
||||
- [x] Update CSS: new `.param-*` classes for flat semantic layout
|
||||
- [x] Exclude parametres sections from generic `.admin-body main > section` card styling via `aria-labelledby` prefix
|
||||
|
||||
## Add TFE: admin/student mode toggle
|
||||
- [x] Add `?mode=student` query param to same add.php page
|
||||
- [x] Student mode: no admin header/nav, just the form with a back-link
|
||||
- [x] Admin mode: full admin header/nav, with "Mode étudiant ↗" toggle link (opens in new tab)
|
||||
- [x] Auth guard stays the same — still requires admin login
|
||||
- [x] Add `.student-body`, `.thesis-add-header`, `.mode-toggle`, `.form-footer` CSS
|
||||
|
||||
Reference in New Issue
Block a user