31 lines
1002 B
HTML
31 lines
1002 B
HTML
<!DOCTYPE html>
|
|
<html lang="ru">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>ButtonTask — вход</title>
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
|
</head>
|
|
<body class="login-body">
|
|
<main class="login-card">
|
|
<h1>ButtonTask</h1>
|
|
<p class="muted">Веб-конфигуратор</p>
|
|
|
|
{% if error %}
|
|
<div class="error">{{ error }}</div>
|
|
{% endif %}
|
|
|
|
<form method="post" action="{{ url_for('auth.login') }}{% if next %}?next={{ next }}{% endif %}">
|
|
<label>
|
|
<span>Пароль</span>
|
|
<input type="password" name="password" autofocus required>
|
|
</label>
|
|
{% if next %}
|
|
<input type="hidden" name="next" value="{{ next }}">
|
|
{% endif %}
|
|
<button type="submit" class="primary">Войти</button>
|
|
</form>
|
|
</main>
|
|
</body>
|
|
</html>
|