From a2b3c592df4761c8be7a196319b0efbb7d67d307 Mon Sep 17 00:00:00 2001 From: Joxit Date: Fri, 2 Apr 2021 04:56:31 +0200 Subject: [PATCH] feat(search-bar): add search bar to catalog, this will filter images --- src/components/catalog/catalog-element.riot | 23 +++++++--- src/components/catalog/catalog.riot | 2 +- src/components/docker-registry-ui.riot | 9 +++- src/components/search-bar.riot | 48 +++++++++++++++++++++ 4 files changed, 75 insertions(+), 7 deletions(-) create mode 100644 src/components/search-bar.riot diff --git a/src/components/catalog/catalog-element.riot b/src/components/catalog/catalog-element.riot index 15f0caf..5208698 100644 --- a/src/components/catalog/catalog-element.riot +++ b/src/components/catalog/catalog-element.riot @@ -16,7 +16,8 @@ along with this program. If not, see . --> -
+
@@ -24,17 +25,20 @@ along with this program. If not, see . send { state.image || state.repo }
- { state.images.length } images + { state.nImages } images expand_more
-
diff --git a/src/components/catalog/catalog.riot b/src/components/catalog/catalog.riot index 55a5fc5..f8def0f 100644 --- a/src/components/catalog/catalog.riot +++ b/src/components/catalog/catalog.riot @@ -26,7 +26,7 @@ along with this program. If not, see .
- + + + \ No newline at end of file