Help, admin, links at the top.
[invirt/packages/invirt-web.git] / templates / skeleton.py
index fd30729..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__ = 1192025116.0694621
-__CHEETAH_genTimestamp__ = 'Wed Oct 10 10:05:16 2007'
+__CHEETAH_genTime__ = 1192082083.444865
+__CHEETAH_genTimestamp__ = 'Thu Oct 11 01:54:43 2007'
 __CHEETAH_src__ = 'skeleton.tmpl'
-__CHEETAH_srcLastModified__ = 'Wed Oct 10 10:04:55 2007'
+__CHEETAH_srcLastModified__ = 'Thu Oct 11 01:54:41 2007'
 __CHEETAH_docstring__ = 'Autogenerated by CHEETAH: The Python-Powered Template Engine'
 
 if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple:
@@ -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>.
 ''')