aboutsummaryrefslogtreecommitdiff
path: root/web/templates/errors
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-11-25 22:45:43 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-11-25 22:45:43 +0100
commitb2618e9404b84cc62d4becb02436233a0d53b375 (patch)
treea31f2dc76d23967fa0243374cf475923a4b7e451 /web/templates/errors
parentUpdated default platform URL (for Heroku...). (diff)
downloadnewspipe-b2618e9404b84cc62d4becb02436233a0d53b375.tar.gz
newspipe-b2618e9404b84cc62d4becb02436233a0d53b375.tar.bz2
newspipe-b2618e9404b84cc62d4becb02436233a0d53b375.zip
Rfactorization. Just a start...
Diffstat (limited to 'web/templates/errors')
-rw-r--r--web/templates/errors/404.html12
-rw-r--r--web/templates/errors/500.html12
2 files changed, 24 insertions, 0 deletions
diff --git a/web/templates/errors/404.html b/web/templates/errors/404.html
new file mode 100644
index 00000000..c64a2be8
--- /dev/null
+++ b/web/templates/errors/404.html
@@ -0,0 +1,12 @@
+{% extends "layout.html" %}
+{% block head %}
+{{ super() }}
+{% endblock %}
+{% block content %}
+<div class="container">
+ <div class="well">
+ <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/web/templates/errors/500.html b/web/templates/errors/500.html
new file mode 100644
index 00000000..417fc0c7
--- /dev/null
+++ b/web/templates/errors/500.html
@@ -0,0 +1,12 @@
+{% extends "layout.html" %}
+{% block head %}
+{{ super() }}
+{% endblock %}
+{% block content %}
+<div class="container">
+ <div class="well">
+ <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