From 690db3945a278d739adfeb5dcd6459003c55268d Mon Sep 17 00:00:00 2001 From: Trever Fischer Date: Wed, 7 Mar 2012 17:22:54 -0500 Subject: [PATCH] Implement error pages. Fixes #21 --- templates/404.html | 11 +++++++++++ templates/500.html | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 templates/404.html create mode 100644 templates/500.html diff --git a/templates/404.html b/templates/404.html new file mode 100644 index 0000000..4d826e0 --- /dev/null +++ b/templates/404.html @@ -0,0 +1,11 @@ +{% extends 'base_fullwidth.html' %} + +{% block sectiontitle %}Four Oh Four{% endblock %} + +{% block title %} 404 - Page not found!{% endblock %} + +{% block content %} +
+The page you were looking for could not be found. +
+{% endblock %} diff --git a/templates/500.html b/templates/500.html new file mode 100644 index 0000000..3e4ee58 --- /dev/null +++ b/templates/500.html @@ -0,0 +1,11 @@ +{% extends 'base_fullwidth.html' %} + +{% block sectiontitle %}Kamikaze Shrubs{% endblock %} + +{% block title %} 500 - Server Error{% endblock %} + +{% block content %} +
+The server crashed. Something bad happened. The admins have been notified. Please try to stay calm. +
+{% endblock %}