Add custom error pages

This commit is contained in:
Stephan Porada
2019-07-09 15:39:28 +02:00
parent 26016458dd
commit 66d9ab8a93
4 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,9 @@
{% extends "base.html.j2" %}
{% block title %}Opaque - Forbidden{% endblock %}
{% block page_content %}
<div class="page-header">
<h1>Forbidden</h1>
</div>
{% endblock %}

View File

@ -0,0 +1,9 @@
{% extends "base.html.j2" %}
{% block title %}Opaque - Page Not Found{% endblock %}
{% block page_content %}
<div class="page-header">
<h1>Not Found</h1>
</div>
{% endblock %}

View File

@ -0,0 +1,9 @@
{% extends "base.html.j2" %}
{% block title %}Opaque - Internal Server Error{% endblock %}
{% block page_content %}
<div class="page-header">
<h1>Internal Server Error</h1>
</div>
{% endblock %}