Changeset 183 for trunk/web/templates


Ignore:
Timestamp:
Oct 10, 2007, 9:52:30 AM (17 years ago)
Author:
ecprice
Message:

Not clear that skeleton.py should be in the repository, though.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/templates/skeleton.py

    r182 r183  
    3232VFN=valueForName
    3333currentTime=time.time
    34 __CHEETAH_version__ = '2.0rc8'
    35 __CHEETAH_versionTuple__ = (2, 0, 0, 'candidate', 8)
    36 __CHEETAH_genTime__ = 1192021085.1185451
    37 __CHEETAH_genTimestamp__ = 'Wed Oct 10 08:58:05 2007'
     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'
    3838__CHEETAH_src__ = 'skeleton.tmpl'
    39 __CHEETAH_srcLastModified__ = 'Wed Oct 10 08:56:40 2007'
     39__CHEETAH_srcLastModified__ = 'Wed Oct 10 09:51:29 2007'
    4040__CHEETAH_docstring__ = 'Autogenerated by CHEETAH: The Python-Powered Template Engine'
    4141
     
    8484        ## START - generated method body
    8585       
    86         write('''<html>
    87 <head><title>''')
     86        write('<html>\n<head><title>')
    8887        _v = VFFSL(SL,"title",True) # '$title' on line 2, col 14
    8988        if _v is not None: write(_filter(_v, rawExpr='$title')) # from line 2, col 14.
    9089        write('''</title>
    9190  <link href="/static/favicon.ico" type="image/x-icon" rel="shortcut icon">
    92   <link rel="stylesheet" href="/svn/style.css" type="text/css" />
    93   <link rel="stylesheet" href="/svn/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" />
    9493  <script type="text/javascript">
    9594var helpWin = null;
    9695function 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        }
    101100}
    102101
     
    113112''')
    114113        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 ')
    116115            _v = VFFSL(SL,"user.username",True) # '$user.username' on line 26, col 26
    117116            if _v is not None: write(_filter(_v, rawExpr='$user.username')) # from line 26, col 26.
    118             write('''.]</p>
    119 ''')
     117            write('.]</p>\n')
    120118        _v = VFFSL(SL,"body",True) # '$body' on line 28, col 1
    121119        if _v is not None: write(_filter(_v, rawExpr='$body')) # from line 28, col 1.
    122         write('''
    123 ''')
     120        write('\n')
    124121        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')
    131124       
    132125        ########################################
Note: See TracChangeset for help on using the changeset viewer.