Changeset 182 for trunk


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

Create a static/ directory

Location:
trunk/web/templates
Files:
2 added
3 edited
2 moved

Legend:

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

    r180 r182  
    798798    connect('postgres://sipb-xen@sipb-xen-dev/sipb_xen')
    799799    operation = os.environ.get('PATH_INFO', '')
    800 #    print 'Content-Type: text/plain\n'
    801 #    print operation
    802800    if not operation:
    803801        print "Status: 301 Moved Permanently"
  • trunk/web/templates/skeleton.py

    r139 r182  
    3434__CHEETAH_version__ = '2.0rc8'
    3535__CHEETAH_versionTuple__ = (2, 0, 0, 'candidate', 8)
    36 __CHEETAH_genTime__ = 1191828896.641397
    37 __CHEETAH_genTimestamp__ = 'Mon Oct  8 03:34:56 2007'
     36__CHEETAH_genTime__ = 1192021085.1185451
     37__CHEETAH_genTimestamp__ = 'Wed Oct 10 08:58:05 2007'
    3838__CHEETAH_src__ = 'skeleton.tmpl'
    39 __CHEETAH_srcLastModified__ = 'Mon Oct  8 03:34:52 2007'
     39__CHEETAH_srcLastModified__ = 'Wed Oct 10 08:56:40 2007'
    4040__CHEETAH_docstring__ = 'Autogenerated by CHEETAH: The Python-Powered Template Engine'
    4141
     
    9090        write('''</title>
    9191  <link href="/static/favicon.ico" type="image/x-icon" rel="shortcut icon">
    92   <style media="screen" type="text/css">
    93     @import "static/css/all.css";
    94   </style>
     92  <link rel="stylesheet" href="/svn/style.css" type="text/css" />
     93  <link rel="stylesheet" href="/svn/layout.css" type="text/css" media="screen" />
    9594  <script type="text/javascript">
    9695var helpWin = null;
     
    104103function helppopup(name){
    105104   closeWin()
    106    helpWin = window.open("help?simple=true&subject="+encodeURIComponent(name), "HMMTHelp",
     105   helpWin = window.open("help?simple=true&subject="+encodeURIComponent(name), "Help",
    107106"status, height = 300, width = 400");
    108107   if (window.focus){helpWin.focus();}
     
    113112<body>
    114113''')
    115         if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 26, col 1
     114        if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 25, col 1
    116115            write('''<p>[You are logged in as ''')
    117             _v = VFFSL(SL,"user.username",True) # '$user.username' on line 27, col 26
    118             if _v is not None: write(_filter(_v, rawExpr='$user.username')) # from line 27, col 26.
     116            _v = VFFSL(SL,"user.username",True) # '$user.username' on line 26, col 26
     117            if _v is not None: write(_filter(_v, rawExpr='$user.username')) # from line 26, col 26.
    119118            write('''.]</p>
    120119''')
    121         _v = VFFSL(SL,"body",True) # '$body' on line 29, col 1
    122         if _v is not None: write(_filter(_v, rawExpr='$body')) # from line 29, col 1.
     120        _v = VFFSL(SL,"body",True) # '$body' on line 28, col 1
     121        if _v is not None: write(_filter(_v, rawExpr='$body')) # from line 28, col 1.
    123122        write('''
    124123''')
    125         if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 30, col 1
     124        if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 29, col 1
    126125            write('''<hr />
    127126Questions? Contact <a href="mailto:sipb-xen-dev@mit.edu">sipb-xen-dev@mit.edu</a>.
  • trunk/web/templates/skeleton.tmpl

    r178 r182  
    22<head><title>$title</title>
    33  <link href="/static/favicon.ico" type="image/x-icon" rel="shortcut icon">
    4   <link rel="stylesheet" href="/svn/style.css" type="text/css" />
    5   <link rel="stylesheet" href="/svn/layout.css" type="text/css" media="screen" />
     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.