summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_web/templates')
-rw-r--r--python/fatcat_web/templates/403.html15
-rw-r--r--python/fatcat_web/templates/404.html5
-rw-r--r--python/fatcat_web/templates/409.html13
-rw-r--r--python/fatcat_web/templates/500.html13
-rw-r--r--python/fatcat_web/templates/503.html12
5 files changed, 57 insertions, 1 deletions
diff --git a/python/fatcat_web/templates/403.html b/python/fatcat_web/templates/403.html
new file mode 100644
index 00000000..14c31bb2
--- /dev/null
+++ b/python/fatcat_web/templates/403.html
@@ -0,0 +1,15 @@
+{% extends "base.html" %}
+{% block body %}
+
+<center>
+<div style="font-size: 8em;">403</div>
+<div style="font-size: 3em;">Not Authorized</div>
+
+<p>You might need to log in, or your account may not (yet!) have privileges to
+complete the attempted action.
+
+<p>This could also just mean that you need to log out and log back in. Sorry
+about that!
+</center>
+
+{% endblock %}
diff --git a/python/fatcat_web/templates/404.html b/python/fatcat_web/templates/404.html
index c8fbfeac..653b8eed 100644
--- a/python/fatcat_web/templates/404.html
+++ b/python/fatcat_web/templates/404.html
@@ -1,6 +1,9 @@
{% extends "base.html" %}
{% block body %}
-<h1>404: Not Found</h1>
+<center>
+<div style="font-size: 8em;">404</div>
+<div style="font-size: 3em;">Not Found</div>
+</center>
{% endblock %}
diff --git a/python/fatcat_web/templates/409.html b/python/fatcat_web/templates/409.html
new file mode 100644
index 00000000..4f56e03e
--- /dev/null
+++ b/python/fatcat_web/templates/409.html
@@ -0,0 +1,13 @@
+{% extends "base.html" %}
+{% block body %}
+
+<center>
+<div style="font-size: 8em;">409</div>
+<div style="font-size: 3em;">Edit Conflict</div>
+
+<p>Oops! Somebody else tried to edit the same resource at the same time, and
+there was a conflict. You will need to resolve this manually (eg, create a new
+edit from scratch).
+</center>
+
+{% endblock %}
diff --git a/python/fatcat_web/templates/500.html b/python/fatcat_web/templates/500.html
new file mode 100644
index 00000000..a99232cb
--- /dev/null
+++ b/python/fatcat_web/templates/500.html
@@ -0,0 +1,13 @@
+{% extends "base.html" %}
+{% block body %}
+
+<center>
+<div style="font-size: 8em;">500</div>
+<div style="font-size: 3em;">Internal Error</div>
+
+<p>Hrm, something unexpected went wrong. You may have found a bug! This request
+should be logged and reported automatically; you could re-try or contact us for
+more info.
+</center>
+
+{% endblock %}
diff --git a/python/fatcat_web/templates/503.html b/python/fatcat_web/templates/503.html
new file mode 100644
index 00000000..f21afacc
--- /dev/null
+++ b/python/fatcat_web/templates/503.html
@@ -0,0 +1,12 @@
+{% extends "base.html" %}
+{% block body %}
+
+<center>
+<div style="font-size: 8em;">503</div>
+<div style="font-size: 3em;">Server Error</div>
+
+<p>Hrm, something unexpected went wrong with a back-end service. Check the
+status link below, and try again later. Apologies!
+</center>
+
+{% endblock %}