added custom error pages

This commit is contained in:
overflowerror 2021-01-18 18:47:47 +01:00
parent fc602b0358
commit 24f2ff4205
3 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,10 @@
{% extends 'base.html.twig' %}
{% block body %}
<h1>Oops</h1>
<p>
Something went wrong.<br/>
Click <a href="{{ path('app_dashboard') }}">here</a> to return to the Dashboard.
</p>
{% endblock %}

View file

@ -0,0 +1,10 @@
{% extends 'base.html.twig' %}
{% block body %}
<h1>Forbidden</h1>
<p>
You are not allowed to access this URL.<br/>
Click <a href="{{ path('app_dashboard') }}">here</a> to return to the Dashboard.
</p>
{% endblock %}

View file

@ -0,0 +1,10 @@
{% extends 'base.html.twig' %}
{% block body %}
<h1>Not Found</h1>
<p>
The requested URL could not be found.<br/>
Click <a href="{{ path('app_dashboard') }}">here</a> to return to the Dashboard.
</p>
{% endblock %}