From 993da54b4a89c32e9c28b6b31ca01751ac3b86c4 Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Sun, 27 Dec 2009 12:29:13 -0500 Subject: [PATCH] The tag is always empty, so having a separate closing tag is meaningless. svn path=/trunk/packages/invirt-web/; revision=2792 --- code/templates/functions.mako | 2 +- code/templates/list.mako | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) 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)} -- 1.7.9.5