24 lines
941 B
HTML
24 lines
941 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Login</title>
|
|
<style>
|
|
body { font-family: sans-serif; background-color: #121212; color: white; display: flex; justify-content: center; align-items: center; height: 100vh; }
|
|
form { background: #1e1e1e; padding: 30px; border-radius: 8px; box-shadow: 0 0 10px black; }
|
|
input { display: block; margin: 10px 0; padding: 10px; width: 100%; }
|
|
button { padding: 10px; width: 100%; background: #4285F4; color: white; border: none; border-radius: 5px; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<form method="post" action="/login">
|
|
<h2>Login</h2>
|
|
{% if error %}
|
|
<p style="color: red;">{{ error }}</p>
|
|
{% endif %}
|
|
<input type="text" name="username" placeholder="Username" required />
|
|
<input type="password" name="password" placeholder="Password" required />
|
|
<button type="submit">Log In</button>
|
|
</form>
|
|
</body>
|
|
</html>
|