Files
smb-online/backoffice/app/templates/owner/login.html
T
mivanchenko 59c35ce39f Owner accounts: auth, password reset, CRM dashboard visibility (#19)
Flask-session login scoped to one client_id (never a request param),
self-service + operator-triggered password reset via single-use tokens,
and an Owner accounts tab on the CRM dashboard.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-03 17:00:37 +02:00

49 lines
2.0 KiB
HTML

<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="noindex" />
<title>Anmelden</title>
<style>
:root {
--brand: #0f8a7e;
--bg: #fff; --ink: #16302f; --muted: #5d716f; --line: #e3eae9;
--danger: #b3261e; --danger-bg: #fdecea;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
background: var(--bg); color: var(--ink); padding: 20px; max-width: 380px; }
h1 { font-size: 1.2rem; margin: 0 0 18px; }
label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: 5px; }
input[type=email], input[type=password] {
width: 100%; padding: 9px 12px; border: 1px solid var(--line);
border-radius: 9px; font: inherit; font-size: .9rem; }
.field { margin-bottom: 14px; }
.btn { background: var(--brand); color: #fff; border: 0; border-radius: 9px;
padding: 11px 20px; font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer;
width: 100%; }
.error { background: var(--danger-bg); color: var(--danger); border-radius: 9px;
padding: 10px 14px; font-size: .88rem; margin-bottom: 14px; }
.muted { color: var(--muted); font-size: .85rem; margin-top: 14px; }
a { color: var(--brand); }
</style>
</head>
<body>
<h1>Anmelden</h1>
{% if error %}<div class="error">{{ error }}</div>{% endif %}
<form method="post">
<div class="field">
<label for="email">E-Mail</label>
<input type="email" id="email" name="email" required autocomplete="username" />
</div>
<div class="field">
<label for="password">Passwort</label>
<input type="password" id="password" name="password" required autocomplete="current-password" />
</div>
<button class="btn" type="submit">Anmelden</button>
</form>
<p class="muted"><a href="{{ url_for('owner_auth.forgot_password') }}">Passwort vergessen?</a></p>
</body>
</html>