From 480d8ed2d0ea78bb75e051a58f4a4838e3821c66 Mon Sep 17 00:00:00 2001 From: Anne Haley Date: Tue, 7 Jul 2026 12:43:12 -0400 Subject: [PATCH 1/2] Add sidebar filters menu --- templates/index.html | 6 +- templates/macros.html | 28 +++- templates/package.html | 4 +- templates/sidebar.html | 31 +++- templates/static/script.js | 331 ++++++++++++++++++++++++++++++++----- templates/static/style.css | 7 + 6 files changed, 358 insertions(+), 49 deletions(-) diff --git a/templates/index.html b/templates/index.html index f23c903..391211c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -27,12 +27,12 @@ - {% from 'macros.html' import menu_icon, search_icon, mini_search_icon, builds_icon, packages_icon, releases_icon, left_arrow_icon, right_chevron_icon, down_chevron_icon, tag_icon, copy_icon, copy_command_button, install_icon, close_icon, plus_icon, cols_icon, eye_icon, eye_off_icon %} + {% from 'macros.html' import menu_icon, search_icon, mini_search_icon, builds_icon, packages_icon, releases_icon, left_arrow_icon, right_chevron_icon, down_chevron_icon, tag_icon, copy_icon, copy_command_button, install_icon, close_icon, plus_icon, cols_icon, eye_icon, eye_off_icon, filters_icon, box_checked, box_unchecked %} {% include "sidebar.html" %} {% include "install_dialog.html" %} -
+

Loading...

@@ -59,6 +59,8 @@

Package not found.

{{ tag_icon() }} {{ eye_icon() }} {{ eye_off_icon() }} + {{ box_checked() }} + {{ box_unchecked() }}
diff --git a/templates/macros.html b/templates/macros.html index d7017e8..087c636 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -14,7 +14,7 @@ {% endmacro %} {% macro mini_search_icon() %} - +{% endmacro %} + +{% macro filters_icon() %} + +{% endmacro %} + +{% macro box_checked() %} + + + +{% endmacro %} + +{% macro box_unchecked() %} + {% endmacro %} \ No newline at end of file diff --git a/templates/package.html b/templates/package.html index 936bacb..8bcaa7e 100644 --- a/templates/package.html +++ b/templates/package.html @@ -23,9 +23,9 @@

Add filter