36 lines
1.9 KiB
HTML
36 lines
1.9 KiB
HTML
<!doctype html>
|
|
<html lang="ru">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Вход для преподавателя — Анастасия Панкратенкова</title>
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">
|
|
</head>
|
|
<body class="admin-page">
|
|
<main class="admin-login-card">
|
|
<a class="brand admin-brand" href="{{ url_for('index') }}">
|
|
<span class="brand-mark">АП</span>
|
|
<span class="brand-name">Анастасия<br>Панкратенкова</span>
|
|
</a>
|
|
<div class="admin-login-heading">
|
|
<p class="eyebrow"><span class="eyebrow-dot"></span> Приватный раздел</p>
|
|
<h1>Заявки<br><em>на консультацию.</em></h1>
|
|
<p>Введите пароль, чтобы посмотреть обращения учеников.</p>
|
|
</div>
|
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
|
{% if messages %}
|
|
{% for category, message in messages %}
|
|
<div class="flash-message {{ category }}">{{ message }}</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endwith %}
|
|
<form action="{{ url_for('admin_login') }}" method="post" class="admin-login-form">
|
|
<label for="password">Пароль администратора</label>
|
|
<input id="password" type="password" name="password" placeholder="Введите пароль" autocomplete="current-password" required autofocus>
|
|
<button class="button button-primary form-button" type="submit">Войти в панель <span>↗</span></button>
|
|
</form>
|
|
<a class="admin-back-link" href="{{ url_for('index') }}">← Вернуться на сайт</a>
|
|
</main>
|
|
</body>
|
|
</html>
|