59c35ce39f
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>
47 lines
1.8 KiB
HTML
47 lines
1.8 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>Passwort vergessen</title>
|
|
<style>
|
|
:root {
|
|
--brand: #0f8a7e;
|
|
--bg: #fff; --ink: #16302f; --muted: #5d716f; --line: #e3eae9;
|
|
}
|
|
* { 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] { 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%; }
|
|
.card { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #f6faf9; }
|
|
.muted { color: var(--muted); font-size: .85rem; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>Passwort vergessen</h1>
|
|
{% if sent %}
|
|
<div class="card">
|
|
<p>Wenn zu dieser E-Mail-Adresse ein Konto existiert, wurde ein Link zum Zurücksetzen
|
|
des Passworts versendet.</p>
|
|
<p class="muted">Bitte prüfen Sie Ihren Posteingang.</p>
|
|
</div>
|
|
{% else %}
|
|
<form method="post">
|
|
<div class="field">
|
|
<label for="email">E-Mail</label>
|
|
<input type="email" id="email" name="email" required autocomplete="username" />
|
|
</div>
|
|
<button class="btn" type="submit">Link anfordern</button>
|
|
</form>
|
|
{% endif %}
|
|
</body>
|
|
</html>
|