diff --git a/core/templates/base.html b/core/templates/base.html index bc20c8c..d20cc8c 100644 --- a/core/templates/base.html +++ b/core/templates/base.html @@ -51,6 +51,16 @@ .slider-output { width: 4rem !important; } + .htmx-indicator{ + opacity:0; + transition: opacity 500ms ease-in; + } + .htmx-request .htmx-indicator{ + opacity:1 + } + .htmx-request.htmx-indicator{ + opacity:1 + } diff --git a/core/templates/ui/drilldown/drilldown.html b/core/templates/ui/drilldown/drilldown.html index 109f36d..9b2a067 100644 --- a/core/templates/ui/drilldown/drilldown.html +++ b/core/templates/ui/drilldown/drilldown.html @@ -6,7 +6,8 @@
+ hx-swap="innerHTML" + hx-indicator="#spinner"> {% csrf_token %}
@@ -42,6 +43,7 @@ class="button is-light has-text-link is-right"> Options
+ Static