ssr sales
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
(ns auto-ap.ssr.components.paginator)
|
||||
(ns auto-ap.ssr.components.paginator
|
||||
(:require [auto-ap.ssr.svg :as svg]))
|
||||
|
||||
(defn bound [x y z]
|
||||
(cond
|
||||
@@ -34,7 +35,10 @@
|
||||
(not= current-page x)
|
||||
(str " text-gray-500 bg-white border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white")))
|
||||
(assoc :href "#"))
|
||||
(inc x)]]))
|
||||
[:div.htmx-indicator.flex.items-center
|
||||
(svg/spinner {:class "inline w-4 h-4 text-black"})]
|
||||
[:div.htmx-indicator-hidden
|
||||
(inc x)]]]))
|
||||
|
||||
|
||||
last-page-button (Math/min (long total-pages) (long (+ max-buttons first-page-button)))
|
||||
|
||||
Reference in New Issue
Block a user