mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 19:19:19 +02:00
944 B
944 B
TODO
Paramètres page cleanup
- Remove card syntax (
.admin-settings-sectionborder/radius containers) - Replace pill toggles with native semantic checkboxes inside
<fieldset> - Move "delete all TFE" danger zone into Maintenance section
- Use
<fieldset>for danger zones (semantic, with<legend>instead of<div>) - Update CSS: new
.param-*classes for flat semantic layout - Exclude parametres sections from generic
.admin-body main > sectioncard styling viaaria-labelledbyprefix
Add TFE: admin/student mode toggle
- Add
?mode=studentquery param to same add.php page - Student mode: no admin header/nav, just the form with a back-link
- Admin mode: full admin header/nav, with "Mode étudiant ↗" toggle link (opens in new tab)
- Auth guard stays the same — still requires admin login
- Add
.student-body,.thesis-add-header,.mode-toggle,.form-footerCSS