mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 19:19:19 +02:00
1.3 KiB
1.3 KiB
TODO
Admin area cleanup
- Combine
acces-etudiante.php+file-access.phpintoacces.php(two<section>blocks) - Move
system.phpcontent intoparametres.php(system section + logs section) - Use
<section>for sections,<fieldset>only where form fields are present - Redirect legacy URLs (acces-etudiante.php, file-access.php, system.php) with 301
- Update action redirects to point to new pages
- Update admin nav header (merged 3 items → 2)
Bug fixes
- Fix
$enabledAccessTypesundefined /array_map()TypeError on edit page — controller was fetchinggetAccessTypes()instead ofgetEnabledFormAccessTypes()and returning it under the wrong key
CSS refactor
- Move semantic HTML element baseline styles into common.css
fieldset(background, border, padding, radius)legend(font, weight, color, transform)small(size, color, display, margin)table,th,td(collapse, sizing, spacing)dialog+::backdropdetails > summary
- Remove duplicated rules from admin.css, form.css, system.css, file-access.css
- Fix file-access.css to use real design tokens (was using undefined --border, --surface, --accent, etc.)
- Remove redundant @import url("./variables.css") from admin.css, system.css, file-access.css