X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/ec507f90d9592ff059abd31983da5ef1eae3c2a7..b3969219ebe0ca5d9ba6e3015d9c6b750a435631:/code/templates/list.tmpl
diff --git a/code/templates/list.tmpl b/code/templates/list.tmpl
index d3bfd8c..8a0231e 100644
--- a/code/templates/list.tmpl
+++ b/code/templates/list.tmpl
@@ -76,7 +76,8 @@ $errorRow('autoinstall', $err)
$helppopup('Autoinstalls')#slurp
#end filter
-
+ |
#filter None
$autoList($defaults.cdrom, "$('cd_or_auto_auto').checked = true;$('cdromlist').value = '';$('vmtype-linux').checked = true")
(experimental; 2-3 minutes, and you have a machine with empty root password.)
@@ -85,7 +86,8 @@ $autoList($defaults.cdrom, "$('cd_or_auto_auto').checked = true;$('cdromlist').v
|
Boot CD |
-
+ |
#filter None
$cdromList($defaults.cdrom, "$('cd_or_auto_cd').checked = true;$('autoinstalllist').value = '';$('vmtype-linux-hvm').checked = true")
#end filter
@@ -122,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 |