Panda3D
Functions | Variables
direct.http.LandingPageHTML Namespace Reference

Functions

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

Variables

string contactInfo = "M. Ian Graham - ian.graham@dig.com"
 
string defaultDesc = description
 
string 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

◆ addBodyHeaderAndContent()

def direct.http.LandingPageHTML.addBodyHeaderAndContent (   bodyTag,
  titleString,
  menuTags 
)

◆ getQuickStatsTable()

def direct.http.LandingPageHTML.getQuickStatsTable (   quickStats)

◆ getRowClassString()

def direct.http.LandingPageHTML.getRowClassString (   rowNum)

◆ getTabs()

def direct.http.LandingPageHTML.getTabs (   menu,
  activeTab 
)

◆ getTabTags()

def direct.http.LandingPageHTML.getTabTags (   menu,
  activeTab 
)

◆ getURITable()

def direct.http.LandingPageHTML.getURITable (   title,
  uriList,
  uriToHandler 
)

Variable Documentation

◆ contactInfo

string contactInfo = "M. Ian Graham - ian.graham@dig.com"

◆ defaultDesc

string defaultDesc = description

◆ defaultTitle

string defaultTitle = title

◆ description

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)."

◆ footer

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'''

◆ header

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 '''

◆ mainPageBody

string mainPageBody
Initial value:
1 = '''
2 <P>%(description)s</P>
3 
4 <P>%(quickstats)s</P>
5 '''

◆ stylesheet

string stylesheet

◆ title

string title = "Landing Page"