mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 19:19:19 +02:00
Add delete/batch-delete and sortable columns to admin list
- Database: add deleteThesis() and bulkDeleteTheses() methods with file cleanup - Database: add SORT_MAP + buildOrderBy() for safe column sorting - Database: getThesesList() now respects sort/dir filter params - New action: actions/delete.php (single + batch delete with CSRF) - Admin index: delete button per row with confirmation dialog - Admin index: batch 'Supprimer' button in bulk actions bar - Admin index: sortable column headers (ID, Titre, Année, Orientation, AP, Statut) - Admin index: sort state preserved in pagination links - CSS: admin-btn-delete (red muted), admin-sort-link styles
This commit is contained in:
4
TODO.md
4
TODO.md
@@ -23,3 +23,7 @@
|
||||
- [x] tfe.php: contact shown from author_email+show_contact; baiu_link relabeled as "Lien"
|
||||
- [x] actions/settings.php: handler for formulaire settings form
|
||||
- [x] CSS: admin-toggle pill switches + admin-settings-toggles layout + admin-form-group
|
||||
- [x] Fix undefined $from– variable in admin/index.php (brace-interpolate around en-dash)
|
||||
- [x] Add delete single entry to admin table (delete action + handler)
|
||||
- [x] Add batch delete to bulk actions bar
|
||||
- [x] Add sortable columns to admin table (click column headers to sort)
|
||||
|
||||
Reference in New Issue
Block a user