diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-12-17 13:05:26 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-12-17 13:05:26 +0100 |
commit | 0312e25586d381cc53935c2fd4912378cd292d6e (patch) | |
tree | b04ad1a26edd4c67701d0d704c8ce8c554b2ae42 /src/web/templates/errors | |
parent | Updated link to Heroku deploy button on the About page. (diff) | |
parent | handling failing feed link (diff) | |
download | newspipe-0312e25586d381cc53935c2fd4912378cd292d6e.tar.gz newspipe-0312e25586d381cc53935c2fd4912378cd292d6e.tar.bz2 newspipe-0312e25586d381cc53935c2fd4912378cd292d6e.zip |
Merge pull request #24 from jaesivsm/master
moving the root of source code from / to /src/
Diffstat (limited to 'src/web/templates/errors')
-rw-r--r-- | src/web/templates/errors/404.html | 12 | ||||
-rw-r--r-- | src/web/templates/errors/500.html | 12 |
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 %} |