aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-19 16:21:21 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-19 16:21:21 +0200
commitcfecca9b9a7dd7714e2aa6e6d6a483466fe5b51b (patch)
treee15346e70ed92cb43938ae808826bfbb9cd4df77 /pyaggr3g470r/templates
parentChanged a little bit the style of the title. (diff)
downloadnewspipe-cfecca9b9a7dd7714e2aa6e6d6a483466fe5b51b.tar.gz
newspipe-cfecca9b9a7dd7714e2aa6e6d6a483466fe5b51b.tar.bz2
newspipe-cfecca9b9a7dd7714e2aa6e6d6a483466fe5b51b.zip
Added custom error pages.
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r--pyaggr3g470r/templates/errors/404.html12
-rw-r--r--pyaggr3g470r/templates/errors/500.html12
2 files changed, 24 insertions, 0 deletions
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 %}
+<div class="container">
+ <div class="jumbotron">
+ <h1>Page Not Found</h1>
+ <p>What you were looking for is just not there, go to the <a href="{{ url_for('home') }}">home page</a>.</p>
+ </div>
+</div>
+{% 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 %}
+<div class="container">
+ <div class="jumbotron">
+ <h1>Internal Server Error</h1>
+ <p>Something bad just happened! Go to the <a href="{{ url_for('home') }}">home page</a>.</p>
+ </div>
+</div>
+{% endblock %}
bgstack15