From dd1f381e57312be59e15f8792a06f3f0cd922d76 Mon Sep 17 00:00:00 2001
From: alex <alex@alexloehr.net>
Date: Sat, 12 Jul 2025 13:19:19 +0000
Subject: [PATCH] adding createKurs

---
 vue/src/components/Pagination.vue |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/vue/src/components/Pagination.vue b/vue/src/components/Pagination.vue
index ece7eba..02c85b0 100644
--- a/vue/src/components/Pagination.vue
+++ b/vue/src/components/Pagination.vue
@@ -10,6 +10,7 @@
    total: Number,
    offset: Number,
    limit: Number,
+   current: Number,
 })
 
 const emit = defineEmits(["go"])
@@ -70,10 +71,10 @@
 
    <div class="pagination">
       <div class="pagination-buttons">
-
+<!--         <pre>&#45;&#45;{{current}}&#45;&#45;</pre>-->
          <input type="button" @click="goStart()" class="start" value="«">
          <input type="button" @click="goPrev()" class="prev" value="‹">
-         <span class="current">{{ offset }} - {{ offset + limit }} / {{ total }}</span>
+         <span class="current">{{ offset }} - {{ offset + current }} / {{ total }}</span>
          <input type="button" @click="goNext()" class="next" value="›">
          <input type="button" @click="goEnd()" class="end" value="»">
          <KeyboardToggle :initial="false" @toggle="toggleKeyboard" style="color: #666" />
@@ -133,7 +134,6 @@
    display flex;
    flex-direction column
    align-items center;
-   margin -1em 0 1em 0;
 .pagination-buttons
    font-size 1.33rem
    display flex;
@@ -161,6 +161,11 @@
    //all: unset
    border none
    width 1em
+input[type=button]
+   color rgb(0,0,238)
+   cursor pointer;
+   &:hover
+      background-color #ddd;
 
 
 button

--
Gitblit v1.8.0