- Timestamp:
- Dec 20, 2009, 9:45:47 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy-rebased/code/main.py
r2691 r2692 47 47 48 48 from view import View 49 50 class InvirtUnauthWeb(View): 51 @cherrypy.expose 52 @cherrypy.tools.mako(filename="/unauth.mako") 53 def index(self): 54 return {'simple': True} 49 55 50 56 class InvirtWeb(View): … … 655 661 return d 656 662 657 def unauthFront(_, _2, _3, fields): 658 """Information for unauth'd users.""" 659 return templates.unauth(searchList=[{'simple' : True, 660 'hostname' : socket.getfqdn()}]) 661 662 mapping = dict( 663 unauth=unauthFront) 663 mapping = dict() 664 664 665 665 def printHeaders(headers):
Note: See TracChangeset
for help on using the changeset viewer.