X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/b001dd5804c18377b497d87ddf23138282ef2690..d6a12bd1e32e3f9bc63c2c6f1d2d2793a9eee4d2:/code/templates/list.tmpl?ds=sidebyside
diff --git a/code/templates/list.tmpl b/code/templates/list.tmpl
index 63dfa38..8a0231e 100644
--- a/code/templates/list.tmpl
+++ b/code/templates/list.tmpl
@@ -1,4 +1,5 @@
#from skeleton import skeleton
+#from invirt.config import structs as config
#extends skeleton
#import datetime
@@ -72,21 +73,23 @@ $errorRow('autoinstall', $err)
Autoinstall#slurp
#filter None
-$helppopup('Autoinstall')#slurp
+$helppopup('Autoinstalls')#slurp
#end filter
-
+
#filter None
-$autoList($defaults.cdrom, "document.getElementById('cd_or_auto_auto').checked = true;document.getElementById('cdromlist').value = ''")
- (experimental; 1-2 minutes, and you have a machine with empty root password.)
+$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.)
#end filter
Boot CD
-
+
#filter None
-$cdromList($defaults.cdrom, "document.getElementById('cd_or_auto_cd').checked = true;document.getElementById('autoinstalllist').value = ''")
+$cdromList($defaults.cdrom, "$('cd_or_auto_cd').checked = true;$('autoinstalllist').value = '';$('vmtype-linux-hvm').checked = true")
#end filter
@@ -101,7 +104,11 @@ $errorRow('cdrom', $err)
$errorRow('owner', $err)
#end filter
-
+
+ Windows notes: #slurp
+#filter None
+$helppopup('Windows')#slurp
+#end filter
#end if
#end def
@@ -117,7 +124,11 @@ $errorRow('cdrom', $err)
#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
@@ -187,7 +198,7 @@ $helppopup('Administrator')#slurp
#def body
-SIPB Virtual Servers is an alpha service . What does this mean?
+What is XVM?
#if not $machines
You don't currently control any VMs.
#end if