X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/dce58e66ce47f06e84bf7b60ad88ac729f264971..59b8dc4f1f1a59dc8318ca65569101df73a6ef13:/code/templates/list.tmpl diff --git a/code/templates/list.tmpl b/code/templates/list.tmpl index 249541e..dc4ad47 100644 --- a/code/templates/list.tmpl +++ b/code/templates/list.tmpl @@ -3,14 +3,14 @@ #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:

+

Create a new VM

#if $err

We had a problem with your request:

#else if $varExists('new_machine') @@ -84,14 +84,12 @@ $errorRow('cdrom', $err) #slurp #if $machine.uptime $machine.uptime#slurp -#else -Off#slurp #end if #slurp #if $has_vnc[$machine] == True Console#slurp -#else +#else if $has_vnc[$machine] != 'Off' $has_vnc[$machine] #end if @@ -111,14 +109,15 @@ $has_vnc[$machine] #def machineList($machines) - - - - - - - - + + + + + + + + + #for $machine in $machines: $machineRow($machine) #end for @@ -127,17 +126,13 @@ $has_vnc[$machine] #def body -

Note: sipb-xen is a very alpha service. What does this mean?

+

SIPB Virtual Servers is an alpha service. What does this mean?

#if not $machines

You don't currently control any VMs.

-#else -

You have the following VMs:

#end if

refresh

$machineList($machines)
-
-$createTable() -
+$createForm() #end def
NameMemoryOwnerAdministratorIPUptimeVNCNameMemoryOwnerAdministratorIPUptimeVNC