Use cherrypy handlers to render error pages
authorSimo Sorce <simo@redhat.com>
Mon, 24 Feb 2014 23:34:17 +0000 (18:34 -0500)
committerSimo Sorce <simo@redhat.com>
Tue, 25 Feb 2014 01:30:06 +0000 (20:30 -0500)
commit3574998f5f7c41e946610730638fd7e3fecb5835
treeaf0fc74cd1ed071b66006f44ec5817b17e87ba09
parentf7070919e1350f784f639fd2054eab80384abeea
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 <simo@redhat.com>
ipsilon/login/common.py
ipsilon/root.py
ipsilon/unauthorized.py [deleted file]
ipsilon/util/errors.py [new file with mode: 0755]
templates/badrequest.html [new file with mode: 0644]
templates/internalerror.html [new file with mode: 0644]
templates/unauthorized.html