Changeset 182
- Timestamp:
- Oct 10, 2007, 9:50:49 AM (17 years ago)
- Location:
- trunk/web/templates
- Files:
-
- 2 added
- 3 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/templates/main.py
r180 r182 798 798 connect('postgres://sipb-xen@sipb-xen-dev/sipb_xen') 799 799 operation = os.environ.get('PATH_INFO', '') 800 # print 'Content-Type: text/plain\n'801 # print operation802 800 if not operation: 803 801 print "Status: 301 Moved Permanently" -
trunk/web/templates/skeleton.py
r139 r182 34 34 __CHEETAH_version__ = '2.0rc8' 35 35 __CHEETAH_versionTuple__ = (2, 0, 0, 'candidate', 8) 36 __CHEETAH_genTime__ = 119 1828896.64139737 __CHEETAH_genTimestamp__ = ' Mon Oct 8 03:34:562007'36 __CHEETAH_genTime__ = 1192021085.1185451 37 __CHEETAH_genTimestamp__ = 'Wed Oct 10 08:58:05 2007' 38 38 __CHEETAH_src__ = 'skeleton.tmpl' 39 __CHEETAH_srcLastModified__ = ' Mon Oct 8 03:34:522007'39 __CHEETAH_srcLastModified__ = 'Wed Oct 10 08:56:40 2007' 40 40 __CHEETAH_docstring__ = 'Autogenerated by CHEETAH: The Python-Powered Template Engine' 41 41 … … 90 90 write('''</title> 91 91 <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" /> 95 94 <script type="text/javascript"> 96 95 var helpWin = null; … … 104 103 function helppopup(name){ 105 104 closeWin() 106 helpWin = window.open("help?simple=true&subject="+encodeURIComponent(name), "H MMTHelp",105 helpWin = window.open("help?simple=true&subject="+encodeURIComponent(name), "Help", 107 106 "status, height = 300, width = 400"); 108 107 if (window.focus){helpWin.focus();} … … 113 112 <body> 114 113 ''') 115 if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 2 6, col 1114 if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 25, col 1 116 115 write('''<p>[You are logged in as ''') 117 _v = VFFSL(SL,"user.username",True) # '$user.username' on line 2 7, col 26118 if _v is not None: write(_filter(_v, rawExpr='$user.username')) # from line 2 7, 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. 119 118 write('''.]</p> 120 119 ''') 121 _v = VFFSL(SL,"body",True) # '$body' on line 2 9, col 1122 if _v is not None: write(_filter(_v, rawExpr='$body')) # from line 2 9, 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. 123 122 write(''' 124 123 ''') 125 if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 30, col 1124 if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 29, col 1 126 125 write('''<hr /> 127 126 Questions? Contact <a href="mailto:sipb-xen-dev@mit.edu">sipb-xen-dev@mit.edu</a>. -
trunk/web/templates/skeleton.tmpl
r178 r182 2 2 <head><title>$title</title> 3 3 <link href="/static/favicon.ico" type="image/x-icon" rel="shortcut icon"> 4 <link rel="stylesheet" href="/s vn/style.css" type="text/css" />5 <link rel="stylesheet" href="/s vn/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" /> 6 6 <script type="text/javascript"> 7 7 var helpWin = null;
Note: See TracChangeset
for help on using the changeset viewer.