From a2e7702cb0ad9197cb7df9807f637c175436fc4f Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Sat, 6 Apr 2013 01:48:10 +0100 Subject: [PATCH] Further update to failure templates. --- app/vapemap/static/html/maintenance.html | 2 +- app/vapemap/templates/404.html | 45 ++++++++++++++++ app/vapemap/templates/500.html | 65 ++++++++++++++++++------ 3 files changed, 95 insertions(+), 17 deletions(-) create mode 100644 app/vapemap/templates/404.html diff --git a/app/vapemap/static/html/maintenance.html b/app/vapemap/static/html/maintenance.html index d44a4df..3c42a8e 100644 --- a/app/vapemap/static/html/maintenance.html +++ b/app/vapemap/static/html/maintenance.html @@ -25,7 +25,7 @@ line-height: 1.25; } - Vapour Hunter - Deployment + Vapour Hunter - Maintenance
diff --git a/app/vapemap/templates/404.html b/app/vapemap/templates/404.html new file mode 100644 index 0000000..3165ddf --- /dev/null +++ b/app/vapemap/templates/404.html @@ -0,0 +1,45 @@ + + + + + + + Vapour Hunter - 404 + + +
+
+

+ + + +

+ +

404

+

Somehow you stumbled onto a missing page. Go back and try again.

+

Icon by Jardson Araújo, from The Noun Project

+
+
+ + \ No newline at end of file diff --git a/app/vapemap/templates/500.html b/app/vapemap/templates/500.html index f37fa07..0c64376 100644 --- a/app/vapemap/templates/500.html +++ b/app/vapemap/templates/500.html @@ -1,26 +1,59 @@ -{% extends "base.html" %} - -{% block style %} + + + + + -{% endblock %} + Vapour Hunter - Error 500 + + +
+
+

+ + + + + +

-{% block content %} -
-
-

Oops

-

It seems we hit a error serving your request. This may be a temporary error, so please try again in a minute or so.

+

Error 500

+

It seems we hit a error serving your request. This may be a temporary error, so please try again in a minute or so.

{% if request.sentry %}

If you've hit the same issue more than once, please consider using the Feedback tab and informing us what steps you took to produce this error, citing {{ request.sentry.id }} as the Error ID code.

{% endif %}
- -{% endblock %} \ No newline at end of file + + \ No newline at end of file