Use cherrypy handlers to render error pages
[cascardo/ipsilon.git] / templates / internalerror.html
diff --git a/templates/internalerror.html b/templates/internalerror.html
new file mode 100644 (file)
index 0000000..9682c14
--- /dev/null
@@ -0,0 +1,15 @@
+{% extends "master.html" %}
+{% block main %}
+<div class="col-sm-12">
+  <h1>500 - Internal Server Error</h1>
+  {% if message: %}
+    <p>{{ message }}</p>
+  {% else %}
+    <p>Ipsilon encountered an unexpected internal error while trying to
+       fulfill your request.</p>
+  {% endif %}
+  <p>Please retry again.</p>
+  <p>If the error persists, contact the server administrator to resolve
+     the problem.</p>
+</div>
+{% endblock %}