Files
xamxam/TODO.md
Pontoporeia f4aba500e6 feat: student mode support for thanks page (admin-auth only)
- add hidden student_mode field in add.php form
- pass mode=student through redirect to thanks.php in formulaire.php
- thanks.php renders clean student thank-you page (no header, centered button)
- add CSS for .thanks-student-page, .btn-new-form, .thanks-success, .thanks-error
- admin auth always required; student mode is purely UI variant on the physical machine
2026-04-15 14:24:44 +02:00

829 B

TODO

  • Make thanks.php respect student mode (no header, centered "add new form" button)
    • Add hidden input student_mode in add.php form when in student mode
    • Append mode=student to thanks redirect in formulaire.php
    • Update thanks.php to detect student mode, hide header, show centered button
  • Cleanup public/admin/add.php — standardise fieldsets and add licence explanation sections from docs PDF
    • Organise all fields into <fieldset>/<legend> blocks: Informations du TFE, Composition du jury, Cadre académique, Fichiers, Métadonnées complémentaires
    • Remove double-wrapping of jury-fieldset (it has its own <fieldset>)
    • Add "Degrés d'ouverture et licences" section (Libre / Interne / Interdit + Généralités) wrapped in if ($studentMode) — hidden in admin