Files
CloudOps/platform/templates/login.html

53 lines
2.0 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 href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: 'Inter', sans-serif;
display: flex; justify-content: center; align-items: center;
min-height: 100vh;
background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
}
.login-card {
background: white; border-radius: 24px;
padding: 48px 40px; width: 380px;
text-align: center;
box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}
h1 { font-size: 26px; font-weight: 700; color: #1e1b4b; }
p { color: #6b7280; margin: 6px 0 28px; font-size: 14px; }
input {
width: 100%; padding: 13px 16px; margin-bottom: 12px;
border: 1.5px solid #e5e7eb; border-radius: 12px;
font-size: 14px; transition: border-color 0.15s;
}
input:focus { outline: none; border-color: #6366f1; }
button {
width: 100%; padding: 13px;
background: #6366f1; color: white;
border: none; border-radius: 12px;
font-size: 15px; font-weight: 600;
cursor: pointer; transition: background 0.15s;
}
button:hover { background: #4f46e5; }
.error { color: #ef4444; font-size: 13px; margin-bottom: 12px; }
</style>
</head>
<body>
<div class="login-card">
<h1>Navitrends</h1>
<p>Management Platform</p>
{% if error %}<div class="error">⚠️ {{ error }}</div>{% endif %}
<form method="post">
<input type="password" name="password" placeholder="Enter password" required autofocus>
<button type="submit">Login →</button>
</form>
</div>
</body>
</html>