changeset 2:abd55d94f82b

error: added basic base and 404 templates
author Goffi <goffi@goffi.org>
date Sun, 05 Mar 2017 23:25:47 +0100
parents b13a26d55c64
children 4d8577e54f16
files default/error/404.html default/error/base.html
diffstat 2 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/default/error/404.html	Sun Mar 05 23:25:47 2017 +0100
@@ -0,0 +1,6 @@
+{% extends 'error/base.html' %}
+
+{% block body %}
+<h1>Not Found</h1>
+<p>Sorry, we can't find the resource you are trying to access.</p>
+{% endblock body %}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/default/error/base.html	Sun Mar 05 23:25:47 2017 +0100
@@ -0,0 +1,7 @@
+{% extends 'base/base.html' %}
+
+{% block title %}Error {{error_code}}{% endblock %}
+{% block body %}
+An error occured while trying to access the resource.
+{% endblock body %}
+{% block footer %}{% endblock %}