X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/11b6c2b07cba5d282483dc2f9a9beb59cbdb645c..dec9bc422854b7afc6d3ea998530fb27f1f17cdf:/code/templates/list.tmpl diff --git a/code/templates/list.tmpl b/code/templates/list.tmpl index 9beb4bb..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,58 +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 Virtual Servers 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