示例#1
0
 def __init__(self, app):
     super(TLSPlugin, self).__init__(app)
     add_config_page("tls", TLSConfigPage, top_level=True)
     app.route(TLSConfigPage.TOKEN_URL_PREFIX + "<token_code:re:[0-9a-f]+>",
               method="GET",
               callback=TLSConfigPage.get_token,
               name="get-token")
示例#2
0
 def __init__(self, app):
     super(MQTTPluginPlugin, self).__init__(app)
     add_config_page("BC_Dashboard", MQTTPluginPage, top_level=True)
示例#3
0
 def __init__(self, app):
     super(StoragePlugin, self).__init__(app)
     add_config_page(StoragePluginPage)
示例#4
0
 def __init__(self, app):
     super().__init__(app)
     add_config_page(DataCollectPluginPage)
示例#5
0
 def __init__(self, app):
     super(SsbackupsPlugin, self).__init__(app)
     add_config_page(SsbackupsPluginPage)
示例#6
0
 def __init__(self, app):
     super(TorPluginPlugin, self).__init__(app)
     add_config_page("tor_plugin", TorPluginPage, top_level=True)
示例#7
0
 def __init__(self, app):
     super(SamplePluginPlugin, self).__init__(app)
     add_config_page("ups_pfc8591", SamplePluginPage, top_level=True)
 def __init__(self, app):
     super(SubordinatesPlugin, self).__init__(app)
     add_config_page(SubordinatesJoinedPage)
示例#9
0
 def __init__(self, app):
     super(SamplePluginPlugin, self).__init__(app)
     add_config_page("ups_pfc8591", SamplePluginPage, top_level=True)
示例#10
0
 def __init__(self, app):
     super(NetmetrPlugin, self).__init__(app)
     add_config_page(NetmetrPluginPage)
 def __init__(self, app):
     super(OpenvpnPlugin, self).__init__(app)
     add_config_page(OpenvpnConfigPage)
示例#12
0
文件: __init__.py 项目: CZ-NIC/foris
 def __init__(self, app):
     super(SamplePlugin, self).__init__(app)
     add_config_page(SamplePluginPage)