diff options
author | 2021-10-27 14:57:10 +1100 | |
---|---|---|
committer | 2021-10-27 14:57:10 +1100 | |
commit | 7963e94b66da5ae455d99e1cb700604006df5221 (patch) | |
tree | 7bb1e5b6f99f83bbbf7d30eafb5cd30dc5a04944 /docs/release/scripts/minimaws/lib/htmltmpl.py | |
parent | 94b51d9776fe0f3bdd0878b710d4b6bccf17cd47 (diff) |
Files for 0.237tag237
Diffstat (limited to 'docs/release/scripts/minimaws/lib/htmltmpl.py')
-rw-r--r-- | docs/release/scripts/minimaws/lib/htmltmpl.py | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/docs/release/scripts/minimaws/lib/htmltmpl.py b/docs/release/scripts/minimaws/lib/htmltmpl.py index a80b4099787..62e1bbcf1ea 100644 --- a/docs/release/scripts/minimaws/lib/htmltmpl.py +++ b/docs/release/scripts/minimaws/lib/htmltmpl.py @@ -281,11 +281,27 @@ SOFTWARE_CLONES_ROW = string.Template( ' <td>${supported}</td>\n' \ ' </tr>\n') +SOFTWARE_NOTES_PROLOGUE = string.Template( + '<h2 id="heading-notes">Notes</h2>\n' \ + '<div id="div-notes">\n') + +SOFTWARE_NOTES_EPILOGUE = string.Template( + '</div>\n' \ + '<script>make_collapsible(document.getElementById("heading-notes"), document.getElementById("div-notes"))();</script>\n\n') + +SOFTWARE_PARTS_PROLOGUE = string.Template( + '<h2 id="heading-parts">Parts</h2>\n' \ + '<div id="div-parts">\n\n') + +SOFTWARE_PARTS_EPILOGUE = string.Template( + '</div>\n' \ + '<script>make_collapsible(document.getElementById("heading-parts"), document.getElementById("div-parts"));</script>\n\n') + SOFTWARE_PART_PROLOGUE = string.Template( - '<h3>${heading}</h3>\n' \ - '<table class="sysinfo">\n' \ - ' <tr><th>Short name:</th><td>${shortname}</td></tr>\n' \ - ' <tr><th>Interface:</th><td>${interface}</td></tr>\n') + ' <h3>${heading}</h3>\n' \ + ' <table class="sysinfo">\n' \ + ' <tr><th>Short name:</th><td>${shortname}</td></tr>\n' \ + ' <tr><th>Interface:</th><td>${interface}</td></tr>\n') SOFTWARELIST_PROLOGUE = string.Template( @@ -328,6 +344,14 @@ SOFTWARELIST_PROLOGUE = string.Template( ' </tr>\n' \ '</table>\n') +SOFTWARELIST_NOTES_PROLOGUE = string.Template( + '<h2 id="heading-notes">Notes</h2>\n' \ + '<div id="div-notes">\n') + +SOFTWARELIST_NOTES_EPILOGUE = string.Template( + '</div>\n' \ + '<script>make_collapsible(document.getElementById("heading-notes"), document.getElementById("div-notes"))();</script>\n\n') + SOFTWARELIST_MACHINE_TABLE_HEADER = string.Template( '<h2 id="heading-machines">Machines</h2>\n' \ '<table id="tbl-machines">\n' \ |