From 87fa34f9c547e4b6649ab90a1f3838499cbc44a1 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Wed, 18 Dec 2019 04:25:52 +1100 Subject: minimaws: load more stuff, link more stuff --- scripts/minimaws/lib/htmltmpl.py | 93 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 89 insertions(+), 4 deletions(-) (limited to 'scripts/minimaws/lib/htmltmpl.py') diff --git a/scripts/minimaws/lib/htmltmpl.py b/scripts/minimaws/lib/htmltmpl.py index d1f5fa29852..185771af6ee 100644 --- a/scripts/minimaws/lib/htmltmpl.py +++ b/scripts/minimaws/lib/htmltmpl.py @@ -24,6 +24,7 @@ SORTABLE_TABLE_EPILOGUE = string.Template( '\n' '\n') + MACHINE_PROLOGUE = string.Template( '\n' \ '\n' \ @@ -48,6 +49,27 @@ MACHINE_PROLOGUE = string.Template( ' Runnable:${runnable}\n' \ ' Source file:${sourcefile}\n') +MACHINE_CLONES_PROLOGUE = string.Template( + '

Clones

\n' \ + '\n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n') + +MACHINE_CLONES_ROW = string.Template( + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n') + MACHINE_OPTIONS_HEADING = string.Template( '

Options

\n' \ '

\n' \ @@ -183,11 +205,33 @@ SOFTWARE_PROLOGUE = string.Template( '

\n' \ ' \n' \ ' \n' \ - ' \n' \ - ' \n'); + ' \n'); + +SOFTWARE_CLONES_PROLOGUE = string.Template( + '

Clones

\n' \ + '
Short nameDescriptionYearManufacturer
${shortname}${description}${year}${manufacturer}
Software list:${softwarelistdescription} (${softwarelist})
Short name:${shortname}
Year:${year}
Publisher:${publisher}
Suported:${supported}
Publisher:${publisher}
\n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n') + +SOFTWARE_CLONES_ROW = string.Template( + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n') SOFTWARE_PART_PROLOGUE = string.Template( - '

${heading}

\n' \ + '

${heading}

\n' \ '
Short nameDescriptionYearPublisherSupported
${shortname}${description}${year}${publisher}${supported}
\n' \ ' \n' \ ' \n') @@ -233,7 +277,47 @@ SOFTWARELIST_PROLOGUE = string.Template( ' \n' \ '
Short name:${shortname}
Interface:${interface}
\n') -SOFTWARELIST_ROW = string.Template( +SOFTWARELIST_MACHINE_TABLE_HEADER = string.Template( + '

Machines

\n' \ + '\n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n') + +SOFTWARELIST_MACHINE_TABLE_ROW = string.Template( + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n') + +SOFTWARELIST_SOFTWARE_TABLE_HEADER = string.Template( + '

Software

\n' \ + '
Short nameDescriptionYearManufacturerStatus
${shortname}${description}${year}${manufacturer}${status}
\n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n' \ + ' \n') + +SOFTWARELIST_SOFTWARE_ROW = string.Template( ' \n' \ ' \n' \ ' \n' \ @@ -242,6 +326,7 @@ SOFTWARELIST_ROW = string.Template( ' \n' \ ' \n' \ ' \n' \ + ' \n' \ ' \n') -- cgit v1.2.3-70-g09d2
Short nameDescriptionYearPublisherSupportedPartsBad dumpsParent
${shortname}${description}${supported}${parts}${baddumps}${parent}