Merge branch 'center-error-messages' into 'master'

[CHANGE] Center HTTPError messages

See merge request allianceauth/allianceauth!1634
This commit is contained in:
Ariel Rin 2024-07-15 03:32:34 +00:00
commit 57ac7a5277

View File

@ -1,10 +1,14 @@
{% extends "allianceauth/base-bs5.html" %} {% extends "allianceauth/base-bs5.html" %}
{% load theme_tags %}
{% block page_title %} {% block page_title %}
{{ error_title }} {{ error_title }}
{% endblock page_title %} {% endblock page_title %}
{% block content %} {% block content %}
<div class="d-flex flex-column" style="height: calc(100vh - {% header_padding_size %}); margin-top: -1rem; margin-bottom: -1rem;">
<div class="d-flex flex-grow-1 justify-content-center align-items-center">
<div> <div>
{% include "framework/header/page-header.html" with title=error_title %} {% include "framework/header/page-header.html" with title=error_title %}
@ -28,4 +32,6 @@
<p class="text-center">{{ error_message }}</p> <p class="text-center">{{ error_message }}</p>
</div> </div>
</div>
</div>
{% endblock content %} {% endblock content %}