Main Page
Namespaces
Classes
Files
File List
src
webui
mod
webui
cgibin
webui_index.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
import
webutil
20
21
22
class
MyPage
(
MBPage.MBPage
):
23
def
setup
(self, hdf):
24
self.
db
= db_webui.initSchema()
25
26
def
display
(self, hdf):
27
webutil.grabTopics(hdf, [])
28
pass
29
30
31
def
run
(context):
32
return
MyPage
(context, pagename=
"index"
, nologin=
False
)
33
34
def
main
():
35
context = CSPage.Context()
36
run
(context).
start
()
37
38
if
__name__ ==
"__main__"
:
39
main
()
webui.mod.webui.cgibin.webui_index.MyPage.setup
def setup(self, hdf)
Definition:
webui_index.py:23
webui.mod.webui.cgibin.webui_index.main
def main()
Definition:
webui_index.py:34
webui.startcgi.start
start
Definition:
startcgi.py:4
pyclearsilver::log
webui.MBPage.MBPage.db
db
Definition:
MBPage.py:32
webui.MBPage.MBPage
Definition:
MBPage.py:18
webui.mod.webui.cgibin.webui_index.run
def run(context)
Definition:
webui_index.py:31
webui.mod.webui.cgibin.webui_index.MyPage.display
def display(self, hdf)
Definition:
webui_index.py:26
webui.mod.webui.cgibin.webui_index.MyPage
Definition:
webui_index.py:22
webui
Author(s): Scott Hassan
autogenerated on Mon Jun 10 2019 15:51:24