From 11ec7249f84ef789edd2741ba670f4ea94e420ea Mon Sep 17 00:00:00 2001 From: Eric Price Date: Sat, 20 Oct 2007 08:38:16 -0400 Subject: [PATCH] (Forget to make this to test it) svn path=/trunk/web/; revision=206 --- templates/skeleton.py | 75 +++++++++++++++++++---------------------------- templates/skeleton.tmpl | 4 +-- 2 files changed, 32 insertions(+), 47 deletions(-) diff --git a/templates/skeleton.py b/templates/skeleton.py index b2643b4..dc00887 100644 --- a/templates/skeleton.py +++ b/templates/skeleton.py @@ -32,12 +32,12 @@ VFFSL=valueFromFrameOrSearchList VFSL=valueFromSearchList VFN=valueForName currentTime=time.time -__CHEETAH_version__ = '2.0rc8' -__CHEETAH_versionTuple__ = (2, 0, 0, 'candidate', 8) -__CHEETAH_genTime__ = 1192883107.2947011 -__CHEETAH_genTimestamp__ = 'Sat Oct 20 08:25:07 2007' +__CHEETAH_version__ = '2.0rc7' +__CHEETAH_versionTuple__ = (2, 0, 0, 'candidate', 7) +__CHEETAH_genTime__ = 1192883610.434917 +__CHEETAH_genTimestamp__ = 'Sat Oct 20 08:33:30 2007' __CHEETAH_src__ = 'skeleton.tmpl' -__CHEETAH_srcLastModified__ = 'Sat Oct 20 08:22:11 2007' +__CHEETAH_srcLastModified__ = 'Sat Oct 20 08:33:05 2007' __CHEETAH_docstring__ = 'Autogenerated by CHEETAH: The Python-Powered Template Engine' if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple: @@ -100,10 +100,10 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" @@ -171,16 +168,13 @@ window.onload = {
''') if VFFSL(SL,"varExists",False)('error_text'): # generated from line 83, col 1 - write('''

STDERR:

''')
+            write('

STDERR:

')
             _v = VFFSL(SL,"error_text",True) # '$error_text' on line 84, col 20
             if _v is not None: write(_filter(_v, rawExpr='$error_text')) # from line 84, col 20.
-            write('''
-''') - write('''
- -''') + write('\n') + write('\n\n') if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 88, col 1 - write('''

[You are logged in as ''') + write('

[You are logged in as ') _v = VFFSL(SL,"user.username",True) # '$user.username' on line 89, col 26 if _v is not None: write(_filter(_v, rawExpr='$user.username')) # from line 89, col 26. write('''.]

@@ -189,17 +183,14 @@ window.onload = {

List ''') if VFFSL(SL,"varExists",False)('machine'): # generated from line 93, col 1 - write('''Info -Info\nConsole -''') - write('''Help

-''') + write('">Console\n') + write('Help

\n') write('''
LOADING
@@ -208,15 +199,10 @@ window.onload = { ''') _v = VFFSL(SL,"body",True) # '$body' on line 104, col 1 if _v is not None: write(_filter(_v, rawExpr='$body')) # from line 104, col 1. - write(''' -''') + write('\n') if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 105, col 1 - write('''
-Questions? Contact sipb-xen-dev@mit.edu. -''') - write(''' - -''') + write('
\nQuestions? Contact sipb-xen-dev@mit.edu.\n') + write('\n\n') ######################################## ## END - generated method body @@ -243,8 +229,7 @@ Questions? Contact sipb-xen-dev@mit.edu -- 1.7.9.5