From f29d8f378e62e388ba444179998a729f75a031a1 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Sun, 22 Mar 2026 20:50:24 -0400 Subject: [PATCH] Format Pagination component code for consistency - Update indentation from 4-space to 2-space convention throughout the component - Reformat import statements to follow consistent spacing and alignment - Standardize function and variable declarations with proper spacing - Improve code readability with consistent formatting across all elements - Clean up HTML template structure with proper indentation - Add newline at end of file for standards compliance This change ensures the Pagination component follows the project's code style conventions and improves maintainability through consistent formatting. --- .../src/helperComponents/Pagination.svelte | 336 +++++++++++------- 1 file changed, 203 insertions(+), 133 deletions(-) diff --git a/frontend/src/helperComponents/Pagination.svelte b/frontend/src/helperComponents/Pagination.svelte index 72b0946..cb3450a 100644 --- a/frontend/src/helperComponents/Pagination.svelte +++ b/frontend/src/helperComponents/Pagination.svelte @@ -1,145 +1,215 @@
- {#if aniListWatchListLoaded.data.Page.pageInfo.lastPage <= 12} - - {/if} -
-
- -
- -
-
Total Anime: {aniListWatchListLoaded.data.Page.pageInfo.total}
- {#if aniListWatchListLoaded.data.Page.pageInfo.lastPage <= 12} -
Page: {page} of {aniListWatchListLoaded.data.Page.pageInfo.lastPage}
- {:else} -
Page: {page} of {aniListWatchListLoaded.data.Page.pageInfo.lastPage}
- {/if} -
- -
-
- - -
- Page # -
- -
-
+ {#if aniListWatchListLoaded.data.Page.pageInfo.lastPage <= 12} + + {/if} +
+
+
-
\ No newline at end of file + +
+
Total Anime: {aniListWatchListLoaded.data.Page.pageInfo.total}
+ {#if aniListWatchListLoaded.data.Page.pageInfo.lastPage <= 12} +
+ Page: {page} of {aniListWatchListLoaded.data.Page.pageInfo.lastPage} +
+ {:else} +
+ Page: {page} of {aniListWatchListLoaded.data.Page.pageInfo.lastPage} +
+ {/if} +
+ +
+
+ + +
+ Page # +
+ +
+
+
+
+