banned.html: center image

This commit is contained in:
Zankaria 2024-04-10 14:27:35 +02:00
parent 9de120201d
commit f3b2793954

View File

@ -1,7 +1,7 @@
{% filter remove_whitespace %}
{# Automatically removes unnecessary whitespace #}
<div class="ban">
<img width="420" height="600" src="static/banned.jpg" alt="Purge list: you">
<img style="display:block;margin-left:auto;margin-right:auto;" width="420" height="600" src="static/banned.jpg" alt="Purge list: you">
{% if ban.expires and time() >= ban.expires %}
<h2>{% trans %}You were banned! ;_;{% endtrans %}</h2>
{% else %}