mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Makefile generates cherrpy.config
This commit is contained in:
1 parent
443b2649bf
commit
18b9df74f9
7 files changed
+29
-22
No files matched your search
@@ -4,6 +4,7 @@ from gettext import gettext as _
|
||||
from plugin_mount import PagePlugin
|
||||
import cfg
|
||||
class Help(PagePlugin):
|
||||
order = 20 # order of running init in PagePlugins
|
||||
def __init__(self, *args, **kwargs):
|
||||
PagePlugin.__init__(self, *args, **kwargs)
|
||||
self.register_page("help")
|
||||
|
||||
@@ -4,6 +4,7 @@ from plugin_mount import PagePlugin
|
||||
import cfg
|
||||
|
||||
class Services(PagePlugin):
|
||||
order = 9 # order of running init in PagePlugins
|
||||
def __init__(self, *args, **kwargs):
|
||||
PagePlugin.__init__(self, *args, **kwargs)
|
||||
self.register_page("services")
|
||||
|
||||
@@ -5,6 +5,8 @@ from plugin_mount import PagePlugin
|
||||
import cfg
|
||||
|
||||
class Sharing(PagePlugin):
|
||||
order = 9 # order of running init in PagePlugins
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
PagePlugin.__init__(self, *args, **kwargs)
|
||||
self.register_page("sharing")
|
||||
|
||||
@@ -16,7 +16,6 @@ sys_dir = "modules/installed/sys"
|
||||
class Sys(PagePlugin):
|
||||
order = 10
|
||||
def __init__(self, *args, **kwargs):
|
||||
cfg.log("!!!!!!!!!!!!!!!!!!!!")
|
||||
PagePlugin.__init__(self, *args, **kwargs)
|
||||
self.register_page("sys")
|
||||
self.menu = cfg.main_menu.add_item(_("%s System" % cfg.product_name), "/sys", 100)
|
||||
|
||||
@@ -7,6 +7,7 @@ from forms import Form
|
||||
from util import *
|
||||
|
||||
class users(PagePlugin):
|
||||
order = 20 # order of running init in PagePlugins
|
||||
def __init__(self, *args, **kwargs):
|
||||
PagePlugin.__init__(self, *args, **kwargs)
|
||||
self.register_page("sys.users")
|
||||
|
||||
Reference in new issue
Block a user