These constants make it easier to generate some of
the common HTML constructs. TABLE_ATTRS
codifies some universal attributes of the table element.
TABLE_ATTRS = { 'cellpadding': '3', 'cellspacing': '3',
'border': '3' }
The next two are for specifying alignment in table cells.
L_ALIGN = { 'align': 'left' }
R_ALIGN = { 'align': 'right' }
LEAF_NAV_LINKS is a list of tccpage2.NavLink instances used to specify the
navigational features on all the pages below the index
page. See Section 2.3, “Navigational considerations”.
LEAF_NAV_LINKS = [
tccpage2.NavLink ( "Next", [] ),
tccpage2.NavLink ( "Previous", [] ),
tccpage2.NavLink ( "TCC Web server statistics",
[ ("TCC Web server statistics", INDEX_WEB_PATH.url) ] ),
tccpage2.NavLink ( "Tech Computer Center",
[ ("Tech Computer Center", TCC_WEB_PATH.url) ] ) ]