TOC: extract h1/h2/h3, indent sub-levels in charte/licence sidebar

This commit is contained in:
Pontoporeia
2026-07-10 14:16:05 +02:00
parent 485324368f
commit c513ad2545
5 changed files with 16 additions and 7 deletions
+1
View File
@@ -45,6 +45,7 @@
- [x] Close TOC (licence/charte/apropos) and Filtres (search.php) <details> by default on mobile
- [x] Wider heading scale (h1/h2/h3) for apropos/licence/charte pages: step-5 / step-3 / step-1
- [x] Reduce heading sizes in content-page.css, use explicit clamp() values instead of step-system vars, tighter hierarchy
- [x] Fix TOC: extractToc now captures h1/h2/h3 (was h1-only), templates render level classes, toc.css adds indentation per level
- [x] Masquer le bloc "Durée" sur la page TFE quand aucune durée n'est encodée (ni pages ni minutes)
- [x] Fix: locked_year cleared on edit — edit dialog didn't populate the field, so any edit cleared the locked academic year
- [x] Fix repertoire Années column: sort reverse chronological (newest first) instead of ascending alpha