can run transaction rules

This commit is contained in:
2023-10-28 21:03:59 -07:00
parent e8a419fb3c
commit f0a7c378f7
4 changed files with 164 additions and 66 deletions

View File

@@ -5,6 +5,7 @@
[auto-ap.ssr-routes :as ssr-routes]
[auto-ap.client-routes :as client-routes]
[auto-ap.ssr.hx :as hx]
[auto-ap.routes.admin.transaction-rules :as transaction-rules]
[auto-ap.ssr.hiccup-helper :as hh]))
(defn menu-button- [params & children]
@@ -214,7 +215,7 @@
[:li
(menu-button- {:icon svg/cog
:href (bidi/path-for ssr-routes/only-routes :admin-transaction-rules)}
:href (bidi/path-for ssr-routes/only-routes ::transaction-rules/page)}
"Rules")]
[:li

View File

@@ -8,7 +8,7 @@
(defn page- [{:keys [nav page-specific client client-selection identity app-params] :or {app-params {}}} & children]
[:div#app {"_" (hiccup/raw "
on notification put event.detail.value into #notification-details then add .htmx-added to #notification-holder then remove .hidden from #notification-holder then wait 30ms then remove .htmx-added from #notification-holder
on notification from body put event.detail.value into #notification-details then add .htmx-added to #notification-holder then remove .hidden from #notification-holder then wait 30ms then remove .htmx-added from #notification-holder
on htmx:responseError put event.detail.xhr.response into #error-details then add .htmx-added to #error-holder then remove .hidden from #error-holder then wait 30ms then remove .htmx-added from #error-holder"
)
:x-data (hx/json {:leftNavShow true})}