X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/fda1a1290d1c87bf8c50c99cfdf2ec8602003f81..4ed55b4ba8476ccdc46f0c7610870e39988f5e55:/code/templates/list.tmpl diff --git a/code/templates/list.tmpl b/code/templates/list.tmpl index 7c8e5d1..8a0231e 100644 --- a/code/templates/list.tmpl +++ b/code/templates/list.tmpl @@ -124,7 +124,11 @@ $helppopup('Windows')#slurp #if $machine.uptime then 'on' else 'off' " name="action" value="#slurp #if $machine.uptime then 'Power off' else 'Power on' -"/> +"#slurp +#if $machine.uptime + onclick="return confirm('Are you sure you want to power off this VM?');" +#end if +/> $machine.name