Add templates/login.html

This commit is contained in:
mosaic 2026-03-30 12:20:14 +00:00
parent 618b6a396a
commit 84ea5fe706
1 changed files with 30 additions and 0 deletions

30
templates/login.html Normal file
View File

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="noindex, nofollow">
<title>FBN Residential</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro', system-ui, sans-serif; background: #0f1117; color: #e1e4ed; display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.login-box { width: 320px; text-align: center; }
h1 { font-size: 20px; font-weight: 600; margin-bottom: 24px; }
input[type="password"] { width: 100%; padding: 12px 16px; background: #1a1d27; border: 1px solid #2a2d3a; border-radius: 8px; color: #e1e4ed; font-size: 15px; outline: none; }
input[type="password"]:focus { border-color: #60a5fa; }
button { width: 100%; margin-top: 12px; padding: 12px; background: #60a5fa; color: #0f1117; border: none; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; }
button:hover { background: #7db5fc; }
.error { color: #f87171; font-size: 13px; margin-top: 12px; }
</style>
</head>
<body>
<div class="login-box">
<h1>FBN Residential</h1>
<form method="POST">
<input type="password" name="password" placeholder="Password" autofocus>
<button type="submit">Go</button>
</form>
{% if error %}<p class="error">{{ error }}</p>{% endif %}
</div>
</body>
</html>