mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-12 09:00:40 +00:00
Add custom error pages
This commit is contained in:
9
app/templates/403.html.j2
Normal file
9
app/templates/403.html.j2
Normal 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 %}
|
9
app/templates/404.html.j2
Normal file
9
app/templates/404.html.j2
Normal 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 %}
|
9
app/templates/500.html.j2
Normal file
9
app/templates/500.html.j2
Normal 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 %}
|
Reference in New Issue
Block a user