示例#1
0
 def __init__(self, component):
     UISection.__init__(self, component, "Settings", "settingsButtonIcon")
     self.putChild("Controller", ControllerRes(self.component))
     dirRes = DirectoriesRes(self.component)
     self.putChild("Directories", dirRes)
     dirRes.putChild("DirectoryInfo", DirectoryInfoRes(self.component))
     self.putChild("CaptivePortal", CaptivePortalRes(self.component))
     self.putChild("DHCP", DhcpRes(self.component))
     self.putChild("Logs", LogRes(self.component))
示例#2
0
 def __init__(self, component):
     UISection.__init__(self, component, "Settings", "settingsButtonIcon")
     self.putChild("Controller", ControllerRes(self.component))
     dirRes = DirectoriesRes(self.component)
     self.putChild("Directories", dirRes)
     dirRes.putChild("DirectoryInfo", DirectoryInfoRes(self.component))
     self.putChild("CaptivePortal", CaptivePortalRes(self.component))
     self.putChild("DHCP", DhcpRes(self.component))
     self.putChild("Logs", LogRes(self.component))
示例#3
0
 def __init__(self, component):
     UISection.__init__(self, component, "WebServiceTest")
示例#4
0
 def __init__(self, component):
     UISection.__init__(self, component, "Reports", "reportsButtonIcon")
示例#5
0
 def __init__(self, component, persistent):
     if persistent:
         self.dbname = "cdb"
     else:
         self.dbname = "ndb"
     UISection.__init__(self, component, self.dbname.upper() + "Explorer")
示例#6
0
 def __init__(self, component, persistent):
     if persistent:
         self.dbname = "cdb"
     else:
         self.dbname = "ndb"
     UISection.__init__(self, component, self.dbname.upper()+"Explorer")
示例#7
0
 def __init__(self, component):
     UISection.__init__(self, component, "Reports", "reportsButtonIcon")
示例#8
0
 def __init__(self, component):
     UISection.__init__(self, component, "PolicyDebug")
     self.policy = component.resolve(str(sepl.policy.PyPolicyComponent))
     self.dpsrc = self.inport = self.dlsrc = self.dldst = self.nwsrc = self.nwdst = ''
     self.args = ['nwdst', 'dldst', 'nwsrc', 'dlsrc', 'inport', 'dpsrc']
示例#9
0
 def __init__(self, component):
     UISection.__init__(self, component, "Policy", "policyButtonIcon")
     self.putChild("QuickSetup", QuickSetupRes(self.component))
     self.putChild("Rules", RulesRes(self.component))
     self.putChild("HostAuthRules", HostAuthRes(self.component))
     self.putChild("UserAuthRules", UserAuthRes(self.component))
示例#10
0
文件: helpui.py 项目: bigswitch/snac
 def __init__(self, component):
     UISection.__init__(self, component, "Help", "helpButtonIcon")
示例#11
0
 def __init__(self, component):
     UISection.__init__(self, component, "ResTrackerDebug")
     self.rt = component.resolve(str(pyrestracker))