diff --git a/src/svelte/app/components/pagination-indicator.svelte b/src/svelte/app/components/pagination-indicator.svelte index 04a007b..99cd7b2 100644 --- a/src/svelte/app/components/pagination-indicator.svelte +++ b/src/svelte/app/components/pagination-indicator.svelte @@ -53,50 +53,67 @@
- - +
+ + + handlePageChange(1)} + /> + handlePageChange(currentPage - 1)} + /> + handlePageChange(currentPage + 1)} + /> + handlePageChange(totalPages)} + /> + - {startIndex + 1} - - - {endIndex} + + {startIndex + 1} + - + {endIndex} + + of + {totalItems} - of - {totalItems} - - handlePageChange(1)} - /> - handlePageChange(currentPage - 1)} - /> - handlePageChange(currentPage + 1)} - /> - handlePageChange(totalPages)} - /> - - +
diff --git a/src/svelte/app/index.svelte b/src/svelte/app/index.svelte index 1f31c75..a064109 100644 --- a/src/svelte/app/index.svelte +++ b/src/svelte/app/index.svelte @@ -658,10 +658,6 @@ customFilter.groups = newGroups; } - function handleListViewTagsToggle() { - showListViewTags = !showListViewTags; - } - function handleViewDragOver(e: CustomEvent) { const { nativeEvent } = e.detail; nativeEvent.preventDefault(); @@ -962,44 +958,7 @@ {#if shouldCollapseFilters === false}
- {#if searchFilter.isEnabled} - (searchFilter.value = "")} - /> - {/if} - - - - {#if timestampFilter.isEnabled} - - {/if} - {#if sortFilter.isEnabled} - - {/if} - {#if sortFilter.value == "random"} - - {/if} - - - - {#if customFilter.isEnabled} {/if} + + + + @@ -1044,25 +1011,35 @@ /> -->
- - {#if currentView === "list"} - + {#if timestampFilter.isEnabled} + - {/if} - - + {#if sortFilter.isEnabled} + + {/if} + {#if sortFilter.value == "random"} + + {/if} + + {#if searchFilter.isEnabled} + (searchFilter.value = "")} + /> + {/if} {#if currentView === "grid"} {/if} +