aboutsummaryrefslogtreecommitdiff
path: root/app/templates/errors
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2019-03-18 16:57:31 +0000
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2019-03-18 16:57:31 +0000
commita3184c5d142848b5147811ed246e39545e978805 (patch)
treec3b1d0e87dcbc2c8aad3ed531c81f9bc4117a992 /app/templates/errors
parentuse bootstrap (diff)
downloadAnnotateChange-a3184c5d142848b5147811ed246e39545e978805.tar.gz
AnnotateChange-a3184c5d142848b5147811ed246e39545e978805.zip
refactor
Diffstat (limited to 'app/templates/errors')
-rw-r--r--app/templates/errors/404.html6
-rw-r--r--app/templates/errors/500.html7
2 files changed, 13 insertions, 0 deletions
diff --git a/app/templates/errors/404.html b/app/templates/errors/404.html
new file mode 100644
index 0000000..80f5bd6
--- /dev/null
+++ b/app/templates/errors/404.html
@@ -0,0 +1,6 @@
+{% extends "base.html" %}
+
+{% block app_content %}
+ <h1>Page Not Found</h1>
+ <p><a href="{{ url_for('main.index') }}">Home</p>
+{% endblock %}
diff --git a/app/templates/errors/500.html b/app/templates/errors/500.html
new file mode 100644
index 0000000..5297e6a
--- /dev/null
+++ b/app/templates/errors/500.html
@@ -0,0 +1,7 @@
+{% extends "base.html" %}
+
+{% block app_content %}
+ <h1>An unexpected error has occurred</h1>
+ <p>The administrator has been notified, apologies for the inconvenience.</p>
+ <p><a href="{{ url_for('main.index') }}">Home</p>
+{% endblock %}