mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 19:19:19 +02:00
- 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
11 lines
829 B
Markdown
11 lines
829 B
Markdown
# TODO
|
|
|
|
- [x] Make thanks.php respect student mode (no header, centered "add new form" button)
|
|
- [x] Add hidden input `student_mode` in add.php form when in student mode
|
|
- [x] Append `mode=student` to thanks redirect in formulaire.php
|
|
- [x] Update thanks.php to detect student mode, hide header, show centered button
|
|
- [x] Cleanup public/admin/add.php — standardise fieldsets and add licence explanation sections from docs PDF
|
|
- [x] Organise all fields into `<fieldset>/<legend>` blocks: Informations du TFE, Composition du jury, Cadre académique, Fichiers, Métadonnées complémentaires
|
|
- [x] Remove double-wrapping of jury-fieldset (it has its own `<fieldset>`)
|
|
- [x] Add "Degrés d'ouverture et licences" section (Libre / Interne / Interdit + Généralités) wrapped in `if ($studentMode)` — hidden in admin
|