X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/e37dd15bbf8683bab8454ea0eec8e9968ce982b2..dec9bc422854b7afc6d3ea998530fb27f1f17cdf:/code/templates/list.tmpl diff --git a/code/templates/list.tmpl b/code/templates/list.tmpl index 6e06c53..e1d66c4 100644 --- a/code/templates/list.tmpl +++ b/code/templates/list.tmpl @@ -1,16 +1,17 @@ #from skeleton import skeleton #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,51 +20,110 @@ 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