- User-facing brand "bike-admin" -> "volundr" (page titles, top bar, login header, FastAPI title, README/AGENTS). Directory, remote, BIKE_ADMIN_* env prefix and bike_admin.db filename are unchanged. - Add deploy/: systemd unit (bike-admin.service) and a production .env template (env.production.example).
34 lines
1018 B
HTML
34 lines
1018 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 - volundr</title>
|
|
<link rel="icon" href="/static/favicon.svg" type="image/svg+xml">
|
|
<link rel="stylesheet" href="/static/main.css">
|
|
</head>
|
|
<body class="auth">
|
|
<main class="container auth-card">
|
|
<h1 style="margin-top:0">volundr</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>
|