39 lines
1.3 KiB
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">
|
|
</head>
|
|
<body>
|
|
<main class="main" style="max-width:520px; margin:3rem auto; padding:2rem 1rem;">
|
|
<div class="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" style="margin-top:1rem;">
|
|
<button class="primary" type="submit">Login</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</main>
|
|
</body>
|
|
</html>
|