diff --git a/aiomonitor/webui/templates/index.html b/aiomonitor/webui/templates/index.html index 084a022..951365e 100644 --- a/aiomonitor/webui/templates/index.html +++ b/aiomonitor/webui/templates/index.html @@ -117,7 +117,8 @@ 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-vals='{"task_id": "{{ task_id }}"' + hx-disinherit="*" + hx-vals='{"task_id": "{{ task_id }}"}' hx-swap="none" hx-sync="closest tbody:drop" onclick="this.disabled=true" @@ -127,6 +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-swap="none" hx-sync="closest tbody:drop" >Trace @@ -226,6 +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-swap="none" hx-sync="closest tbody:drop" >Trace diff --git a/aiomonitor/webui/templates/layout.html b/aiomonitor/webui/templates/layout.html index 7765696..2ad5bd6 100644 --- a/aiomonitor/webui/templates/layout.html +++ b/aiomonitor/webui/templates/layout.html @@ -3,6 +3,7 @@
+