Adding route tests

Removing status code from 404 title

Removing status code from 503 title

Adding id to 503 error box

Indatation fix
This commit is contained in:
Marcus Andersson 2021-05-13 22:02:50 +02:00 committed by Kevin Morris
parent f6744d3e39
commit 1d5827007f
5 changed files with 21 additions and 11 deletions

View file

@ -1,8 +1,8 @@
{% extends 'partials/layout.html' %}
{% block pageContent %}
<div class="box 404">
<div id="error-page" class="box 404">
<h2>404 - {% trans %}Page Not Found{% endtrans %}</h2>
<p>{% trans %}Sorry, the page you've requested does not exist.{% endtrans %}</p>
</div>
{% endblock %}
{% endblock %}

View file

@ -1,7 +1,7 @@
{% extends 'partials/layout.html' %}
{% block pageContent %}
<div class="box 404">
<div id="error-page" class="box 503">
<h2>503 - {% trans %}Service Unavailable{% endtrans %}</h2>
<p>{% trans %}Don't panic! This site is down due to maintenance. We will be back soon.{% endtrans %}</p>
</div>