1
2
3
4
5
6
7
8
9
10
11
12
13
14 from zephir.config import charset
15
16 PAGE_WIDGET = """<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
17 <html>
18 <head>
19 <title>%(title)s</title>
20 <meta http-equiv="Content-Type" content="text/html; charset=%s"/>
21 <link rel="stylesheet" type="text/css" href="style.css">
22 <style type="text/css">
23 @import "print.css" print;
24 </style>
25 </head>
26 <body>
27
28 <div class="main">
29
30 <div style="clear:both;"></div>
31
32 <div class="funbanner">
33 %(date)s
34 </div>
35
36 <div class="leftcol">
37 %(NAVIGATION_WIDGET)s
38 </div>
39 <div class="centraldiv">
40 %(CENTRAL_WIDGET)s
41 </div>
42 <div style="clear:both; padding:6px"></div>
43 <br>
44 </div>
45 </body>
46 </html>
47 """ % charset
48