示例#1
0
 def __init__(self):
     BaseView.__init__(self,
                       endpoint='/network',
                       title='Network Monitor',
                       menu={
                           'id': 'system.network',
                           'icon': 'exchange'
                       })
示例#2
0
 def __init__(self):
     BaseView.__init__(self,
                       endpoint='/cron',
                       title='Cron Jobs',
                       menu={
                           'id': 'system.cron',
                           'icon': 'cogs'
                       })
示例#3
0
 def __init__(self):
     BaseView.__init__(self,
                       endpoint='/disk',
                       title='Disk Manager',
                       menu={
                           'id': 'system.disk',
                           'icon': 'circle-o'
                       })
示例#4
0
 def __init__(self):
     BaseView.__init__(self,
                       endpoint='/users',
                       title='Users',
                       menu={
                           'id': 'system.users',
                           'icon': 'users'
                       })
示例#5
0
 def __init__(self):
     BaseView.__init__(self,
                       endpoint='/processes',
                       title='Processes',
                       menu={
                           'id': 'system.processes',
                           'icon': 'cog'
                       })
示例#6
0
 def __init__(self):
     BaseView.__init__(self,
                       endpoint='/hosts',
                       title='Hosts',
                       menu={
                           'id': 'system.hosts',
                           'icon': 'cubes'
                       })
示例#7
0
 def __init__(self):
     BaseView.__init__(self,
                       endpoint='/overview',
                       title='Overview',
                       menu={
                           'id': 'firewall.overview',
                           'icon': 'circle',
                           'parent': {
                               'id': 'firewall',
                               'text': 'Firewall',
                               'icon': 'fire'
                           }
                       })
示例#8
0
 def __init__(self):
     BaseView.__init__(self,
                       endpoint='/general',
                       title='General Information',
                       menu={
                           'id': 'system.overview',
                           'icon': 'circle',
                           'order': 0,
                           'parent': {
                               'id': 'system',
                               'text': 'System',
                               'icon': 'television'
                           }
                       })
示例#9
0
文件: views.py 项目: mmspide/Prism
 def __init__(self):
     BaseView.__init__(self,
                       endpoint='/general',
                       title='Overview',
                       menu={
                           'id': 'sso.overview',
                           'icon': 'Overview',
                           'order': 0,
                           'parent': {
                               'id': 'sso',
                               'text': 'SAML',
                               'icon': 'bullhorn'
                           }
                       })
示例#10
0
 def __init__(self):
     BaseView.__init__(self,
                       endpoint='/create',
                       title='New Site',
                       menu={
                           'id': 'jack.create',
                           'icon': 'plus',
                           'order': 0,
                           'parent': {
                               'id': 'jack',
                               'text': 'Jack',
                               'icon': 'plug'
                           }
                       })
示例#11
0
文件: views.py 项目: mmspide/Prism
 def __init__(self):
     BaseView.__init__(self, endpoint='/users/list', title='User Management',
                             menu={'id': 'dashboard.users', 'icon': 'users', 'order': 1})
示例#12
0
 def __init__(self):
     BaseView.__init__(self, endpoint='/process', title='View Process')
示例#13
0
 def __init__(self):
     BaseView.__init__(self, endpoint='/restart', title='Restarting')
示例#14
0
文件: views.py 项目: mmspide/Prism
 def __init__(self):
     BaseView.__init__(self, endpoint='/updates', title='View Update')
示例#15
0
文件: views.py 项目: mmspide/Prism
 def __init__(self):
     BaseView.__init__(self, endpoint='/plugins/install', title='Install Plugins',
                             menu={'id': 'dashboard.plugins.install', 'icon': 'cube', 'order': 1})
示例#16
0
文件: views.py 项目: mmspide/Prism
 def __init__(self):
     BaseView.__init__(self, endpoint='/home', title='Home',
                             menu={'id': 'dashboard.home', 'icon': 'home', 'order': 0,
                                     'parent': {'id': 'dashboard', 'text': 'Dashboard', 'icon': 'dashboard', 'order': 0}})
示例#17
0
 def __init__(self):
     BaseView.__init__(self, endpoint='/view', title='View Site')
示例#18
0
文件: views.py 项目: mmspide/Prism
 def __init__(self):
     BaseView.__init__(self, endpoint='/users/edit', title='User Editor')
示例#19
0
文件: views.py 项目: mmspide/Prism
 def __init__(self):
     BaseView.__init__(self, endpoint='/users/me', title='Me')
示例#20
0
 def __init__(self):
     BaseView.__init__(self, endpoint='/error', title='Fatal Error')
示例#21
0
文件: views.py 项目: mmspide/Prism
 def __init__(self):
     BaseView.__init__(self, endpoint='/plugins/list', title='Installed Plugins',
                             menu={'id': 'dashboard.plugins.list', 'icon': 'square', 'order': 0,
                                     'parent': {'id': 'dashboard.plugins', 'text': 'Plugins', 'icon': 'cubes', 'order': 2}})
示例#22
0
    def __init__(self):
        BaseView.__init__(self, endpoint='/terminal', title='Terminal')

        self.terminals = {}
示例#23
0
文件: views.py 项目: alenz33/Prism
 def __init__(self):
     BaseView.__init__(self, endpoint='/home', title='Dashboard',
                             menu={'id': 'dashboard', 'icon': 'home', 'order': 0})