diff --git a/templates/bookshelf.templ b/templates/bookshelf.templ index 814df43..63bed19 100644 --- a/templates/bookshelf.templ +++ b/templates/bookshelf.templ @@ -75,40 +75,32 @@ templ BookShelf( type="text" placeholder="Search all fields..." hx-get="/api/media-items/search" - hx-trigger="keyup[key=='Enter'] from:#search-form, keyup changed delay:500ms" + hx-trigger="keyup[key=='Enter'] from:#filter-form, keyup changed delay:500ms" hx-target="#books-grid" hx-include="#filter-form, #library-select" /> -
-
- - - - -
+ +
- +
+ +
+ + + +
+ +
+ + +
@@ -139,7 +174,7 @@ templ BookShelf( style="background-color: var(--bg-primary); color: var(--text-primary); border-color: var(--border);" hx-get="/api/media-items/search" hx-target="#books-grid" - hx-trigger="change" + hx-trigger="keyup[key=='Enter'] from:#filter-form" hx-include="#filter-form" />
@@ -171,7 +206,7 @@ templ BookShelf( Has Cover - +
- +
- +
- +
- +
- +