From: Evan Broder Date: Sun, 27 Dec 2009 17:29:13 +0000 (-0500) Subject: The tag is always empty, so having a separate closing X-Git-Tag: 0.1.5~20 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/993da54b4a89c32e9c28b6b31ca01751ac3b86c4 The tag is always empty, so having a separate closing tag is meaningless. svn path=/trunk/packages/invirt-web/; revision=2792 --- diff --git a/code/templates/functions.mako b/code/templates/functions.mako index 068401f..c57e904 100644 --- a/code/templates/functions.mako +++ b/code/templates/functions.mako @@ -27,7 +27,7 @@ ${databaseList(sorted(database.Autoinstall.query(), key=lambda x: x.description) <%def name="vmTypeList(default=None)"> % for vmtype in (('linux-hvm', 'HVM'), ('linux', 'ParaVM'), ): % endfor diff --git a/code/templates/list.mako b/code/templates/list.mako index 288e44f..99e81cb 100644 --- a/code/templates/list.mako +++ b/code/templates/list.mako @@ -54,18 +54,16 @@ VM List Autoinstall${self.fn.helppopup('Autoinstalls')} + onchange="$('cdromlist').value = ''; $('vmtype-linux').checked = true" /> ${self.fn.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.) - Boot CD + onchange="$('autoinstalllist').value = ''; $('vmtype-linux-hvm').checked = true" /> ${self.fn.cdromList(defaults.cdrom, "$('cd_or_auto_cd').checked = true;$('autoinstalllist').value = '';$('vmtype-linux-hvm').checked = true")} - ${self.fn.errorRow('cdrom', err)} ${self.fn.errorRow('cdrom', err)}