From 3574998f5f7c41e946610730638fd7e3fecb5835 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 24 Feb 2014 18:34:17 -0500 Subject: Use cherrypy handlers to render error pages Replaces custom code to render 401 Unauthorized page as well as adds 400 and 500 handlers Signed-off-by: Simo Sorce --- templates/internalerror.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 templates/internalerror.html (limited to 'templates/internalerror.html') diff --git a/templates/internalerror.html b/templates/internalerror.html new file mode 100644 index 0000000..9682c14 --- /dev/null +++ b/templates/internalerror.html @@ -0,0 +1,15 @@ +{% extends "master.html" %} +{% block main %} +
+

500 - Internal Server Error

+ {% if message: %} +

{{ message }}

+ {% else %} +

Ipsilon encountered an unexpected internal error while trying to + fulfill your request.

+ {% endif %} +

Please retry again.

+

If the error persists, contact the server administrator to resolve + the problem.

+
+{% endblock %} -- cgit