Subversion URL: http://proj.badc.rl.ac.uk/svn/exarch/CMIP6dreq/tags/01.00.07/dreqPy/htmlTemplates.py@984
Revision 411,
299 bytes
checked in by mjuckes, 7 years ago
(diff) |
renamed src to dreqPy to enable package creation
|
Line | |
---|
1 | |
---|
2 | pageWrapper = """<html><head> |
---|
3 | %(htmlHead)s |
---|
4 | </head> |
---|
5 | <body> |
---|
6 | %(htmlBody)s |
---|
7 | </body> |
---|
8 | </html> |
---|
9 | """ |
---|
10 | |
---|
11 | indexWrapper = """ |
---|
12 | <h1>%(title)s</h1> |
---|
13 | %(introduction)s |
---|
14 | <ul> |
---|
15 | %(items)s |
---|
16 | </ul> |
---|
17 | """ |
---|
18 | |
---|
19 | item = """ <li>%(item)s</li>""" |
---|
20 | |
---|
21 | attribute = ''' <li><span title="%(keyTitle)s"><b>%(key)s</b></span>: %(value)s</li>''' |
---|
Note: See
TracBrowser
for help on using the repository browser.