From 9def0b27c9958c5c75466f56c17b6dc4d44d2b50 Mon Sep 17 00:00:00 2001 From: Philipp Dormann Date: Wed, 12 Apr 2023 19:56:29 +0200 Subject: [PATCH] fix: formatting --- src/components/runners/RunnersOverview.svelte | 5 +- src/components/shared/TableBottom.svelte | 134 +++++++++--------- 2 files changed, 69 insertions(+), 70 deletions(-) diff --git a/src/components/runners/RunnersOverview.svelte b/src/components/runners/RunnersOverview.svelte index edd3832f..d4a3bf36 100644 --- a/src/components/runners/RunnersOverview.svelte +++ b/src/components/runners/RunnersOverview.svelte @@ -214,7 +214,7 @@ /> {#each headerGroup.headers as header} - + {/each} {/each} @@ -245,7 +245,6 @@
- {/if} {/if} - \ No newline at end of file + diff --git a/src/components/shared/TableBottom.svelte b/src/components/shared/TableBottom.svelte index 33eb8ddf..1d6194fb 100644 --- a/src/components/shared/TableBottom.svelte +++ b/src/components/shared/TableBottom.svelte @@ -1,71 +1,71 @@ +
- - - - - -
Page
- - {$table.getState().pagination.pageIndex + 1} of{" "} - {$table.getPageCount()} - -
- - | Go to page: - { - const page = e.target.value ? Number(e.target.value) - 1 : 0; - $table.setPageIndex(page); - }} - class="border p-1 rounded w-16" - /> - - { + const page = e.target.value ? Number(e.target.value) - 1 : 0; + $table.setPageIndex(page); }} - > - {#each [25, 50, 100, 250, 500] as pageSize} - - {/each} - -
- -
- {Object.keys(selected).length} of{" "} - {$table.getPreFilteredRowModel().rows.length} Total Rows Selected -
\ No newline at end of file + class="border p-1 rounded w-16" + /> + + +
+ +
+ {Object.keys(selected).length} of{" "} + {$table.getPreFilteredRowModel().rows.length} Total Rows Selected +