Timer token show & reset

This commit is contained in:
2024-04-16 23:08:59 +02:00
parent 4e715ab1e1
commit 13a85f4218
8 changed files with 225 additions and 76 deletions

View File

@ -13,6 +13,7 @@ templ timer(t model.Timer) {
href="javascript:void(0);"
hx-delete={ fmt.Sprint("/timer/", t.Id) }
hx-target="closest .timer-row"
hx-confirm={ fmt.Sprint("Are you sure you want to delete timer \"", t.Name , "\"?") }
>Delete</a>
</p>
}