Files
xamxam/TODO.md

944 B

TODO

Paramètres page cleanup

  • Remove card syntax (.admin-settings-section border/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 > section card styling via aria-labelledby prefix

Add TFE: admin/student mode toggle

  • Add ?mode=student query 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-footer CSS