Add AdminPage abstraction on top of util.Page
authorSimo Sorce <simo@redhat.com>
Tue, 7 Oct 2014 02:48:07 +0000 (22:48 -0400)
committerPatrick Uiterwijk <puiterwijk@redhat.com>
Tue, 7 Oct 2014 14:48:31 +0000 (16:48 +0200)
commit3d38500a756d26294956c53bdcc82313a8bbfc55
treefc66b738d180d888a738aff346e92be2c052f2c7
parent049e2dfb2edf97d32f66fa97ee04bc8ccad44df8
Add AdminPage abstraction on top of util.Page

This is to allow different default headers between Admin pages and
other pages.
In particular we set no-caching headers to all admin pages to force
browsers to refresh as often as possible.

Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
ipsilon/admin/common.py
ipsilon/admin/info.py
ipsilon/admin/login.py
ipsilon/admin/providers.py
ipsilon/providers/saml2/admin.py
ipsilon/providers/saml2idp.py