X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/951ff47a4c46a212194a763496145fbafb7ba471..e3ef118dac44137bda1374d8e124b095d7f6ad06:/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