1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 01:48:21 +02:00

Cards on error pages

This commit is contained in:
Alexandre Iooss
2020-08-23 09:51:03 +02:00
parent 0ba77fb8f0
commit e3898d0b1e
4 changed files with 66 additions and 22 deletions

View File

@ -1,8 +1,22 @@
{% extends "base.html" %}
{% comment %}
SPDX-License-Identifier: GPL-3.0-or-later
{% endcomment %}
{% load i18n %}
{% block content %}
<h1>{% trans "Bad request" %}</h1>
{% blocktrans %}Sorry, your request was bad. Don't know what could be wrong. An email has been sent to webmasters with the details of the error. You can now drink a coke.{% endblocktrans %}
<div class="card text-white bg-secondary">
<h3 class="card-header text-center">
{% trans "Bad request" %}
</h3>
<div class="card-body">
<p>
{% blocktrans trimmed %}
Sorry, your request was bad. Don't know what could be wrong.
An email has been sent to webmasters with the details of the error.
You can now drink a coke.
{% endblocktrans %}
</p>
</div>
</div>
{% endblock %}