diff --git a/docs/todo/scratchpad.md b/docs/todo/scratchpad.md index 0307052..e966ca4 100644 --- a/docs/todo/scratchpad.md +++ b/docs/todo/scratchpad.md @@ -14,7 +14,6 @@ - maybe move langauges to general tab or put info directly below it to fill space - adding a database requires double click??? im not running into this personally -- pageinate the profilarr log pages # Adaptive Backoff diff --git a/src/routes/settings/logs/+page.svelte b/src/routes/settings/logs/+page.svelte index a12c984..212437f 100644 --- a/src/routes/settings/logs/+page.svelte +++ b/src/routes/settings/logs/+page.svelte @@ -1,10 +1,11 @@
@@ -183,17 +216,60 @@ onDownload={downloadLogs} /> - -
- Showing {filteredLogs.length} of {data.logs.length} logs - {#if data.selectedFile} - from {data.selectedFile} - {/if} + +
+ +
+ Showing {startIndex + 1}-{endIndex} of {filteredLogs.length} logs + {#if filteredLogs.length !== data.logs.length} + (filtered from {data.logs.length}) + {/if} + {#if data.selectedFile} + from {data.selectedFile} + {/if} +
+ + +
+ + + Page {currentPage} of {totalPages} + + +
+ + +
+ Per page: +
+ +
+
+ + +
+ + + Page {currentPage} of {totalPages} + + +