Help, admin, links at the top.
[invirt/packages/invirt-web.git] / templates / skeleton.py
index 0519c68..e3444ec 100644 (file)
@@ -33,10 +33,10 @@ VFN=valueForName
 currentTime=time.time
 __CHEETAH_version__ = '2.0rc8'
 __CHEETAH_versionTuple__ = (2, 0, 0, 'candidate', 8)
-__CHEETAH_genTime__ = 1192021085.1185451
-__CHEETAH_genTimestamp__ = 'Wed Oct 10 08:58:05 2007'
+__CHEETAH_genTime__ = 1192082083.444865
+__CHEETAH_genTimestamp__ = 'Thu Oct 11 01:54:43 2007'
 __CHEETAH_src__ = 'skeleton.tmpl'
-__CHEETAH_srcLastModified__ = 'Wed Oct 10 08:56:40 2007'
+__CHEETAH_srcLastModified__ = 'Thu Oct 11 01:54:41 2007'
 __CHEETAH_docstring__ = 'Autogenerated by CHEETAH: The Python-Powered Template Engine'
 
 if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple:
@@ -88,9 +88,9 @@ class skeleton(Template):
         _v = VFFSL(SL,"title",True) # '$title' on line 2, col 14
         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">
-  <link rel="stylesheet" href="/svn/style.css" type="text/css" />
-  <link rel="stylesheet" href="/svn/layout.css" type="text/css" media="screen" />
+  <link href="static/favicon.ico" type="image/x-icon" rel="shortcut icon">
+  <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(){
@@ -116,12 +116,25 @@ function helppopup(name){
             _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>
+<p><a href="list">List</a> 
 ''')
-        _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.
+            if VFFSL(SL,"varExists",False)('machine'): # generated from line 28, col 1
+                write('''<a href="info?machine_id=''')
+                _v = VFFSL(SL,"machine.machine_id",True) # '$machine.machine_id' on line 29, col 26
+                if _v is not None: write(_filter(_v, rawExpr='$machine.machine_id')) # from line 29, col 26.
+                write('''">Info</a>
+<a href="vnc?machine_id=''')
+                _v = VFFSL(SL,"machine.machine_id",True) # '$machine.machine_id' on line 30, col 25
+                if _v is not None: write(_filter(_v, rawExpr='$machine.machine_id')) # from line 30, col 25.
+                write('''">Console</a>
+''')
+            write('''<a href="help">Help</a></p>
+''')
+        _v = VFFSL(SL,"body",True) # '$body' on line 34, col 1
+        if _v is not None: write(_filter(_v, rawExpr='$body')) # from line 34, col 1.
         write('''
 ''')
-        if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 29, col 1
+        if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 35, col 1
             write('''<hr />
 Questions? Contact <a href="mailto:sipb-xen-dev@mit.edu">sipb-xen-dev@mit.edu</a>.
 ''')