Show timer, set time on create

This commit is contained in:
2024-04-13 23:48:00 +02:00
parent 5e12dabced
commit c3b66fc951
10 changed files with 160 additions and 20 deletions

View File

@ -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 != "" {