0a51001791
Co-authored-by: Cursor <cursoragent@cursor.com>
46 lines
1.9 KiB
HTML
46 lines
1.9 KiB
HTML
{% 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">Войдите в аккаунт для загрузки фото</p>
|
||
|
||
{% include "partials/alerts.html" %}
|
||
|
||
<form method="post" class="auth-form">
|
||
<div class="form-group">
|
||
<label for="login">Логин или email</label>
|
||
<input type="text" id="login" name="login" required autocomplete="username" placeholder="username или email@example.com">
|
||
</div>
|
||
<div class="form-group">
|
||
<label for="password">Пароль</label>
|
||
<input type="password" id="password" name="password" required autocomplete="current-password" placeholder="••••••••">
|
||
</div>
|
||
<label class="form-checkbox">
|
||
<input type="checkbox" name="remember">
|
||
<span>Запомнить меня</span>
|
||
</label>
|
||
<button type="submit" class="btn btn--primary btn--full">Войти</button>
|
||
</form>
|
||
|
||
<button type="button" class="btn btn--ghost btn--full" id="passkeyLoginBtn" style="margin-top:12px">
|
||
Войти с Passkey
|
||
</button>
|
||
|
||
<p class="auth-card__footer">
|
||
<a href="{{ url_for('auth.forgot_password') }}">Забыли пароль?</a> ·
|
||
<a href="{{ url_for('auth.register') }}">Зарегистрироваться</a>
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
{% endblock %}
|
||
|
||
{% block scripts %}
|
||
<script src="{{ url_for('static', filename='js/passkey.js') }}"></script>
|
||
{% endblock %}
|