""" Mobile Upload HTML Page — serves the mobile upload UI directly from klausur-service. Extracted from upload_api.py for modularity. DSGVO-konform: Data stays local in WLAN, no external transmission. """ from fastapi import APIRouter from fastapi.responses import HTMLResponse router = APIRouter(prefix="/api/v1/upload", tags=["Mobile Upload"]) @router.get("/mobile", response_class=HTMLResponse) async def mobile_upload_page(): """ Serve the mobile upload page directly from the klausur-service. This allows mobile devices to upload without needing the Next.js website. """ html_content = ''' BreakPilot Upload

BreakPilot Upload

DSGVO-konform
PDF-Dateien hochladen
Tippen zum Auswaehlen oder hierher ziehen
Grosse Dateien bis 200 MB werden automatisch in Teilen hochgeladen

Hinweise:

Server: wird ermittelt...
''' return HTMLResponse(content=html_content)