Add web administration
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{% extends 'base.html.j2' %}
|
||||
{% block title %}Вход — админка{% endblock %}
|
||||
{% block body %}
|
||||
<main class='login'>
|
||||
<h1>Вход в админку</h1>
|
||||
{% if error %}<p class='error' role='alert'>{{ error }}</p>{% endif %}
|
||||
<form method='post' action='/admin/login'>
|
||||
<label>Логин
|
||||
<input type='text' name='login' value='{{ login }}' autocomplete='username' required autofocus>
|
||||
</label>
|
||||
<label>Пароль
|
||||
<input type='password' name='password' autocomplete='current-password' required>
|
||||
</label>
|
||||
<button type='submit'>Войти</button>
|
||||
</form>
|
||||
</main>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user