Files
shop-pip/app/templates/admin/login.html
T

36 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Вход в админку — {{ app_name }}</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=Figtree:wght@400;600;700&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="/static/css/style.css" />
</head>
<body class="admin-body">
<section class="page-section narrow admin-login">
<h1>{{ app_name }} Admin</h1>
<p class="muted">Вход для управления магазином</p>
{% if error %}
<p class="flash error">{{ error }}</p>
{% endif %}
<form method="post" action="/admin/login" class="stack-form">
<label>
Логин
<input type="text" name="username" required autocomplete="username" />
</label>
<label>
Пароль
<input type="password" name="password" required autocomplete="current-password" />
</label>
<button class="btn btn-primary" type="submit">Войти</button>
</form>
</section>
</body>
</html>