mirror of
https://github.com/pinry/pinry.git
synced 2026-01-19 05:32:05 +01:00
Added basic 404 and 500 error pages.
This commit is contained in:
15
pinry/core/templates/404.html
Normal file
15
pinry/core/templates/404.html
Normal file
@@ -0,0 +1,15 @@
|
||||
{% extends 'core/base.html' %}
|
||||
|
||||
|
||||
{% block title %}404{% endblock %}
|
||||
|
||||
{% block yield %}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div id="form" class="span6 offset3">
|
||||
<h1>404</h1>
|
||||
<p>This page does not exist.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
17
pinry/core/templates/500.html
Normal file
17
pinry/core/templates/500.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{% extends 'core/base.html' %}
|
||||
|
||||
|
||||
{% block title %}500{% endblock %}
|
||||
|
||||
{% block yield %}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div id="form" class="span6 offset3">
|
||||
<h1>500</h1>
|
||||
<p>Something went wrong! If you figure out what it was please
|
||||
submit an issue on Pinry's
|
||||
<a href="https://github.com/overshard/pinry/issues">GitHub Issue's page</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user