Files
it-connect/frontend/index.html
T
dbildhauerandClaude Opus 5.5 293367f33e Meilenstein 1: Grundgerüst mit Login, Sessions und CSRF
- FastAPI-App mit SQLite-Schema (admins, sessions, connections)
- Login mit Argon2, serverseitige Sessions (Token nur gehasht gespeichert)
- Cookie HttpOnly/Secure/SameSite=Strict, CSRF-Token für schreibende Requests
- scripts/create_admin.py zum Anlegen und Zurücksetzen von Admins
- Einfaches Frontend mit Login
- pytest-Tests, gepinnte requirements.txt, .env.example, .gitignore
- SETUP.md Teil 4 ergänzt

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 20:41:15 +01:00

41 lines
1.1 KiB
HTML

<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>it-connect</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1>it-connect</h1>
<div id="benutzer-bereich" hidden>
<span id="benutzer-name"></span>
<button id="logout-btn" type="button">Abmelden</button>
</div>
</header>
<main>
<section id="login-bereich" hidden>
<form id="login-form" class="karte">
<h2>Anmelden</h2>
<label>Benutzername
<input name="benutzername" autocomplete="username" required>
</label>
<label>Passwort
<input name="passwort" type="password" autocomplete="current-password" required>
</label>
<p id="login-fehler" class="fehler" role="alert"></p>
<button type="submit">Anmelden</button>
</form>
</section>
<section id="dashboard" hidden>
<p>Angemeldet. Die Verbindungs-Kacheln folgen in Meilenstein 2.</p>
</section>
</main>
<script src="app.js"></script>
</body>
</html>