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.py13
1 files changed, 11 insertions, 2 deletions
diff --git a/scripts/minimaws/lib/htmltmpl.py b/scripts/minimaws/lib/htmltmpl.py
index 815905a59bb..8dd219f0681 100644
--- a/scripts/minimaws/lib/htmltmpl.py
+++ b/scripts/minimaws/lib/htmltmpl.py
@@ -48,9 +48,18 @@ MACHINE_PROLOGUE = string.Template(
' <tr><th>Runnable:</th><td>${runnable}</td></tr>\n' \
' <tr><th>Source file:</th><td><a href="${sourcehref}">${sourcefile}</a></td></tr>\n')
-MACHINE_SLOTS_PLACEHOLDER = string.Template(
+MACHINE_OPTIONS_HEADING = string.Template(
'<h2>Options</h2>\n' \
- '<p id="para-cmd-preview"></p>\n' \
+ '<p id="para-cmd-preview"></p>\n')
+
+MACHINE_BIOS_PROLOGUE = string.Template(
+ '<h3>System BIOS</h3>' \
+ '<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_SLOTS_PLACEHOLDER = string.Template(
'<h3>Slots</h3>\n' \
'<p id="para-slots-placeholder">Loading slot information&hellip;<p>\n' \
'<script>fetch_slots("${machine}");</script>\n')