X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/251a74f2ce55741ee63f8d5b6c732f5631912b79..41910267b9c749ae6d6f49fd2569600689dd9914:/code/templates/list.tmpl?ds=sidebyside diff --git a/code/templates/list.tmpl b/code/templates/list.tmpl index f6c9a09..f6dc5c4 100644 --- a/code/templates/list.tmpl +++ b/code/templates/list.tmpl @@ -25,12 +25,19 @@ VM List #end filter Name - + .${config.dns.domains[0]} #filter None $errorRow('name', $err) #end filter + Description + + +#filter None +$errorRow('description', $err) +#end filter + Memory MiB ($max_memory max) @@ -39,7 +46,7 @@ $errorRow('memory', $err) #end filter Disk - GiB (${"%0.1f" % ($max_disk-0.05)} max) + GiB (${"%0.1f" % ($max_disk-0.05)} max) #filter None $errorRow('disk', $err) @@ -47,7 +54,7 @@ $errorRow('disk', $err) HVM/ParaVM#slurp #filter None -$helppopup('hvm_paravm')#slurp +$helppopup('HVM/ParaVM')#slurp #end filter @@ -59,28 +66,22 @@ $vmTypeList($defaults.type) #filter None $errorRow('vmtype', $err) #end filter - - Clone image? - - (experimental; 1-2 minutes, and you have an etch machine; root pw is 'password'.) - - #filter None $errorRow('autoinstall', $err) #end filter - + Boot CD @@ -100,13 +101,29 @@ $errorRow('cdrom', $err) $errorRow('owner', $err) #end filter - +
+ Windows notes: #slurp +#filter None +$helppopup('Windows')#slurp +#end filter #end if #end def #def machineRow($machine) + +
+ + + +
+ $machine.name ${machine.memory}M $machine.owner @@ -131,38 +148,31 @@ $has_vnc[$machine] #end filter #end if - -
- - - -
- + + + $machine.description #end def #def machineList($machines) - +
+ - #for $machine in $machines: #filter None @@ -170,6 +180,13 @@ $helppopup('administrator')#slurp #end filter #end for
Name Memory Owner#slurp #filter None -$helppopup('owner')#slurp +$helppopup('Owner')#slurp #end filter Administrator#slurp #filter None -$helppopup('administrator')#slurp +$helppopup('Administrator')#slurp #end filter IP Uptime VNC
+ + #end def