Error templates
This commit is contained in:
parent
60896a2835
commit
058d682ddb
7
src/templates/400.html
Normal file
7
src/templates/400.html
Normal file
@ -0,0 +1,7 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<article class="error-view">
|
||||
<h1>400 Bad request</h1>
|
||||
</article>
|
||||
{% endblock %}
|
||||
7
src/templates/403.html
Normal file
7
src/templates/403.html
Normal file
@ -0,0 +1,7 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<article class="error-view">
|
||||
<h1>403 Forbidden</h1>
|
||||
</article>
|
||||
{% endblock %}
|
||||
7
src/templates/404.html
Normal file
7
src/templates/404.html
Normal file
@ -0,0 +1,7 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<article class="error-view">
|
||||
<h1>404 Page not found</h1>
|
||||
</article>
|
||||
{% endblock %}
|
||||
7
src/templates/500.html
Normal file
7
src/templates/500.html
Normal file
@ -0,0 +1,7 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<article class="error-view">
|
||||
<h1>500 Server error</h1>
|
||||
</article>
|
||||
{% endblock %}
|
||||
Loading…
x
Reference in New Issue
Block a user