first commit

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
test2
2026-07-25 20:36:00 +03:00
co-authored by Cursor
commit bbff3cb10b
35 changed files with 2054 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
{% extends "base.html" %}
{% block title %}Вход — {{ app_name }}{% endblock %}
{% block body %}
<div class="login-wrap">
<div class="login-card">
<div class="brand">
<span class="brand-mark">V</span>
<span>{{ app_name }}</span>
</div>
<h1>Вход в админку</h1>
<p>Логин и пароль задаются в переменных окружения.</p>
{% if error %}<div class="error">{{ error }}</div>{% endif %}
<form method="post" action="/admin/login" class="stack">
<label>Логин
<input name="username" autocomplete="username" required />
</label>
<label>Пароль
<input type="password" name="password" autocomplete="current-password" required />
</label>
<button class="btn btn-primary" type="submit">Войти</button>
</form>
</div>
</div>
{% endblock %}