Prepare app for working behind a proxy (nginx).

Adapt user form
This commit is contained in:
Josako
2024-05-30 07:39:05 +02:00
parent ce91323dc9
commit e5a36798bf
1083 changed files with 326 additions and 331832 deletions

View File

@@ -6,13 +6,6 @@
<body class="presentation-page bg-gray-200">
{% include 'navbar.html' %}
{% include 'header.html' %}
{% with messages = get_flashed_messages() %}
{% if messages%}
{% for message in messages%}
<p>{{message}}</p>
{%endfor%}
{%endif%}
{%endwith%}
<hr>
<div class="container">
<div class="row">
@@ -39,6 +32,15 @@
<p class="mb-4 text-sm mx-auto">
{% block content_footer %}{% endblock %}
</p>
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages%}
{% for category, message in messages%}
<div class="alert alert-{{category}}" role="alert">
{{message}}
</div>
{%endfor%}
{%endif%}
{%endwith%}
</div>
</div>
</div>