From c2dfc1bb34e8153bc7372ce6056c6883616ece9b Mon Sep 17 00:00:00 2001 From: Joseph Date: Wed, 28 Feb 2018 23:33:35 +0000 Subject: Add error messages (#30) * Add error messages Signed-off-by: JoeBanks13 * Remove un-used keyword arg from 404 * Assert for status code instead of full content * PEP8 * test lint * please coverage * oh * Exclude websockets.py from coverage * Move code output into terminal * Switch typewriter href protocol * Add tests for websockets.py * Abort previous commit, coveralls did not let coverage go down * Add more pauses and request => response * move css and js out, add typewriter JS to our own repo & add method for appending text in bulk. * Enable REPL on 4XX and change error descriptions * commas * /error path --- templates/errors/error.html | 59 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 templates/errors/error.html (limited to 'templates/errors') diff --git a/templates/errors/error.html b/templates/errors/error.html new file mode 100644 index 00000000..8aa5ff16 --- /dev/null +++ b/templates/errors/error.html @@ -0,0 +1,59 @@ +{% extends 'main/base.html' %} +{% block title %} {{ code }} - Internal server error {% endblock %} +{% block beta_error %}{% endblock %} +{% block content %} + +
+
+
{{ error_title }}
+
+
+ + +
+
+
+
+ + + +
+ + + + +
+ +
+
+
+
+
+ +
+
+ + + + + + +{% endblock %} \ No newline at end of file -- cgit v1.2.3