Files
bike_admin/app/templates/login.html
T
2026-09-09 17:49:01 +01:00

33 lines
958 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Log in - bike-admin</title>
<link rel="stylesheet" href="/static/main.css">
</head>
<body class="auth">
<main class="container auth-card">
<h1 style="margin-top:0">bike-admin</h1>
<p class="muted">Log in to manage your bikes.</p>
{% if error %}
<div class="alert alert-error" role="alert">{{ error }}</div>
{% endif %}
<form method="post" action="/login" novalidate>
<label>
<span>Username</span>
<input type="text" name="username" autocomplete="username" required autofocus>
</label>
<label>
<span>Password</span>
<input type="password" name="password" autocomplete="current-password" required>
</label>
<input type="hidden" name="next" value="/">
<button type="submit" class="btn btn-primary btn-block">Log in</button>
</form>
</main>
</body>
</html>