package view
import (
"fmt"
"stevenlr.com/timer/model"
)
templ TimerView(timer model.Timer) {
This is timer { timer.Name }
Back to list
Start time: { timer.StartTime.AsUTCString() }
End time: { timer.EndTime.AsUTCString() }
Total time:
Remaining time:
if !timer.IsFinished() {
Add time
}
}