Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
Functions | Variables
direct.http.LandingPageHTML Namespace Reference

Functions

def addBodyHeaderAndContent
 
def getQuickStatsTable
 
def getRowClassString
 
def getTabs
 
def getTabTags
 
def getURITable
 

Variables

string contactInfo = "M. Ian Graham - ian.graham@dig.com"
 
 defaultDesc = description
 
 defaultTitle = title
 
string description = "To set this description, call WebRequestDispatcher.setDescription!<BR><BR>You can also add stats to the table below by calling WebRequestDispatcher.addQuickStat(Name,Value,PositionInTable)."
 
string footer
 
string header
 
string mainPageBody
 
string stylesheet
 
string title = "Landing Page"
 

Function Documentation

def direct.http.LandingPageHTML.addBodyHeaderAndContent (   bodyTag,
  titleString,
  menuTags 
)
def direct.http.LandingPageHTML.getQuickStatsTable (   quickStats)
def direct.http.LandingPageHTML.getRowClassString (   rowNum)
def direct.http.LandingPageHTML.getTabs (   menu,
  activeTab 
)
def direct.http.LandingPageHTML.getTabTags (   menu,
  activeTab 
)
def direct.http.LandingPageHTML.getURITable (   title,
  uriList,
  uriToHandler 
)

Variable Documentation

string contactInfo = "M. Ian Graham - ian.graham@dig.com"
defaultDesc = description
defaultTitle = title
string description = "To set this description, call WebRequestDispatcher.setDescription!<BR><BR>You can also add stats to the table below by calling WebRequestDispatcher.addQuickStat(Name,Value,PositionInTable)."
string footer
Initial value:
1 = '''
2 </center>
3 </div>
4 
5 <!-- FOOTER -->
6 
7 <div id="footer">
8 Contact: %(contact)s
9 </div>
10 </body>
11 </html>
12 \r\n'''
string header
Initial value:
1 = '''
2 <?xml version="1.0" encoding="UTF-8"?>
3 <html>
4 %(headTag)s
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <title>%(titlestring)s</title>
7 <link rel="stylesheet" type="text/css" href="/default.css">
8 </head>
9 
10 %(bodyTag)s
11 '''
string mainPageBody
Initial value:
1 = '''
2 <P>%(description)s</P>
3 
4 <P>%(quickstats)s</P>
5 '''
string stylesheet
string title = "Landing Page"