X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/867613f209f2f414afd261258c73b6adf4bdd905..7268d3236dc1ea69c8ff786e43ea77939c6d1a97:/templates/list.tmpl?ds=inline diff --git a/templates/list.tmpl b/templates/list.tmpl index f820385..e300f61 100644 --- a/templates/list.tmpl +++ b/templates/list.tmpl @@ -18,9 +18,9 @@ List of your VMs IP MAC Address Hostname - Status + Uptime VNC - Restart? + #for $machine in $machines: $machine.name @@ -36,47 +36,60 @@ List of your VMs #end if - Good! - Console +#slurp +#if $uptimes[$machine] +$uptimes[$machine]#slurp +#else +Off#slurp +#end if + + #slurp +#if $has_vnc[$machine] == True +Console#slurp +#else +$has_vnc[$machine] +#end if + -
+ - +#if $uptimes[$machine] + +#else + +#end if
#end for #end if - +#if $can_add_vm

Create a new VM:

-
+ - + - #set $maxmem=256 - + - #set $maxdisk=1.5 - + - + - +
Name
Memory megabytes ($maxmem max) megabytes ($max_mem max)
Disk gigabytes ($maxdisk max) gigabytes (${"%0.1f" % ($max_disk-0.05)} max)
HVM/ParaVMHVM/ParaVM$helppopup('hvm_paravm') HVM ParaVM
Initial InstallBoot CD
- +#else +

You are at the maximum number of VMs.

+#end if #end def