Main Page
Namespaces
Classes
Files
File List
src
webui
mod
webui
cgibin
powerboard.py
Go to the documentation of this file.
1
#! /usr/bin/env python
2
3
"""
4
usage: %(progname)s [args]
5
"""
6
7
import
nstart
8
9
import
os, sys, string, time, getopt, re
10
from
pyclearsilver.log
import
*
11
12
import
neo_cgi, neo_util, neo_cs
13
14
from
pyclearsilver
import
CSPage
15
from
pyclearsilver
import
odb
16
17
import
MBPage
18
import
db_webui
19
20
import
roslib
21
import
roslib.scriptutil
22
23
import
webutil
24
25
26
class
MyPage
(
MBPage.MBPage
):
27
def
setup
(self, hdf):
28
self.
db
= db_webui.initSchema()
29
30
def
display
(self, hdf):
31
webutil.set_tabs(hdf, [
"status"
,
"powerboard"
])
32
33
def
run
(context):
34
return
MyPage
(context, pagename=
"powerboard"
, nologin=
False
)
35
36
def
main
():
37
context = CSPage.Context()
38
run
(context).
start
()
39
40
if
__name__ ==
"__main__"
:
41
main
()
webui.mod.webui.cgibin.powerboard.MyPage.display
def display(self, hdf)
Definition:
powerboard.py:30
webui.startcgi.start
start
Definition:
startcgi.py:4
pyclearsilver::log
webui.MBPage.MBPage.db
db
Definition:
MBPage.py:32
webui.mod.webui.cgibin.powerboard.run
def run(context)
Definition:
powerboard.py:33
webui.MBPage.MBPage
Definition:
MBPage.py:18
webui.mod.webui.cgibin.powerboard.MyPage.setup
def setup(self, hdf)
Definition:
powerboard.py:27
webui.mod.webui.cgibin.powerboard.MyPage
Definition:
powerboard.py:26
webui.mod.webui.cgibin.powerboard.main
def main()
Definition:
powerboard.py:36
webui
Author(s): Scott Hassan
autogenerated on Mon Jun 10 2019 15:51:24