From 8eb07ffe97cec831711b9bbd2c5bdc97a14a5b52 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Thu, 3 Aug 2017 23:38:22 +1000 Subject: minimaws: add machine feature status flags and slot card selection with live update --- scripts/minimaws/lib/htmltmpl.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'scripts/minimaws/lib/htmltmpl.py') diff --git a/scripts/minimaws/lib/htmltmpl.py b/scripts/minimaws/lib/htmltmpl.py index 106f9615e9d..d465f0d993d 100644 --- a/scripts/minimaws/lib/htmltmpl.py +++ b/scripts/minimaws/lib/htmltmpl.py @@ -27,8 +27,12 @@ MACHINE_PROLOGUE = string.Template( ' \n' \ ' \n' \ ' \n' \ - ' \n' \ + ' \n' \ ' \n' \ + ' \n' \ ' Machine: ${description} (${shortname})\n' \ '\n' \ '\n' \ @@ -39,6 +43,13 @@ MACHINE_PROLOGUE = string.Template( ' Runnable:${runnable}\n' \ ' Source file:${sourcefile}\n') +MACHINE_SLOTS_PLACEHOLDER = string.Template( + '

Options

\n' \ + '

\n' \ + '

Slots

\n' \ + '

Loading slot information…

\n' \ + '\n') + MACHINE_ROW = string.Template( ' \n' \ ' ${shortname}\n' \ -- cgit v1.2.3-70-g09d2