Files
vesti/web/templates/login.html
T

29 lines
1.2 KiB
HTML

<!doctype html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>VESTI — Вход</title>
{% from '_logo.html' import logo, head_brand %}
{{ head_brand('вести — вход', 'Новостной конвейер: вход в панель управления') }}
<link href="/static/css/style.css" rel="stylesheet">
</head>
<body class="bg-neutral-100 flex items-center justify-center min-h-screen">
<div class="w-full max-w-sm px-4">
<div class="card card-outline shadow-sm">
<div class="card-content">
<h1 class="card-title mb-4 text-neutral-900" aria-label="вести — вход">{{ logo('full') }}</h1>
{% if request.query_params.get('error') %}<div class="alert alert-error mb-4">Неверный пароль</div>{% endif %}
<form method="post" action="/login" class="flex flex-col gap-4">
<div class="flex flex-col gap-2">
<label class="text-sm font-medium" for="password">Пароль</label>
<input id="password" type="password" name="password" class="input" autofocus required>
</div>
<button class="btn btn-primary w-full">Войти</button>
</form>
</div>
</div>
</div>
</body>
</html>