Release 1.2: bulk upload, S3/SFTP/FTP, SMTP, password reset, user groups, git deploy
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Сброс пароля — PhotoHost{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<section class="auth-section">
|
||||
<div class="container auth-container">
|
||||
<div class="auth-card">
|
||||
<h1 class="auth-card__title">Сброс пароля</h1>
|
||||
<p class="auth-card__subtitle">Введите email — отправим ссылку для восстановления</p>
|
||||
{% include "partials/alerts.html" %}
|
||||
<form method="post" class="auth-form">
|
||||
<div class="form-group">
|
||||
<label for="email">Email</label>
|
||||
<input type="email" id="email" name="email" required autocomplete="email">
|
||||
</div>
|
||||
<button type="submit" class="btn btn--primary btn--full">Отправить ссылку</button>
|
||||
</form>
|
||||
<p class="auth-card__footer"><a href="{{ url_for('auth.login') }}">← Вернуться ко входу</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
||||
@@ -28,7 +28,8 @@
|
||||
</form>
|
||||
|
||||
<p class="auth-card__footer">
|
||||
Нет аккаунта? <a href="{{ url_for('auth.register') }}">Зарегистрироваться</a>
|
||||
<a href="{{ url_for('auth.forgot_password') }}">Забыли пароль?</a> ·
|
||||
<a href="{{ url_for('auth.register') }}">Зарегистрироваться</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Новый пароль — PhotoHost{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<section class="auth-section">
|
||||
<div class="container auth-container">
|
||||
<div class="auth-card">
|
||||
<h1 class="auth-card__title">Новый пароль</h1>
|
||||
{% include "partials/alerts.html" %}
|
||||
<form method="post" class="auth-form">
|
||||
<div class="form-group">
|
||||
<label for="password">Новый пароль</label>
|
||||
<input type="password" id="password" name="password" required minlength="6">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password2">Подтверждение</label>
|
||||
<input type="password" id="password2" name="password2" required minlength="6">
|
||||
</div>
|
||||
<button type="submit" class="btn btn--primary btn--full">Сохранить пароль</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user