Sync from main server - 2026-04-15 13:03:38

This commit is contained in:
root
2026-04-15 13:03:38 +02:00
parent 3f3d3a9fc3
commit 68870eb3db
8 changed files with 2455 additions and 1212 deletions

View File

@@ -4,48 +4,76 @@
<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">
<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: 'Inter', sans-serif;
display: flex; justify-content: center; align-items: center;
min-height: 100vh;
background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
font-family: 'Syne', sans-serif;
background: #0a0b0e;
display: flex; align-items: center; justify-content: center;
min-height: 100vh; color: #e8ecf4;
}
.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);
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;
}
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;
.card {
background: #111318; border: 1px solid #1e2330;
border-radius: 20px; padding: 44px 40px; width: 380px; position: relative;
}
input:focus { outline: none; border-color: #6366f1; }
.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: 13px;
background: #6366f1; color: white;
border: none; border-radius: 12px;
font-size: 15px; font-weight: 600;
cursor: pointer; transition: background 0.15s;
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;
}
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 %}
<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">
<input type="password" name="password" placeholder="Enter password" required autofocus>
<button type="submit">Login →</button>
<label>ACCESS PASSWORD</label>
<input type="password" name="password" placeholder="••••••••••" required autofocus>
<button type="submit">Sign In →</button>
</form>
</div>
</body>