From: Eric Price <ecprice@mit.edu> Date: Wed, 10 Oct 2007 13:52:30 +0000 (-0400) Subject: Not clear that skeleton.py should be in the repository, though. X-Git-Tag: sipb-xen-www/1~59 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/47dd657b4730e6f0278dd315752adf7ceb3b377f?ds=inline;hp=08d9836a894fad232049e2adc59c131bc6dc1aaf Not clear that skeleton.py should be in the repository, though. svn path=/trunk/web/; revision=183 --- diff --git a/templates/skeleton.py b/templates/skeleton.py index 0519c68..92639f5 100644 --- a/templates/skeleton.py +++ b/templates/skeleton.py @@ -31,12 +31,12 @@ VFFSL=valueFromFrameOrSearchList VFSL=valueFromSearchList VFN=valueForName currentTime=time.time -__CHEETAH_version__ = '2.0rc8' -__CHEETAH_versionTuple__ = (2, 0, 0, 'candidate', 8) -__CHEETAH_genTime__ = 1192021085.1185451 -__CHEETAH_genTimestamp__ = 'Wed Oct 10 08:58:05 2007' +__CHEETAH_version__ = '2.0rc7' +__CHEETAH_versionTuple__ = (2, 0, 0, 'candidate', 7) +__CHEETAH_genTime__ = 1192024329.3744731 +__CHEETAH_genTimestamp__ = 'Wed Oct 10 09:52:09 2007' __CHEETAH_src__ = 'skeleton.tmpl' -__CHEETAH_srcLastModified__ = 'Wed Oct 10 08:56:40 2007' +__CHEETAH_srcLastModified__ = 'Wed Oct 10 09:51:29 2007' __CHEETAH_docstring__ = 'Autogenerated by CHEETAH: The Python-Powered Template Engine' if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple: @@ -83,21 +83,20 @@ class skeleton(Template): ######################################## ## START - generated method body - write('''<html> -<head><title>''') + write('<html>\n<head><title>') _v = VFFSL(SL,"title",True) # '$title' on line 2, col 14 if _v is not None: write(_filter(_v, rawExpr='$title')) # from line 2, col 14. write('''</title> <link href="/static/favicon.ico" type="image/x-icon" rel="shortcut icon"> - <link rel="stylesheet" href="/svn/style.css" type="text/css" /> - <link rel="stylesheet" href="/svn/layout.css" type="text/css" media="screen" /> + <link rel="stylesheet" href="/static/style.css" type="text/css" /> + <link rel="stylesheet" href="/static/layout.css" type="text/css" media="screen" /> <script type="text/javascript"> var helpWin = null; function closeWin(){ -\tif (helpWin != null){ -\t\tif(!helpWin.closed) -\t\t\thelpWin.close(); -\t} + if (helpWin != null){ + if(!helpWin.closed) + helpWin.close(); + } } function helppopup(name){ @@ -112,22 +111,16 @@ function helppopup(name){ <body> ''') if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 25, col 1 - write('''<p>[You are logged in as ''') + write('<p>[You are logged in as ') _v = VFFSL(SL,"user.username",True) # '$user.username' on line 26, col 26 if _v is not None: write(_filter(_v, rawExpr='$user.username')) # from line 26, col 26. - write('''.]</p> -''') + write('.]</p>\n') _v = VFFSL(SL,"body",True) # '$body' on line 28, col 1 if _v is not None: write(_filter(_v, rawExpr='$body')) # from line 28, col 1. - write(''' -''') + write('\n') if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 29, col 1 - write('''<hr /> -Questions? Contact <a href="mailto:sipb-xen-dev@mit.edu">sipb-xen-dev@mit.edu</a>. -''') - write('''</body> -</html> -''') + write('<hr />\nQuestions? Contact <a href="mailto:sipb-xen-dev@mit.edu">sipb-xen-dev@mit.edu</a>.\n') + write('</body>\n</html>\n') ######################################## ## END - generated method body