diff options
Diffstat (limited to 'scripts/minimaws/lib/htmltmpl.py')
-rw-r--r-- | scripts/minimaws/lib/htmltmpl.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/minimaws/lib/htmltmpl.py b/scripts/minimaws/lib/htmltmpl.py index d465f0d993d..815905a59bb 100644 --- a/scripts/minimaws/lib/htmltmpl.py +++ b/scripts/minimaws/lib/htmltmpl.py @@ -19,6 +19,11 @@ ERROR_PAGE = string.Template( '</html>\n') +SORTABLE_TABLE_EPILOGUE = string.Template( + ' </tbody>\n' + '</table>\n' + '<script>make_table_sortable(document.getElementById("${id}"));</script>\n') + MACHINE_PROLOGUE = string.Template( '<!DOCTYPE html>\n' \ '<html>\n' \ @@ -64,6 +69,15 @@ EXCL_MACHINE_ROW = string.Template( ' <td></td>\n' \ ' </tr>\n') +COMPATIBLE_SLOT_ROW = string.Template( + ' <tr>\n' \ + ' <td><a href="${machinehref}">${shortname}</a></td>\n' \ + ' <td><a href="${machinehref}">${description}</a></td>\n' \ + ' <td>${slot}</td>\n' \ + ' <td>${slotoption}</td>\n' \ + ' <td><a href="${sourcehref}">${sourcefile}</a></td>\n' \ + ' </tr>\n') + SOURCEFILE_PROLOGUE = string.Template( '<!DOCTYPE html>\n' \ |