Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(47)  |  Call(45)  |  Derive(0)  |  Import(2)

src/s/t/statmon-HEAD/statmon/controllers.py   statmon(Download)
 
from core.baseControllers import registerController,ReturnLog
 
MASTER_ACCESS = 1 # master navigation
USER_ACCESS = 2 # user navigation
# Statmon Overview
#registerController(None, './', navTitle='General',grandparent=True)
registerController(coreControllers.OverviewController,		'./',grandparent=True,			accessLevel=MASTER_ACCESS)
registerController(userControllers.NodeListController,'./',grandparent=True,navTitle='Overview',accessLevel=USER_ACCESS)
registerController(userControllers.NodeListController,		'nodes',						accessLevel=USER_ACCESS)
registerController(userControllers.GraphsController,		'graphs',						accessLevel=USER_ACCESS)

src/s/t/statmon-HEAD/statmon/statmonControllers.py   statmon(Download)
 
from core.environment import logger,getTempPath
from core.utils import getCurrentUser,getCurrentGroup,StringToBool
from core.standardControllers import StandardController,currentPath
from core.baseControllers import BaseController,BlankController,SpecialController,AlertController,registerController
 
#registerController(ReturnImage, 'image', navItem=False)
registerController(ReturnGraph, 'graph', navItem=False)