From 13a85f42183b7373296fa85319d33f1359feaea9 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Tue, 16 Apr 2024 23:08:59 +0200 Subject: Timer token show & reset --- view/timer.templ | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'view/timer.templ') diff --git a/view/timer.templ b/view/timer.templ index 7e9ab7f..76bd7ba 100644 --- a/view/timer.templ +++ b/view/timer.templ @@ -5,6 +5,22 @@ import ( "stevenlr.com/timer/model" ) +templ TimerTokenForm(timer model.Timer) { +

+ + +

+} + templ TimerView(timer model.Timer) {

Timer "{ timer.Name }"

@@ -38,6 +54,8 @@ templ TimerView(timer model.Timer) {

} +

API token

+ @TimerTokenForm(timer)
} -- cgit