Create a static/ directory
authorEric Price <ecprice@mit.edu>
Wed, 10 Oct 2007 13:50:49 +0000 (09:50 -0400)
committerEric Price <ecprice@mit.edu>
Wed, 10 Oct 2007 13:50:49 +0000 (09:50 -0400)
svn path=/trunk/web/; revision=182

templates/main.py
templates/skeleton.py
templates/skeleton.tmpl
templates/static/VncViewer.jar [new symlink]
templates/static/layout.css [moved from templates/layout.css with 100% similarity]
templates/static/style.css [moved from templates/style.css with 100% similarity]

index 6f99990..ec1eca5 100755 (executable)
@@ -797,8 +797,6 @@ if __name__ == '__main__':
         u.email = 'nobody'
     connect('postgres://sipb-xen@sipb-xen-dev/sipb_xen')
     operation = os.environ.get('PATH_INFO', '')
         u.email = 'nobody'
     connect('postgres://sipb-xen@sipb-xen-dev/sipb_xen')
     operation = os.environ.get('PATH_INFO', '')
-#    print 'Content-Type: text/plain\n'
-#    print operation
     if not operation:
         print "Status: 301 Moved Permanently"
         print 'Location: ' + os.environ['SCRIPT_NAME']+'/\n'
     if not operation:
         print "Status: 301 Moved Permanently"
         print 'Location: ' + os.environ['SCRIPT_NAME']+'/\n'
index 09409a5..0519c68 100644 (file)
@@ -33,10 +33,10 @@ VFN=valueForName
 currentTime=time.time
 __CHEETAH_version__ = '2.0rc8'
 __CHEETAH_versionTuple__ = (2, 0, 0, 'candidate', 8)
 currentTime=time.time
 __CHEETAH_version__ = '2.0rc8'
 __CHEETAH_versionTuple__ = (2, 0, 0, 'candidate', 8)
-__CHEETAH_genTime__ = 1191828896.641397
-__CHEETAH_genTimestamp__ = 'Mon Oct  8 03:34:56 2007'
+__CHEETAH_genTime__ = 1192021085.1185451
+__CHEETAH_genTimestamp__ = 'Wed Oct 10 08:58:05 2007'
 __CHEETAH_src__ = 'skeleton.tmpl'
 __CHEETAH_src__ = 'skeleton.tmpl'
-__CHEETAH_srcLastModified__ = 'Mon Oct  8 03:34:52 2007'
+__CHEETAH_srcLastModified__ = 'Wed Oct 10 08:56:40 2007'
 __CHEETAH_docstring__ = 'Autogenerated by CHEETAH: The Python-Powered Template Engine'
 
 if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple:
 __CHEETAH_docstring__ = 'Autogenerated by CHEETAH: The Python-Powered Template Engine'
 
 if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple:
@@ -89,9 +89,8 @@ class skeleton(Template):
         if _v is not None: write(_filter(_v, rawExpr='$title')) # from line 2, col 14.
         write('''</title>
   <link href="/static/favicon.ico" type="image/x-icon" rel="shortcut icon">
         if _v is not None: write(_filter(_v, rawExpr='$title')) # from line 2, col 14.
         write('''</title>
   <link href="/static/favicon.ico" type="image/x-icon" rel="shortcut icon">
-  <style media="screen" type="text/css">
-    @import "static/css/all.css";
-  </style>
+  <link rel="stylesheet" href="/svn/style.css" type="text/css" />
+  <link rel="stylesheet" href="/svn/layout.css" type="text/css" media="screen" />
   <script type="text/javascript">
 var helpWin = null;
 function closeWin(){
   <script type="text/javascript">
 var helpWin = null;
 function closeWin(){
@@ -103,7 +102,7 @@ function closeWin(){
 
 function helppopup(name){
    closeWin()
 
 function helppopup(name){
    closeWin()
-   helpWin = window.open("help?simple=true&subject="+encodeURIComponent(name), "HMMTHelp",
+   helpWin = window.open("help?simple=true&subject="+encodeURIComponent(name), "Help",
 "status, height = 300, width = 400");
    if (window.focus){helpWin.focus();}
    return false;
 "status, height = 300, width = 400");
    if (window.focus){helpWin.focus();}
    return false;
@@ -112,17 +111,17 @@ function helppopup(name){
 </head>
 <body>
 ''')
 </head>
 <body>
 ''')
-        if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 26, col 1
+        if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 25, col 1
             write('''<p>[You are logged in as ''')
             write('''<p>[You are logged in as ''')
-            _v = VFFSL(SL,"user.username",True) # '$user.username' on line 27, col 26
-            if _v is not None: write(_filter(_v, rawExpr='$user.username')) # from line 27, col 26.
+            _v = VFFSL(SL,"user.username",True) # '$user.username' on line 26, col 26
+            if _v is not None: write(_filter(_v, rawExpr='$user.username')) # from line 26, col 26.
             write('''.]</p>
 ''')
             write('''.]</p>
 ''')
-        _v = VFFSL(SL,"body",True) # '$body' on line 29, col 1
-        if _v is not None: write(_filter(_v, rawExpr='$body')) # from line 29, col 1.
+        _v = VFFSL(SL,"body",True) # '$body' on line 28, col 1
+        if _v is not None: write(_filter(_v, rawExpr='$body')) # from line 28, col 1.
         write('''
 ''')
         write('''
 ''')
-        if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 30, col 1
+        if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 29, col 1
             write('''<hr />
 Questions? Contact <a href="mailto:sipb-xen-dev@mit.edu">sipb-xen-dev@mit.edu</a>.
 ''')
             write('''<hr />
 Questions? Contact <a href="mailto:sipb-xen-dev@mit.edu">sipb-xen-dev@mit.edu</a>.
 ''')
index a27d2f5..bc2f931 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 <head><title>$title</title>
   <link href="/static/favicon.ico" type="image/x-icon" rel="shortcut icon">
 <html>
 <head><title>$title</title>
   <link href="/static/favicon.ico" type="image/x-icon" rel="shortcut icon">
-  <link rel="stylesheet" href="/svn/style.css" type="text/css" />
-  <link rel="stylesheet" href="/svn/layout.css" type="text/css" media="screen" />
+  <link rel="stylesheet" href="/static/style.css" type="text/css" />
+  <link rel="stylesheet" href="/static/layout.css" type="text/css" media="screen" />
   <script type="text/javascript">
 var helpWin = null;
 function closeWin(){
   <script type="text/javascript">
 var helpWin = null;
 function closeWin(){
diff --git a/templates/static/VncViewer.jar b/templates/static/VncViewer.jar
new file mode 120000 (symlink)
index 0000000..2661ec5
--- /dev/null
@@ -0,0 +1 @@
+../../../vnc/vnc_javasrc/VncViewer.jar
\ No newline at end of file