Skip to content

Commit

Permalink
Found a workaround for bigskysoftware/htmx#1119
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Aug 21, 2023
1 parent a0f563d commit 9b0876f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aiomonitor/webui/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
type="button"
class="notify-result rounded bg-rose-600 px-2 py-1 text-xs font-semibold text-white shadow-sm hover:bg-rose-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-rose-600 disabled:opacity-50"
hx-delete="/api/task"
hx-disinherit="*"
hx-params="not persistent,filter"
hx-vals='{"task_id": "{{ task_id }}"}'
hx-swap="none"
hx-sync="closest tbody:drop"
Expand All @@ -128,7 +128,7 @@
type="button"
class="rounded bg-indigo-600 px-2 py-1 text-xs font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
hx-get="/api/task?task_id={{ task_id }}"
hx-disinherit="*"
hx-params="not persistent,filter"
hx-swap="none"
hx-sync="closest tbody:drop"
>Trace</button>
Expand Down Expand Up @@ -228,7 +228,7 @@
type="button"
class="rounded bg-indigo-600 px-2 py-1 text-xs font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
hx-get="/api/terminated-task?task_id={{ task_id }}"
hx-disinherit="*"
hx-params="not persistent,filter"
hx-swap="none"
hx-sync="closest tbody:drop"
>Trace</button>
Expand Down

0 comments on commit 9b0876f

Please sign in to comment.