From 202d06ffb0d9a55c484dbc71c657e24b9323efe2 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sun, 15 Dec 2019 21:38:54 +1100 Subject: minimaws: fill in software list pages, load software list ROM information --- scripts/minimaws/lib/htmltmpl.py | 80 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) (limited to 'scripts/minimaws/lib/htmltmpl.py') diff --git a/scripts/minimaws/lib/htmltmpl.py b/scripts/minimaws/lib/htmltmpl.py index 627de7de2bc..5ba004a03b2 100644 --- a/scripts/minimaws/lib/htmltmpl.py +++ b/scripts/minimaws/lib/htmltmpl.py @@ -165,6 +165,85 @@ SOURCEFILE_LIST_ROW = string.Template( ' \n') +SOFTWARE_PROLOGUE = string.Template( + '\n' \ + '\n' \ + '\n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' ${title}\n' \ + '\n' \ + '\n' \ + '

${heading}

\n' \ + '\n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n'); + +SOFTWARE_PART_PROLOGUE = string.Template( + '

${heading}

\n' \ + '
Software list:${softwarelistdescription} (${softwarelist})
Short name:${shortname}
Year:${year}
Publisher:${publisher}
Suported:${supported}
\n' \ + ' \n' \ + ' \n') + + +SOFTWARELIST_PROLOGUE = string.Template( + '\n' \ + '\n' \ + '\n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' ${title}\n' \ + '\n' \ + '\n' \ + '

${heading}

\n' \ + '
Short name:${shortname}
Interface:${interface}
\n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + '
Short name:${shortname}
Total:${total}
Supported:${supported}(${supportedpc}%)
Partially supported:${partiallysupported}(${partiallysupportedpc}%)
Unsupported:${unsupported}(${unsupportedpc}%)
\n') + +SOFTWARELIST_ROW = string.Template( + ' \n' \ + ' ${shortname}\n' \ + ' ${description}\n' \ + ' ${year}\n' \ + ' ${publisher}\n' \ + ' ${supported}\n' \ + ' ${parts}\n' \ + ' \n') + + SOFTWARELIST_LIST_PROLOGUE = string.Template( '\n' \ '\n' \ @@ -229,5 +308,6 @@ ROMIDENT_PAGE = string.Template( '\n' \ '
\n' \ '
\n' \ + '
\n' \ '\n' \ '\n') -- cgit v1.2.3-70-g09d2