Move Formulaire settings to contenus, remove delete-all TFE

- Removed 'Supprimer tous les TFE' danger zone from parametres (template, dialog,
  backend handler, Database::deleteAllTheses(), AdminLogger method)
- Moved Formulaire section (access type toggles, restricted files) from parametres
  to contenus under new h2 'Paramètres du Formulaire'
- Moved Types de travaux from parametres to contenus as sub-section under
  Paramètres du Formulaire
- Existing 'Structure du formulaire' section now a sub-heading (h3) under
  Paramètres du Formulaire in contenus
- Sub-sections: Restrictions d'accès aux fichiers, Degré d'ouverture,
  Types de travaux, Structure du Formulaire
- Added siteSettings query to contenus controller
This commit is contained in:
Pontoporeia
2026-05-10 11:39:25 +02:00
parent 048a14bc2e
commit 494675d78c
4 changed files with 158 additions and 120 deletions

View File

@@ -605,15 +605,36 @@ th.admin-ap-col {
font-size: var(--step--1);
}
/* ── Paramètres page top-level sections (flat, no border card) ──────────── */
.admin-body main > section[aria-labelledby^="settings-"] {
/* ── Flat sections (no border card) — parametres + contenus ─────────────── */
.admin-body main > section[aria-labelledby^="settings-"],
.admin-body main > section[aria-labelledby^="static-pages-"],
.admin-body main > section[aria-labelledby^="form-settings-"] {
border: none;
border-radius: 0;
padding: 0;
margin-bottom: var(--space-xl);
}
.admin-body main > section[aria-labelledby^="settings-"] > h2 {
/* Fieldsets inside flat sections: no card border */
.admin-body main > section[aria-labelledby^="settings-"] fieldset,
.admin-body main > section[aria-labelledby^="form-settings-"] fieldset {
border: none;
border-radius: 0;
padding: var(--space-m) 0;
}
.admin-body main > section[aria-labelledby^="settings-"] fieldset legend,
.admin-body main > section[aria-labelledby^="form-settings-"] fieldset legend {
padding: 0;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
color: var(--text-secondary);
}
.admin-body main > section[aria-labelledby^="settings-"] > h2,
.admin-body main > section[aria-labelledby^="static-pages-"] > h2,
.admin-body main > section[aria-labelledby^="form-settings-"] > h2 {
font-weight: 600;
letter-spacing: 0.06em;
text-transform: uppercase;