From d1d654ebac2d51e3841675faeb56480e440f622f Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Tue, 5 Mar 2024 18:08:09 +0100 Subject: Initial commit --- frontend/src/lib/pagination/Pagination.svelte | 45 +++++++++++++++++++++++++++ frontend/src/lib/pagination/Target.svelte | 21 +++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 frontend/src/lib/pagination/Pagination.svelte create mode 100644 frontend/src/lib/pagination/Target.svelte (limited to 'frontend/src/lib/pagination') diff --git a/frontend/src/lib/pagination/Pagination.svelte b/frontend/src/lib/pagination/Pagination.svelte new file mode 100644 index 0000000..51612f4 --- /dev/null +++ b/frontend/src/lib/pagination/Pagination.svelte @@ -0,0 +1,45 @@ + + +{#if totalPages > 1} +
{page.toString()}
+