diff --git a/TODO.md b/TODO.md index fba1064..552e6d7 100644 --- a/TODO.md +++ b/TODO.md @@ -7,6 +7,7 @@ - [x] Add `deleteThesisFile()` and `handleCoverUpload()` to Database.php - [x] Update `ThesisEditController::save()` to handle cover, file deletion, new uploads - [x] Update `ThesisEditController::load()` to expose `currentFiles` + `currentCover` +- [x] Rework Fichiers fieldset layout: inline file inputs (no partial double-label), banner moved inside fieldset, one label per field ## Overview diff --git a/app/templates/admin/edit.php b/app/templates/admin/edit.php index 2978b9c..4b20c82 100644 --- a/app/templates/admin/edit.php +++ b/app/templates/admin/edit.php @@ -100,9 +100,9 @@ Fichiers -
+
-
+
- + +
- $f['file_type'] !== 'cover'); - ?> + $f['file_type'] !== 'cover'); ?>
- +
  • @@ -146,26 +145,34 @@ - - - - -
    - -
    - -
    - Bannière actuelle - +
    + +
    + + PDF, JPG, PNG, MP4, ZIP. Max 50 MB par fichier. Pour les vidéos, un fichier .vtt de sous-titres peut être joint.
    - - - JPG, PNG ou WEBP. Format paysage recommandé (4:1). Max 5 MB.
    -
    + + +
    + +
    + +
    + Bannière actuelle + +
    + + + +
    +
    + +