first commit

This commit is contained in:
2026-03-17 20:59:58 +01:00
commit 8992811486
14 changed files with 1396 additions and 0 deletions

45
templates/login.html Normal file
View File

@@ -0,0 +1,45 @@
<!doctype html>
<html lang="it">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
<title>Login · Viaggio</title>
<meta name="theme-color" content="#f7f2ea" />
<link rel="stylesheet" href="/static/style.css" />
</head>
<body class="page">
<main class="wrap">
<section class="card auth-card">
<div class="brand">
<div class="brand-mark" aria-hidden="true"></div>
<div>
<div class="brand-title">Viaggio di nozze</div>
<div class="brand-sub">Accesso riservato</div>
</div>
</div>
{% if error %}
<div class="notice notice--error">{{ error }}</div>
{% endif %}
<form method="post" action="/login" class="form">
<label class="field">
<div class="label">Username</div>
<input name="username" autocomplete="username" required />
</label>
<label class="field">
<div class="label">Password</div>
<input name="password" type="password" autocomplete="current-password" required />
</label>
<button class="btn big-btn" type="submit">Entra</button>
</form>
<div class="small" style="margin-top: 10px">
Suggerimento: questo sito non espone porte verso l'host; sta dietro reverse proxy.
</div>
</section>
</main>
</body>
</html>