mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 11:09:18 +02:00
24 lines
1.5 KiB
Markdown
24 lines
1.5 KiB
Markdown
# TODO
|
|
|
|
## Dev / Debug Fixes
|
|
|
|
- [x] Fix `serve` recipe: show all PHP output (errors, logs) except static assets noise
|
|
- [x] Fix `error_log` path in `formulaire.php` (was relative, now absolute)
|
|
- [x] Fix CSRF debug: log both tokens on mismatch
|
|
- [x] Fix undefined `$redirect` on success path in `formulaire.php`
|
|
|
|
## File Display in Forms & Recaps
|
|
|
|
- [x] Add live file preview to `file-field.php` partial (`data-preview` attribute + `.file-preview-list` container)
|
|
- [x] Write `file-preview.js` — renders thumbnails for images, emoji icons for PDFs/videos/zips, filename + size
|
|
- [x] Load `file-preview.js` in `admin/add.php` via `$extraJs`
|
|
- [x] Load `file-preview.js` in `admin/edit.php` via `$extraJs`
|
|
- [x] Load `file-preview.js` in `partage/index.php` (self-contained HTML, direct `<script>` tag)
|
|
- [x] Support `$extraJs` in `head.php`
|
|
- [x] Add `data-preview` + preview container to edit template's cover/banner/files inputs (not using partial)
|
|
- [x] Enhance `admin/recapitulatif.php` template — image thumbnails, clickable filenames, type badges, file size, date
|
|
- [x] Rewrite `partage/recapitulatif.php` — full recap with thesis metadata + uploaded files list (thumbnails for images, icons for others)
|
|
- [x] Add CSS: `.file-preview-list`, `.fp-item`, `.fp-thumb`, `.fp-icon`, `.fp-meta`, `.fp-name`, `.fp-size`
|
|
- [x] Add CSS: `.recap-file-list`, `.recap-file-item`, `.recap-file-thumb`, `.recap-file-icon`, `.recap-file-meta`, `.recap-file-type-badge`, `.recap-file-date`
|
|
- [x] Add CSS: `.partage-recap`, `.recap-section`, `.recap-dl` for partage recap layout
|