Refactor task handling and improve status checking in issue management web
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package components
|
||||
|
||||
templ Status(msg string) {
|
||||
<div id="status" hx-get="/status" hx-trigger="load, click, task-status-check from:body" hx-target="#status" hx-swap="outerHTML">
|
||||
<div id="status" hx-get="/status" hx-trigger="load, click, check-status from:body" hx-target="#status" hx-swap="outerHTML">
|
||||
<button type="button" class="btn btn-outline btn-sm" hx-get="/status/modal" hx-target="#modal-container" hx-swap="innerHTML">{ msg }</button>
|
||||
</div>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user