add task status to header
This commit is contained in:
7
pkg/web/components/status.templ
Normal file
7
pkg/web/components/status.templ
Normal file
@@ -0,0 +1,7 @@
|
||||
package components
|
||||
|
||||
templ Status() {
|
||||
<div hx-get="/status" hx-trigger="load, every 1s" hx-target="#status" hx-swap="innerHTML">
|
||||
<div id="status"></div>
|
||||
</div>
|
||||
}
|
||||
Reference in New Issue
Block a user