Пример #1
0
def init():
    """Initailze firewall module"""
    menu = main_menu.get('system')
    menu.add_urlname(name, 'glyphicon-fire', 'firewall:index')

    service_enabled.connect(on_service_enabled)
Пример #2
0
def init():
    """Initailze firewall module"""
    menu = cfg.main_menu.get('system:index')
    menu.add_urlname(_('Firewall'), 'glyphicon-fire', 'firewall:index', 50)

    service_enabled.connect(on_service_enabled)
Пример #3
0
def init():
    """Initailze firewall module"""
    menu = cfg.main_menu.get('system:index')
    menu.add_urlname(_('Firewall'), 'glyphicon-fire', 'firewall:index', 50)

    service_enabled.connect(on_service_enabled)
Пример #4
0
def init():
    """Initailze firewall module"""
    menu = main_menu.get('system')
    menu.add_urlname(name, 'glyphicon-fire', 'firewall:index')

    service_enabled.connect(on_service_enabled)