Skip to content

Commit

Permalink
Make the htmx attr style consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Aug 21, 2023
1 parent 9b0876f commit b06c896
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions aiomonitor/webui/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,9 @@
<button
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-get="/api/task"
hx-params="not persistent,filter"
hx-vals='{"task_id": "{{ task_id }}"}'
hx-swap="none"
hx-sync="closest tbody:drop"
>Trace</button>
Expand Down Expand Up @@ -227,8 +228,9 @@
<button
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-get="/api/terminated-task"
hx-params="not persistent,filter"
hx-vals='{"task_id": "{{ task_id }}"}'
hx-swap="none"
hx-sync="closest tbody:drop"
>Trace</button>
Expand Down

0 comments on commit b06c896

Please sign in to comment.