From cfecca9b9a7dd7714e2aa6e6d6a483466fe5b51b Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sat, 19 Apr 2014 16:21:21 +0200 Subject: Added custom error pages. --- pyaggr3g470r/templates/errors/404.html | 12 ++++++++++++ pyaggr3g470r/templates/errors/500.html | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 pyaggr3g470r/templates/errors/404.html create mode 100644 pyaggr3g470r/templates/errors/500.html (limited to 'pyaggr3g470r/templates') diff --git a/pyaggr3g470r/templates/errors/404.html b/pyaggr3g470r/templates/errors/404.html new file mode 100644 index 00000000..49c9ef5a --- /dev/null +++ b/pyaggr3g470r/templates/errors/404.html @@ -0,0 +1,12 @@ +{% extends "layout.html" %} +{% block head %} +{{ super() }} +{% endblock %} +{% block content %} +
+
+

Page Not Found

+

What you were looking for is just not there, go to the home page.

+
+
+{% endblock %} diff --git a/pyaggr3g470r/templates/errors/500.html b/pyaggr3g470r/templates/errors/500.html new file mode 100644 index 00000000..1fa6acc9 --- /dev/null +++ b/pyaggr3g470r/templates/errors/500.html @@ -0,0 +1,12 @@ +{% extends "layout.html" %} +{% block head %} +{{ super() }} +{% endblock %} +{% block content %} +
+
+

Internal Server Error

+

Something bad just happened! Go to the home page.

+
+
+{% endblock %} -- cgit