balance sheet
This commit is contained in:
@@ -116,10 +116,13 @@
|
||||
(str " bg-white dark:bg-gray-600 border-gray-300 dark:border-gray-700 text-gray-500 hover:text-gray-800 dark:text-gray-400 dark:hover:text-gray-100 font-medium border border-gray-300 dark:border-gray-700")))
|
||||
(assoc :tabindex 0)
|
||||
(assoc :href (:href params "#")))
|
||||
[:div.htmx-indicator.flex.items-center
|
||||
(svg/spinner {:class "inline w-4 h-4 text-white"})
|
||||
[:div.ml-3 "Loading..."]]
|
||||
(into [:div.htmx-indicator-hidden.inline-flex.gap-2.items-center.justify-center] children)])
|
||||
(when (:indicator? params true)
|
||||
[:div.htmx-indicator.flex.items-center
|
||||
(svg/spinner {:class "inline w-4 h-4 text-white"})
|
||||
[:div.ml-3 "Loading..."]])
|
||||
(into [:div.inline-flex.gap-2.items-center.justify-center {:class (when (:indicator? params true)
|
||||
"htmx-indicator-hidden")}]
|
||||
children)])
|
||||
|
||||
(defn icon-button- [params & children]
|
||||
(into
|
||||
|
||||
Reference in New Issue
Block a user