32 lines
1.0 KiB
HTML
32 lines
1.0 KiB
HTML
{% extends "base.html" %}
|
||
{% block title %}Вход — Morozovka Portal{% endblock %}
|
||
{% block main_class %}auth-page{% endblock %}
|
||
|
||
{% block content %}
|
||
<div class="auth-card">
|
||
<h2>Вход</h2>
|
||
{% if msg %}<div class="msg">{{ msg }}</div>{% endif %}
|
||
{% if error %}<div class="error">{{ error }}</div>{% endif %}
|
||
|
||
<form method="POST">
|
||
<div class="form-group">
|
||
<label>Логин</label>
|
||
<input type="text" name="username" required>
|
||
</div>
|
||
<div class="form-group">
|
||
<label>Пароль</label>
|
||
<input type="password" name="password" required>
|
||
</div>
|
||
<button type="submit">Войти</button>
|
||
</form>
|
||
|
||
<a href="/login/gitea" class="gitea-btn">Войти через Gitea</a>
|
||
|
||
<div class="links">
|
||
<a href="/register">Нет аккаунта? Регистрация</a>
|
||
<a href="/forgot_password">Забыли пароль?</a>
|
||
<a href="/" style="color: #8b949e;">← На главную</a>
|
||
</div>
|
||
</div>
|
||
{% endblock %}
|