commits
tags
<!DOCTYPE html>
<html lang="sv">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Kiosk — Logga in</title>
<link rel="stylesheet" href="/static/style.css">
<style>
body { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.login-box { background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 8px; padding: 2rem; width: 100%; max-width: 340px; }
h2 { color: #fff; margin-bottom: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
label { font-size: .8rem; color: #888; text-transform: uppercase; letter-spacing: .06em; }
input { width: 100%; }
button { width: 100%; margin-top: .5rem; padding: .6rem; }
.error { color: #f87171; font-size: .875rem; margin-bottom: 1rem; }
</style>
</head>
<body>
<div class="login-box">
<h2>Logga in</h2>
{% if error %}<p class="error">{{ error }}</p>{% endif %}
<form method="post">
<div class="field">
<label>Användarnamn</label>
<input type="text" name="username" autofocus autocomplete="username">
</div>
<div class="field">
<label>Lösenord</label>
<input type="password" name="password" autocomplete="current-password">
</div>
<button type="submit">Logga in</button>
</form>
</div>
</body>
</html>