This repository has been archived on 2026-02-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
BreakPilot Dev 19855efacc
Some checks failed
Tests / Go Tests (push) Has been cancelled
Tests / Python Tests (push) Has been cancelled
Tests / Integration Tests (push) Has been cancelled
Tests / Go Lint (push) Has been cancelled
Tests / Python Lint (push) Has been cancelled
Tests / Security Scan (push) Has been cancelled
Tests / All Checks Passed (push) Has been cancelled
Security Scanning / Secret Scanning (push) Has been cancelled
Security Scanning / Dependency Vulnerability Scan (push) Has been cancelled
Security Scanning / Go Security Scan (push) Has been cancelled
Security Scanning / Python Security Scan (push) Has been cancelled
Security Scanning / Node.js Security Scan (push) Has been cancelled
Security Scanning / Docker Image Security (push) Has been cancelled
Security Scanning / Security Summary (push) Has been cancelled
CI/CD Pipeline / Go Tests (push) Has been cancelled
CI/CD Pipeline / Python Tests (push) Has been cancelled
CI/CD Pipeline / Website Tests (push) Has been cancelled
CI/CD Pipeline / Linting (push) Has been cancelled
CI/CD Pipeline / Security Scan (push) Has been cancelled
CI/CD Pipeline / Docker Build & Push (push) Has been cancelled
CI/CD Pipeline / Integration Tests (push) Has been cancelled
CI/CD Pipeline / Deploy to Staging (push) Has been cancelled
CI/CD Pipeline / Deploy to Production (push) Has been cancelled
CI/CD Pipeline / CI Summary (push) Has been cancelled
ci/woodpecker/manual/build-ci-image Pipeline was successful
ci/woodpecker/manual/main Pipeline failed
feat: BreakPilot PWA - Full codebase (clean push without large binaries)
All services: admin-v2, studio-v2, website, ai-compliance-sdk,
consent-service, klausur-service, voice-service, and infrastructure.
Large PDFs and compiled binaries excluded via .gitignore.
2026-02-11 13:25:58 +01:00

137 lines
5.4 KiB
Python

"""
Meetings Module - Breakout Rooms Page
Breakout rooms management
"""
from ..templates import ICONS, render_base_page
def breakout_rooms_page() -> str:
"""Breakout rooms management"""
content = f'''
<div class="page-header">
<div>
<h1 class="page-title">Breakout-Rooms</h1>
<p class="page-subtitle">Gruppenräume für Workshops und Übungen verwalten</p>
</div>
</div>
<!-- Active Meeting Warning -->
<div class="card" style="background: var(--bp-primary-soft); border-color: var(--bp-primary); margin-bottom: 2rem;">
<div style="display: flex; align-items: center; gap: 1rem;">
<div class="card-icon primary">{ICONS['video']}</div>
<div style="flex: 1;">
<div style="font-weight: 600;">Kein aktives Meeting</div>
<div style="font-size: 0.875rem; color: var(--bp-text-muted);">
Breakout-Rooms können nur während eines aktiven Meetings erstellt werden.
</div>
</div>
<button class="btn btn-primary" onclick="window.location.href='/meetings/quick'">
Meeting starten
</button>
</div>
</div>
<!-- How it works -->
<div class="card">
<div class="card-header">
<span class="card-title">So funktionieren Breakout-Rooms</span>
</div>
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 1rem;">
<div style="text-align: center;">
<div class="card-icon primary" style="margin: 0 auto 1rem;">{ICONS['grid']}</div>
<h4 style="margin-bottom: 0.5rem;">1. Räume erstellen</h4>
<p style="font-size: 0.875rem; color: var(--bp-text-muted);">
Erstellen Sie mehrere Breakout-Rooms für Gruppenarbeit.
</p>
</div>
<div style="text-align: center;">
<div class="card-icon info" style="margin: 0 auto 1rem;">{ICONS['users']}</div>
<h4 style="margin-bottom: 0.5rem;">2. Teilnehmer zuweisen</h4>
<p style="font-size: 0.875rem; color: var(--bp-text-muted);">
Weisen Sie Teilnehmer manuell oder automatisch zu.
</p>
</div>
<div style="text-align: center;">
<div class="card-icon accent" style="margin: 0 auto 1rem;">{ICONS['play']}</div>
<h4 style="margin-bottom: 0.5rem;">3. Sessions starten</h4>
<p style="font-size: 0.875rem; color: var(--bp-text-muted);">
Starten Sie alle Räume gleichzeitig oder einzeln.
</p>
</div>
<div style="text-align: center;">
<div class="card-icon warning" style="margin: 0 auto 1rem;">{ICONS['clock']}</div>
<h4 style="margin-bottom: 0.5rem;">4. Timer setzen</h4>
<p style="font-size: 0.875rem; color: var(--bp-text-muted);">
Setzen Sie einen Timer für automatisches Beenden.
</p>
</div>
</div>
</div>
<!-- Breakout Configuration Preview -->
<div class="card" style="margin-top: 2rem;">
<div class="card-header">
<span class="card-title">Breakout-Konfiguration (Vorschau)</span>
<button class="btn btn-secondary" disabled>
{ICONS['plus']} Raum hinzufügen
</button>
</div>
<div class="breakout-grid" style="margin-top: 1rem;">
<div class="breakout-room" style="opacity: 0.5;">
<div class="breakout-room-header">
<span class="breakout-room-title">Raum 1</span>
<span class="breakout-room-count">0 Teilnehmer</span>
</div>
<div class="breakout-participants">
<span style="color: var(--bp-text-muted); font-size: 0.875rem;">Keine Teilnehmer</span>
</div>
</div>
<div class="breakout-room" style="opacity: 0.5;">
<div class="breakout-room-header">
<span class="breakout-room-title">Raum 2</span>
<span class="breakout-room-count">0 Teilnehmer</span>
</div>
<div class="breakout-participants">
<span style="color: var(--bp-text-muted); font-size: 0.875rem;">Keine Teilnehmer</span>
</div>
</div>
<div class="breakout-room" style="opacity: 0.5;">
<div class="breakout-room-header">
<span class="breakout-room-title">Raum 3</span>
<span class="breakout-room-count">0 Teilnehmer</span>
</div>
<div class="breakout-participants">
<span style="color: var(--bp-text-muted); font-size: 0.875rem;">Keine Teilnehmer</span>
</div>
</div>
</div>
<div style="margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--bp-border);">
<div class="form-group">
<label class="form-label">Automatische Zuweisung</label>
<select class="form-select" disabled>
<option>Gleichmäßig verteilen</option>
<option>Zufällig zuweisen</option>
<option>Manuell zuweisen</option>
</select>
</div>
<div class="form-group">
<label class="form-label">Timer (Minuten)</label>
<input type="number" class="form-input" value="15" disabled>
</div>
<div class="btn-group">
<button class="btn btn-primary" disabled>Breakout-Sessions starten</button>
<button class="btn btn-secondary" disabled>Alle zurückholen</button>
</div>
</div>
</div>
'''
return render_base_page("Breakout-Rooms", content, "breakout")