Changeset 183 for trunk/web/templates
- Timestamp:
- Oct 10, 2007, 9:52:30 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/templates/skeleton.py
r182 r183 32 32 VFN=valueForName 33 33 currentTime=time.time 34 __CHEETAH_version__ = '2.0rc 8'35 __CHEETAH_versionTuple__ = (2, 0, 0, 'candidate', 8)36 __CHEETAH_genTime__ = 119202 1085.118545137 __CHEETAH_genTimestamp__ = 'Wed Oct 10 0 8:58:052007'34 __CHEETAH_version__ = '2.0rc7' 35 __CHEETAH_versionTuple__ = (2, 0, 0, 'candidate', 7) 36 __CHEETAH_genTime__ = 1192024329.3744731 37 __CHEETAH_genTimestamp__ = 'Wed Oct 10 09:52:09 2007' 38 38 __CHEETAH_src__ = 'skeleton.tmpl' 39 __CHEETAH_srcLastModified__ = 'Wed Oct 10 0 8:56:402007'39 __CHEETAH_srcLastModified__ = 'Wed Oct 10 09:51:29 2007' 40 40 __CHEETAH_docstring__ = 'Autogenerated by CHEETAH: The Python-Powered Template Engine' 41 41 … … 84 84 ## START - generated method body 85 85 86 write('''<html> 87 <head><title>''') 86 write('<html>\n<head><title>') 88 87 _v = VFFSL(SL,"title",True) # '$title' on line 2, col 14 89 88 if _v is not None: write(_filter(_v, rawExpr='$title')) # from line 2, col 14. 90 89 write('''</title> 91 90 <link href="/static/favicon.ico" type="image/x-icon" rel="shortcut icon"> 92 <link rel="stylesheet" href="/s vn/style.css" type="text/css" />93 <link rel="stylesheet" href="/s vn/layout.css" type="text/css" media="screen" />91 <link rel="stylesheet" href="/static/style.css" type="text/css" /> 92 <link rel="stylesheet" href="/static/layout.css" type="text/css" media="screen" /> 94 93 <script type="text/javascript"> 95 94 var helpWin = null; 96 95 function closeWin(){ 97 \tif (helpWin != null){98 \t\tif(!helpWin.closed)99 \t\t\thelpWin.close();100 \t}96 if (helpWin != null){ 97 if(!helpWin.closed) 98 helpWin.close(); 99 } 101 100 } 102 101 … … 113 112 ''') 114 113 if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 25, col 1 115 write(' ''<p>[You are logged in as ''')114 write('<p>[You are logged in as ') 116 115 _v = VFFSL(SL,"user.username",True) # '$user.username' on line 26, col 26 117 116 if _v is not None: write(_filter(_v, rawExpr='$user.username')) # from line 26, col 26. 118 write('''.]</p> 119 ''') 117 write('.]</p>\n') 120 118 _v = VFFSL(SL,"body",True) # '$body' on line 28, col 1 121 119 if _v is not None: write(_filter(_v, rawExpr='$body')) # from line 28, col 1. 122 write(''' 123 ''') 120 write('\n') 124 121 if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 29, col 1 125 write('''<hr /> 126 Questions? Contact <a href="mailto:sipb-xen-dev@mit.edu">sipb-xen-dev@mit.edu</a>. 127 ''') 128 write('''</body> 129 </html> 130 ''') 122 write('<hr />\nQuestions? Contact <a href="mailto:sipb-xen-dev@mit.edu">sipb-xen-dev@mit.edu</a>.\n') 123 write('</body>\n</html>\n') 131 124 132 125 ########################################
Note: See TracChangeset
for help on using the changeset viewer.