X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/e37dd15bbf8683bab8454ea0eec8e9968ce982b2..d6a12bd1e32e3f9bc63c2c6f1d2d2793a9eee4d2:/code/templates/list.tmpl diff --git a/code/templates/list.tmpl b/code/templates/list.tmpl index 6e06c53..8a0231e 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,51 +21,116 @@ 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