Changeset 184 for trunk/web


Ignore:
Timestamp:
Oct 10, 2007, 10:06:16 AM (17 years ago)
Author:
ecprice
Message:

Make link relative, not absolute.

Location:
trunk/web/templates
Files:
2 edited

Legend:

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

    r183 r184  
    3232VFN=valueForName
    3333currentTime=time.time
    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'
     34__CHEETAH_version__ = '2.0rc8'
     35__CHEETAH_versionTuple__ = (2, 0, 0, 'candidate', 8)
     36__CHEETAH_genTime__ = 1192025116.0694621
     37__CHEETAH_genTimestamp__ = 'Wed Oct 10 10:05:16 2007'
    3838__CHEETAH_src__ = 'skeleton.tmpl'
    39 __CHEETAH_srcLastModified__ = 'Wed Oct 10 09:51:29 2007'
     39__CHEETAH_srcLastModified__ = 'Wed Oct 10 10:04:55 2007'
    4040__CHEETAH_docstring__ = 'Autogenerated by CHEETAH: The Python-Powered Template Engine'
    4141
     
    8484        ## START - generated method body
    8585       
    86         write('<html>\n<head><title>')
     86        write('''<html>
     87<head><title>''')
    8788        _v = VFFSL(SL,"title",True) # '$title' on line 2, col 14
    8889        if _v is not None: write(_filter(_v, rawExpr='$title')) # from line 2, col 14.
    8990        write('''</title>
    90   <link href="/static/favicon.ico" type="image/x-icon" rel="shortcut icon">
    91   <link rel="stylesheet" href="/static/style.css" type="text/css" />
    92   <link rel="stylesheet" href="/static/layout.css" type="text/css" media="screen" />
     91  <link href="static/favicon.ico" type="image/x-icon" rel="shortcut icon">
     92  <link rel="stylesheet" href="static/style.css" type="text/css" />
     93  <link rel="stylesheet" href="static/layout.css" type="text/css" media="screen" />
    9394  <script type="text/javascript">
    9495var helpWin = null;
    9596function closeWin(){
    96         if (helpWin != null){
    97                 if(!helpWin.closed)
    98                         helpWin.close();
    99         }
     97\tif (helpWin != null){
     98\t\tif(!helpWin.closed)
     99\t\t\thelpWin.close();
     100\t}
    100101}
    101102
     
    112113''')
    113114        if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 25, col 1
    114             write('<p>[You are logged in as ')
     115            write('''<p>[You are logged in as ''')
    115116            _v = VFFSL(SL,"user.username",True) # '$user.username' on line 26, col 26
    116117            if _v is not None: write(_filter(_v, rawExpr='$user.username')) # from line 26, col 26.
    117             write('.]</p>\n')
     118            write('''.]</p>
     119''')
    118120        _v = VFFSL(SL,"body",True) # '$body' on line 28, col 1
    119121        if _v is not None: write(_filter(_v, rawExpr='$body')) # from line 28, col 1.
    120         write('\n')
     122        write('''
     123''')
    121124        if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 29, col 1
    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')
     125            write('''<hr />
     126Questions? Contact <a href="mailto:sipb-xen-dev@mit.edu">sipb-xen-dev@mit.edu</a>.
     127''')
     128        write('''</body>
     129</html>
     130''')
    124131       
    125132        ########################################
  • trunk/web/templates/skeleton.tmpl

    r182 r184  
    11<html>
    22<head><title>$title</title>
    3   <link href="/static/favicon.ico" type="image/x-icon" rel="shortcut icon">
    4   <link rel="stylesheet" href="/static/style.css" type="text/css" />
    5   <link rel="stylesheet" href="/static/layout.css" type="text/css" media="screen" />
     3  <link href="static/favicon.ico" type="image/x-icon" rel="shortcut icon">
     4  <link rel="stylesheet" href="static/style.css" type="text/css" />
     5  <link rel="stylesheet" href="static/layout.css" type="text/css" media="screen" />
    66  <script type="text/javascript">
    77var helpWin = null;
Note: See TracChangeset for help on using the changeset viewer.