seems to be the last RC - this app is done - so am I

This commit is contained in:
nocci 2025-05-09 14:34:33 +02:00
parent 1506201913
commit f5b184fe54
37 changed files with 1932 additions and 661 deletions

View file

@ -2,7 +2,7 @@
{% block content %}
<div class="row justify-content-center">
<div class="col-md-6 col-lg-4">
<h1 class="mb-4">{{ _('Login') }}</h1>
<h1 class="mb-4 text-center">{{ _('Login') }}</h1>
<form method="POST" aria-label="{{ _('Login form') }}" autocomplete="on">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<div class="mb-3">
@ -26,18 +26,26 @@
autocomplete="current-password"
aria-required="true">
</div>
{% if error %}
<div class="mb-3 form-check">
<input type="checkbox" class="form-check-input" id="remember_me" name="remember_me" value="true">
<label class="form-check-label" for="remember_me">{{ _('Remember me') }}</label>
</div>
{# Flash messages are handled in base.html, so the specific error block here can be removed #}
{# {% if error %}
<div class="alert alert-danger" role="alert">
{{ error }}
</div>
{% endif %}
<button type="submit" class="btn btn-primary w-100">{{ _('Login') }}</button>
{% endif %} #}
<button type="submit" class="btn btn-primary w-100 mb-3">{{ _('Login') }}</button>
</form>
{% if config.REGISTRATION_ENABLED %}
<div class="mt-3 text-center">
<a href="{{ url_for('register') }}">{{ _('No account? Register here!') }}</a>
</div>
{% endif %}
</div>
</div>
{% endblock %}