[CHANGE] Center HTTPError messages

This commit is contained in:
Peter Pfeufer 2024-07-13 00:31:26 +02:00
parent e2be8b3440
commit 136438f9c2
No known key found for this signature in database
GPG Key ID: 6051D2C6AD4EBC27

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 %}