# - - - b u i l d E m p t y P a g e
def buildEmptyPage():
'''Set up an empty XHTML page.
[ return a new tp.TCCPage instance with generic content ]
'''
These navigational links are placed on the page:
The and links are dummies, placed there because that's the style.
The link points to the top of the author's CBC structure.
The link points to the top of the author's bird data pages.
The link points to the author's personal page.
#-- 1
# [ navList := a list of tp.NavLink instances defining the
# navigational links ]
navList = [
tp.NavLink("Next"),
tp.NavLink("Previous"),
tp.NavLink("Christmas Bird Count",
[('', 'http://www.nmt.edu/~shipman/z/cbc/')]),
tp.NavLink('Zoological Data Processing',
[('', 'http://www.nmt.edu/~shipman/z/')]),
tp.NavLink("Shipman's homepage",
[('', 'http://www.nmt.edu/~shipman/')]),
]
#-- 2
# [ page := a new tp.TCCPage with navigation list (navList)
# and stylesheet http://www.nmt.edu/~shipman/z/cbc/cbchist/cbchist.css ]
page = tp.TCCPage('Select a Christmas Bird Count regional index',
navList, cssUrl='http://www.nmt.edu/~shipman/z/cbc/cbchist/cbchist.css')
#-- 3
return page