diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-04-13 23:48:00 +0200 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-04-13 23:48:00 +0200 |
commit | c3b66fc95102b36bf21eacdc960183216683c270 (patch) | |
tree | 76b94129c680dd67979e44bf2adf48213513a0d3 /view/timers_list.templ | |
parent | 5e12dabced6ce55031f5c7f13afb15048d03edcd (diff) |
Show timer, set time on create
Diffstat (limited to 'view/timers_list.templ')
-rw-r--r-- | view/timers_list.templ | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/view/timers_list.templ b/view/timers_list.templ index 2d71a52..92d7013 100644 --- a/view/timers_list.templ +++ b/view/timers_list.templ @@ -25,6 +25,8 @@ templ TimerCreateForm(timerName string, err string) { >
<p>
<input type="text" name="timerName" value={ timerName } placeholder="Name" />
+ <input type="number" name="days" placeholder="Days" style="width: 5em;" />
+ <input type="number" name="hours" placeholder="Hours" style="width: 5em;" />
<button type="submit">Create</button>
</p>
if err != "" {
|