document-processor/app/templates/auth/login.html

39 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Login</title>
<link rel="stylesheet" href="/static/app.css?v=21">
<link rel="stylesheet" href="/static/app-shell.css?v=21">
</head>
<body>
<main class="main login-page-shell">
<div class="card login-card">
<h1 class="page-title">Login</h1>
<p class="page-subtitle">Sign in to Document Processor.</p>
{% if error %}
<div class="error-box">{{ error }}</div>
{% endif %}
<form method="post" action="/login">
<div class="form-grid">
<div class="form-field full">
<label for="username">Username or email</label>
<input id="username" type="text" name="username" required>
</div>
<div class="form-field full">
<label for="password">Password</label>
<input id="password" type="password" name="password" required>
</div>
</div>
<div class="button-row login-button-row">
<button class="primary" type="submit">Login</button>
</div>
</form>
</div>
</main>
</body>
</html>