Files
CloudOps/platform/templates/login.html

81 lines
3.7 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Navitrends — Login</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet">
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: 'Syne', sans-serif;
background: #0a0b0e;
display: flex; align-items: center; justify-content: center;
min-height: 100vh; color: #e8ecf4;
}
body::before {
content: ''; position: fixed; inset: 0;
background-image:
linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
background-size: 40px 40px; pointer-events: none;
}
.card {
background: #111318; border: 1px solid #1e2330;
border-radius: 20px; padding: 44px 40px; width: 380px; position: relative;
}
.card::before {
content: ''; position: absolute; top: 0; left: 40px; right: 40px; height: 2px;
background: linear-gradient(90deg, #3b82f6, #60a5fa, #a78bfa);
border-radius: 0 0 4px 4px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.brand-mark {
width: 40px; height: 40px; background: #3b82f6; border-radius: 10px;
display: flex; align-items: center; justify-content: center;
font-family: 'Geist Mono', monospace; font-weight: 500; font-size: 13px; color: #fff;
}
.brand-name { font-size: 18px; font-weight: 700; }
.brand-sub { font-size: 11px; color: #4a5568; font-family: 'Geist Mono', monospace; letter-spacing: 0.08em; }
label { display: block; font-size: 11px; font-weight: 600; color: #8892a4; letter-spacing: 0.1em; margin-bottom: 7px; }
input[type="password"] {
width: 100%; padding: 11px 14px; background: #181c24;
border: 1px solid #262d3d; border-radius: 10px;
font-size: 14px; font-family: 'Geist Mono', monospace;
color: #e8ecf4; letter-spacing: 0.1em; margin-bottom: 20px;
transition: border-color 0.18s;
}
input[type="password"]:focus { outline: none; border-color: #3b82f6; }
button {
width: 100%; padding: 12px; background: #3b82f6; color: #fff;
border: none; border-radius: 10px; font-size: 14px; font-weight: 600;
font-family: 'Syne', sans-serif; cursor: pointer; transition: background 0.18s;
}
button:hover { background: #2563eb; }
.error {
color: #ef4444; font-size: 12px; margin-bottom: 14px;
padding: 9px 12px; background: rgba(239,68,68,0.08);
border: 1px solid rgba(239,68,68,0.2); border-radius: 8px;
}
</style>
</head>
<body>
<div class="card">
<div class="brand">
<div class="brand-mark">NV</div>
<div>
<div class="brand-name">Navitrends</div>
<div class="brand-sub">OPS PLATFORM</div>
</div>
</div>
{% if error %}<div class="error">⚠ {{ error }}</div>{% endif %}
<form method="post">
<label>ACCESS PASSWORD</label>
<input type="password" name="password" placeholder="••••••••••" required autofocus>
<button type="submit">Sign In →</button>
</form>
</div>
</body>
</html>