summaryrefslogtreecommitdiff
path: root/view/timer.templ
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-04-10 00:14:11 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-04-10 00:14:11 +0200
commit49f7be2a35539bae2d43594c9b39268eec7837d0 (patch)
tree69b43e7ce19522b26e57bb1e82a51e9a03ee7523 /view/timer.templ
parentc60dd3357fc84e14795f5f864e9fa9ce7150179f (diff)
Time !
Diffstat (limited to 'view/timer.templ')
-rw-r--r--view/timer.templ6
1 files changed, 4 insertions, 2 deletions
diff --git a/view/timer.templ b/view/timer.templ
index 18f0a7b..fa258eb 100644
--- a/view/timer.templ
+++ b/view/timer.templ
@@ -5,6 +5,8 @@ import (
)
templ TimerView(timer model.Timer) {
- <h1>This is timer { timer.Name }</h1>
- <a href="/">Back to list</a>
+ <h1>This is timer { timer.Name } </h1>
+ <p><a href="/">Back to list</a></p>
+ <p>Start time: { timer.StartTime.String() }</p>
+ <p>End time: { timer.EndTime.String() }</p>
}