X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/e37dd15bbf8683bab8454ea0eec8e9968ce982b2..59b8dc4f1f1a59dc8318ca65569101df73a6ef13:/code/templates/list.tmpl diff --git a/code/templates/list.tmpl b/code/templates/list.tmpl index 6e06c53..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') @@ -52,6 +52,13 @@ $errorRow('vmtype', $err) $errorRow('cdrom', $err) + Clone image? + + (experimental; 1-2 minutes, and you have an etch machine; root pw is 'password'.) + + +$errorRow('cdrom', $err) + Owner @@ -77,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 @@ -104,14 +109,15 @@ $has_vnc[$machine] #def machineList($machines) - - - - - - - - + + + + + + + + + #for $machine in $machines: $machineRow($machine) #end for @@ -120,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