X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/dce58e66ce47f06e84bf7b60ad88ac729f264971..2f10c0de042a95eb53a88b6ae976d6dd9360988f:/code/templates/list.tmpl?ds=sidebyside diff --git a/code/templates/list.tmpl b/code/templates/list.tmpl index 249541e..cf59937 100644 --- a/code/templates/list.tmpl +++ b/code/templates/list.tmpl @@ -1,16 +1,18 @@ #from skeleton import skeleton +#from invirt.config import structs as config #extends skeleton +#import datetime #def title -List of your VMs +VM List #end def -#def createTable() +#def createForm() #if $cant_add_vm
$cant_add_vm
#else -Create a new VM:
+We had a problem with your request:
#else if $varExists('new_machine') @@ -19,58 +21,112 @@ List of your VMs #end if #end def #def machineRow($machine)Name | -Memory | -Owner | -Administrator | -IP | -Uptime | -VNC | -+ | + | Name | +Memory | +Owner#slurp +#filter None +$helppopup('Owner')#slurp +#end filter + | +Administrator#slurp +#filter None +$helppopup('Administrator')#slurp +#end filter + | +IP | +Uptime | +VNC | +
---|
Note: sipb-xen is a very alpha service. What does this mean?
+ #if not $machinesYou don't currently control any VMs.
-#else -You have the following VMs:
#end if