summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/minimaws/lib/htmltmpl.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/minimaws/lib/htmltmpl.py')
-rw-r--r--scripts/minimaws/lib/htmltmpl.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/minimaws/lib/htmltmpl.py b/scripts/minimaws/lib/htmltmpl.py
index 105f901711b..1a030d04e93 100644
--- a/scripts/minimaws/lib/htmltmpl.py
+++ b/scripts/minimaws/lib/htmltmpl.py
@@ -58,11 +58,18 @@ MACHINE_OPTIONS_HEADING = string.Template(
MACHINE_BIOS_PROLOGUE = string.Template(
'<h3>System BIOS</h3>' \
- '<div><select id="select-system-bios" onchange="update_cmd_preview()"></div>')
+ '<select id="select-system-bios" onchange="update_cmd_preview()">')
MACHINE_BIOS_OPTION = string.Template(
' <option value="${name}" data-isdefault="${isdefault}">${name} - ${description}</option>\n')
+MACHINE_RAM_PROLOGUE = string.Template(
+ '<h3>RAM Size</h3>' \
+ '<select id="select-ram-option" onchange="update_cmd_preview()">')
+
+MACHINE_RAM_OPTION = string.Template(
+ ' <option value="${name}" data-isdefault="${isdefault}">${name} (${size})</option>\n')
+
MACHINE_SLOTS_PLACEHOLDER = string.Template(
'<h3>Slots</h3>\n' \
'<p id="para-slots-placeholder">Loading slot information&hellip;<p>\n' \