custom errors pages

This commit is contained in:
Élie Bouttier 2014-08-17 11:24:30 -07:00
parent 2ecf23b06e
commit 298aae7cb6
3 changed files with 57 additions and 0 deletions

19
issue/templates/403.html Normal file
View file

@ -0,0 +1,19 @@
{% extends 'base.html' %}
{% block content %}
<div class="panel panel-default">
<div class="panel-heading">
<h1>
Permission denied
</h1>
</div>
<div class="panel-body">
<em>Sorry, you are not allowed to access this page.</em>
</div>
</div>
{% endblock %}

19
issue/templates/404.html Normal file
View file

@ -0,0 +1,19 @@
{% extends 'base.html' %}
{% block content %}
<div class="panel panel-default">
<div class="panel-heading">
<h1>
Page not found
</h1>
</div>
<div class="panel-body">
<em>This is not the web page you are looking for.</em>
</div>
</div>
{% endblock %}

19
issue/templates/500.html Normal file
View file

@ -0,0 +1,19 @@
{% extends 'base.html' %}
{% block content %}
<div class="panel panel-default">
<div class="panel-heading">
<h1>
Server error
</h1>
</div>
<div class="panel-body">
<em>Sorry, an error occured. Please try again in few minutes.</em>
</div>
</div>
{% endblock %}