Not clear that skeleton.py should be in the repository, though.
authorEric Price <ecprice@mit.edu>
Wed, 10 Oct 2007 13:52:30 +0000 (09:52 -0400)
committerEric Price <ecprice@mit.edu>
Wed, 10 Oct 2007 13:52:30 +0000 (09:52 -0400)
svn path=/trunk/web/; revision=183

templates/skeleton.py

index 0519c68..92639f5 100644 (file)
@@ -31,12 +31,12 @@ VFFSL=valueFromFrameOrSearchList
 VFSL=valueFromSearchList
 VFN=valueForName
 currentTime=time.time
 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_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:
 __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
         
         ########################################
         ## 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">
         _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(){
   <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){
 }
 
 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
 <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.
             _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.
         _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
         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
         
         ########################################
         ## END - generated method body