Files
vesti/web/templates/login.html
T

26 lines
974 B
HTML

<!doctype html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>VESTI — Вход</title>
<link href="/static/bootstrap.min.css" rel="stylesheet">
</head>
<body class="bg-light d-flex align-items-center" style="min-height:100vh">
<div class="container" style="max-width:380px">
<div class="card shadow-sm">
<div class="card-body p-4">
<h4 class="card-title mb-3">📰 VESTI — вход</h4>
{% if request.query_params.get('error') %}<div class="alert alert-danger py-2">Неверный пароль</div>{% endif %}
<form method="post" action="/login">
<div class="mb-3">
<label class="form-label">Пароль</label>
<input type="password" name="password" class="form-control" autofocus required>
</div>
<button class="btn btn-primary w-100">Войти</button>
</form>
</div>
</div>
</div>
</body>
</html>