Schulbuch: einheitliches App-Menü + rollenabhängiger Modus

- Kapitel-Kopf: alte Links (Modulseite/Simulation/Glossar/Lehrplan) raus, stattdessen
  einheitliches App-Menü je Rolle (Schüler: Module/Erfolge/Schulbuch/Profil; Lehrer:
  Cockpit/Schulbuch; öffentlich: Simulationen/Schulbuch), Schulbuch aktiv
- Modus je Rolle: Schüler:in → Schüler:innen/Leichte Sprache (Default Schüler:innen,
  Lehreransicht gesperrt, auch bei ?lehrer=1); Lehrperson → +Lehreransicht (Default Lehrperson)
- teacher.html: Menüpunkt "📖 Schulbuch" ergänzt
- buch.php-Übersicht: gleiches rollen-Menü statt "← Zu den Simulationen"

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-17 02:53:23 +02:00
parent 685b4700f8
commit c5307017e4
4 changed files with 58 additions and 14 deletions
+1
View File
@@ -11,6 +11,7 @@ body { background: #edeae0; margin: 0; font-family: system-ui, -apple-system, "S
.b-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; font-size: 14px; }
.b-nav a { color: #4f7f5e; text-decoration: none; font-weight: 600; }
.b-nav .spacer { flex: 1; }
.b-nav .b-here { color: #2f3e46; font-weight: 800; }
.b-mode { background: #fff; border: 1.5px solid #c9c2ae; border-radius: 999px; padding: 5px 14px; text-decoration: none; font-weight: 700; font-size: 13px; color: #2f3e46 !important; }
.b-mode.active { background: #4f7f5e; color: #fff !important; border-color: #4f7f5e; }