Changeset 2484 for package_branches/invirt-web/cherrypy/code/main.py
- Timestamp:
- Sep 28, 2009, 3:04:32 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy/code/main.py
r2483 r2484 53 53 from view import View 54 54 import ajaxterm 55 56 class InvirtUnauthWeb(View): 57 @cherrypy.expose 58 @cherrypy.tools.mako(filename="/unauth.mako") 59 def index(self): 60 return {'simple': True} 55 61 56 62 class InvirtWeb(View): … … 710 716 return d 711 717 712 def unauthFront(_, _2, _3, fields): 713 """Information for unauth'd users.""" 714 return templates.unauth(searchList=[{'simple' : True, 715 'hostname' : socket.getfqdn()}]) 716 717 mapping = dict( 718 unauth=unauthFront) 718 mapping = dict() 719 719 720 720 def printHeaders(headers):
Note: See TracChangeset
for help on using the changeset viewer.