Make the admin sidebar cards collapsible
CI / Deploy / PHP 8.5 (push) Successful in 1m9s
CI / Deploy / PHP 8.4 (push) Successful in 1m17s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped

Participation and settings are open by default, the rest is closed.
Anchor links like #export open their card.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Sonnet 5.5 committed 2026-11-16 19:45:03 +01:00
1 parent 74b69f3c9a
commit 2c0b8d2216
4 files changed
+69 -38

No files matched your search

+5
View File
@@ -4,6 +4,11 @@ Dashboard-Fragmente, Farbschema, Textformatierung, Vollbild. CSP-Regeln stehen i
## Dashboard ohne Neuladen
- **Einklappbare Seitenleiste** der Verwaltung: `<details class="card collapsible">` mit `<summary><h2>`. Standard: Teilnahme,
Einstellungen (direkt unter dem QR-Code) offen; „Ergebnisse als PDF“, „In Präsentation einbetten“ und „Sicherheit“ zu.
Offene Karten trennt eine Linie zwischen Überschrift und Inhalt.
Anker-Links wie `#export` öffnen ihre Karte (`openCollapsible()` in `plenario.js`).
- **Dashboard ohne Neuladen** (`initAdminDashboard()`, `Fragments` in `plenario.js`): Formulare in `[data-live]` (Folienliste, Kopf)
und das Folienformular im `<dialog>` laufen per `fetch` mit Header `X-Fragment`; `AdminAppController::beforeRender()` nimmt dann
das Layout `fragment` (nur Inhalt + Flash). Die Server-Aktionen bleiben normale POST + Redirect, das JS tauscht die Bereiche