Ignore:
Timestamp:
Sep 28, 2009, 3:04:32 AM (14 years ago)
Author:
quentin
Message:

Unauthenticated front page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • package_branches/invirt-web/cherrypy/code/main.py

    r2483 r2484  
    5353from view import View
    5454import ajaxterm
     55
     56class InvirtUnauthWeb(View):
     57    @cherrypy.expose
     58    @cherrypy.tools.mako(filename="/unauth.mako")
     59    def index(self):
     60        return {'simple': True}
    5561
    5662class InvirtWeb(View):
     
    710716    return d
    711717
    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)
     718mapping = dict()
    719719
    720720def printHeaders(headers):
Note: See TracChangeset for help on using the changeset viewer.