aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates/errors
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2015-12-12 21:14:28 +0100
committerFrançois Schmidts <francois.schmidts@gmail.com>2015-12-17 09:42:56 +0100
commitb35e9773198ef2d8b37c4ca223f08147db47de0b (patch)
treeba4b1b171b3c1ab9414a96ad264c47b0f9d1246b /src/web/templates/errors
parentUpdated link to Heroku deploy button on the About page. (diff)
downloadnewspipe-b35e9773198ef2d8b37c4ca223f08147db47de0b.tar.gz
newspipe-b35e9773198ef2d8b37c4ca223f08147db47de0b.tar.bz2
newspipe-b35e9773198ef2d8b37c4ca223f08147db47de0b.zip
moving the root of source code from / to /src/
Diffstat (limited to 'src/web/templates/errors')
-rw-r--r--src/web/templates/errors/404.html12
-rw-r--r--src/web/templates/errors/500.html12
2 files changed, 24 insertions, 0 deletions
diff --git a/src/web/templates/errors/404.html b/src/web/templates/errors/404.html
new file mode 100644
index 00000000..c64a2be8
--- /dev/null
+++ b/src/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/src/web/templates/errors/500.html b/src/web/templates/errors/500.html
new file mode 100644
index 00000000..417fc0c7
--- /dev/null
+++ b/src/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