176 lines
4.1 KiB
HTML
176 lines
4.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>{{ title }} — Connexion</title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700&family=Syne:wght@400;700;800&display=swap" rel="stylesheet">
|
|
<style>
|
|
:root {
|
|
--bg: #0d0f14;
|
|
--surface: #161921;
|
|
--surface2: #1e2330;
|
|
--border: #2a3040;
|
|
--accent: #00e5a0;
|
|
--accent2: #0099ff;
|
|
--danger: #ff4455;
|
|
--text: #e2e8f0;
|
|
--muted: #6b7a99;
|
|
}
|
|
|
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
body {
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 13px;
|
|
height: 100dvh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* Fond animé */
|
|
body::before {
|
|
content: '';
|
|
position: fixed;
|
|
inset: 0;
|
|
background:
|
|
radial-gradient(ellipse 60% 40% at 20% 60%, rgba(0,229,160,0.05) 0%, transparent 70%),
|
|
radial-gradient(ellipse 50% 40% at 80% 30%, rgba(0,153,255,0.05) 0%, transparent 70%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.card {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
padding: 40px 36px;
|
|
width: 100%;
|
|
max-width: 360px;
|
|
position: relative;
|
|
box-shadow: 0 24px 60px rgba(0,0,0,0.4);
|
|
}
|
|
|
|
.card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0; left: 24px; right: 24px;
|
|
height: 1px;
|
|
background: linear-gradient(90deg, transparent, var(--accent), transparent);
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.logo {
|
|
font-family: 'Syne', sans-serif;
|
|
font-size: 24px;
|
|
font-weight: 800;
|
|
color: var(--accent);
|
|
text-align: center;
|
|
margin-bottom: 6px;
|
|
letter-spacing: -0.5px;
|
|
}
|
|
|
|
.logo span { color: var(--text); }
|
|
|
|
.subtitle {
|
|
text-align: center;
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
margin-bottom: 32px;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.field {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
font-size: 10px;
|
|
color: var(--muted);
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
input {
|
|
width: 100%;
|
|
background: var(--bg);
|
|
border: 1px solid var(--border);
|
|
color: var(--text);
|
|
padding: 10px 12px;
|
|
border-radius: 6px;
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 13px;
|
|
outline: none;
|
|
transition: border-color 0.15s, box-shadow 0.15s;
|
|
}
|
|
|
|
input:focus {
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 0 3px rgba(0,229,160,0.1);
|
|
}
|
|
|
|
.error {
|
|
background: rgba(255,68,85,0.1);
|
|
border: 1px solid rgba(255,68,85,0.3);
|
|
color: var(--danger);
|
|
padding: 10px 12px;
|
|
border-radius: 6px;
|
|
font-size: 11px;
|
|
margin-bottom: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.btn-submit {
|
|
width: 100%;
|
|
margin-top: 8px;
|
|
padding: 11px;
|
|
background: rgba(0,229,160,0.12);
|
|
border: 1px solid var(--accent);
|
|
color: var(--accent);
|
|
border-radius: 6px;
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: background 0.15s;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.btn-submit:hover { background: rgba(0,229,160,0.22); }
|
|
.btn-submit:active { background: rgba(0,229,160,0.3); }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="card">
|
|
<div class="logo">Seed<span>Mover</span></div>
|
|
<div class="subtitle">Gestionnaire de transferts</div>
|
|
|
|
{% if error %}
|
|
<div class="error">⚠ {{ error }}</div>
|
|
{% endif %}
|
|
|
|
<form method="POST">
|
|
<div class="field">
|
|
<label for="username">Identifiant</label>
|
|
<input type="text" id="username" name="username" autocomplete="username" autofocus />
|
|
</div>
|
|
<div class="field">
|
|
<label for="password">Mot de passe</label>
|
|
<input type="password" id="password" name="password" autocomplete="current-password" />
|
|
</div>
|
|
<button type="submit" class="btn-submit">Connexion →</button>
|
|
</form>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|