[extensions-web] Add 404 and 500 views.
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] Add 404 and 500 views.
- Date: Thu, 27 Oct 2011 22:28:07 +0000 (UTC)
commit fd23c615aa488dfeb919b913a8ee9dd8a3383498
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Oct 27 18:27:48 2011 -0400
Add 404 and 500 views.
sweettooth/templates/404.html | 6 ++++++
sweettooth/templates/500.html | 6 ++++++
2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/sweettooth/templates/404.html b/sweettooth/templates/404.html
new file mode 100644
index 0000000..c1f5ab2
--- /dev/null
+++ b/sweettooth/templates/404.html
@@ -0,0 +1,6 @@
+{% extends "base.html" %}
+{% block title %}Uh oh... - {{ block.super }}{% endblock %}
+{% block body %}
+<h3>404 - Page not Found</h3>
+<p>We couldn't find the page you were looking for, <code>{{ request_path }}</code></p>
+{% endblock %}
diff --git a/sweettooth/templates/500.html b/sweettooth/templates/500.html
new file mode 100644
index 0000000..6f39eb5
--- /dev/null
+++ b/sweettooth/templates/500.html
@@ -0,0 +1,6 @@
+{% extends "base.html" %}
+{% block title %}Uh oh... - {{ block.super }}{% endblock %}
+{% block body %}
+<h3>500 - Internal Server Error</h3>
+<p>The server had an error when you wanted to access this page. This site is alpha, so it may happen sometimes. Please <a href="https://bugzilla.gnome.org/enter_bug.cgi?product=website&component=extensions.gnome.org">let us know what you did</a> so we canb fix it!</p>
+{% endblock %}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]