From 59567e336bc7481319cf948e68e17bd997520d24 Mon Sep 17 00:00:00 2001 From: benjaoming Date: Thu, 10 Jan 2013 16:44:05 +0100 Subject: [PATCH] Error pages for test project --- testproject/testproject/templates/404.html | 17 +++++++++++++++++ testproject/testproject/templates/500.html | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 testproject/testproject/templates/404.html create mode 100644 testproject/testproject/templates/500.html diff --git a/testproject/testproject/templates/404.html b/testproject/testproject/templates/404.html new file mode 100644 index 00000000..b0886c26 --- /dev/null +++ b/testproject/testproject/templates/404.html @@ -0,0 +1,17 @@ +{% extends "wiki/base.html" %} +{% load wiki_tags i18n %} +{% load url from future %} + +{% block pagetitle %}{% trans "404" %}{% endblock %} + +{% block wiki_breadcrumbs %}{% endblock %} + +{% block wiki_contents %} + +

{% trans "404 - it's not here!" %}

+ +
+

{% trans "Sorry, keep looking. Good luck!" %}

+
+ +{% endblock %} diff --git a/testproject/testproject/templates/500.html b/testproject/testproject/templates/500.html new file mode 100644 index 00000000..99773f5c --- /dev/null +++ b/testproject/testproject/templates/500.html @@ -0,0 +1,17 @@ +{% extends "wiki/base.html" %} +{% load wiki_tags i18n %} +{% load url from future %} + +{% block pagetitle %}{% trans "500 Server err" %}{% endblock %} + +{% block wiki_breadcrumbs %}{% endblock %} + +{% block wiki_contents %} + +

{% trans "500 - ERROR" %}

+ +
+

{% trans "Oh god no the demo has failed. Please rest asured that an open source developer is the logs to resolve this, because it's fun!!" %}

+
+ +{% endblock %} -- 2.45.2