diff --git a/frontend/src/pages/ProfilePage.tsx b/frontend/src/pages/ProfilePage.tsx index 1e1f4e2..6588d91 100644 --- a/frontend/src/pages/ProfilePage.tsx +++ b/frontend/src/pages/ProfilePage.tsx @@ -195,6 +195,37 @@ function MobileAppSection() { ) } +// ── Kiosk App (nur Admins – Geräte-Einrichtung, keine Endnutzer-App) ─────────── + +function KioskAppSection() { + const [version, setVersion] = useState(null) + + useEffect(() => { + fetch('/static/downloads/kiosk-version.txt') + .then(r => (r.ok ? r.text() : Promise.reject())) + .then(v => setVersion(v.trim())) + .catch(() => setVersion(null)) + }, []) + + return ( +
+

+ Kiosk App (Android-Tablet){version && v{version}} +

+

+ Stempeluhr für gemeinsam genutzte Tablets. Gerät zuerst per CLI anlegen + (kiosk add --auth-mode bearer), + dann hier freigeben (siehe „Kiosk-Geräte"). Bearer-Token wird nur einmal + angezeigt – in der App unter „Ersteinrichtung" eintragen. +

+ + Kiosk-APK herunterladen + +
+ ) +} + // ── iCal-Abo ────────────────────────────────────────────────────────────────── function IcalSection() { @@ -431,6 +462,9 @@ export function ProfilePage() { {/* Mobile App */} + {/* Kiosk App (nur Admins) */} + {(me?.role === 'COMPANY_ADMIN' || me?.role === 'SUPER_ADMIN') && } + {/* Passwort ändern */}

Passwort ändern