From 7c58e22aa8df7270378e22fd77a5f90f68b01340 Mon Sep 17 00:00:00 2001 From: Trent Palmer Date: Sat, 14 Aug 2021 17:42:01 -0700 Subject: [PATCH] make columns selectable --- rank_hugo_themes.py | 2 +- templates/base.html | 6 +- templates/js/buildPage.js | 89 +++---- templates/js/buildSelectionInputs.js | 47 ++++ templates/js/buildSelectionMenu.js | 222 ++++++------------ templates/js/buildSortByDiv.js | 1 + .../js/buildTagAndFeatureSelectionDivs.js | 67 ++++++ .../buildTagAndFeatureSelectionHeadingRows.js | 105 +++++++++ .../js/buildTagAndFeatureSelectionInputs.js | 68 ------ templates/js/buildThemeTableRow.js | 96 +++++--- templates/js/getAvailableTagsAndFeatures.js | 2 + templates/js/selectionMenuCollapse.js | 28 ++- 12 files changed, 427 insertions(+), 306 deletions(-) create mode 100644 templates/js/buildSelectionInputs.js create mode 100644 templates/js/buildTagAndFeatureSelectionDivs.js create mode 100644 templates/js/buildTagAndFeatureSelectionHeadingRows.js delete mode 100644 templates/js/buildTagAndFeatureSelectionInputs.js diff --git a/rank_hugo_themes.py b/rank_hugo_themes.py index 8c4a242..001a9f4 100755 --- a/rank_hugo_themes.py +++ b/rank_hugo_themes.py @@ -472,7 +472,7 @@ if __name__ == "__main__": ''' or test with ` - python -c'import rank_hugo_themes; rank_hugo_themes.parse_themes_toml_for_each_hugo_themes() ; rank_hugo_themes.generate_report()'' + python3 -c'import rank_hugo_themes; rank_hugo_themes.parse_themes_toml_for_each_hugo_themes() ; rank_hugo_themes.generate_report()' ` ''' get_hugo_themes_list() diff --git a/templates/base.html b/templates/base.html index 835f9c9..1aae139 100644 --- a/templates/base.html +++ b/templates/base.html @@ -21,16 +21,18 @@ -
+