idk random shit

This commit is contained in:
2024-04-16 23:45:34 +02:00
parent cac8554b0b
commit db00bfb79a
4 changed files with 14 additions and 8 deletions

View File

@ -38,7 +38,6 @@ templ timeButton(id model.UUID, value int, unit string) {
templ TimerInfo(timer model.Timer) {
<h1>Timer "{ timer.Name }"</h1>
<p><a href="/">Back to list</a></p>
<p>Start time: <local-date>{ timer.StartTime.AsUTCString() }</local-date></p>
<p>End time: <local-date>{ timer.EndTime.AsUTCString() }</local-date></p>
<p>
@ -57,6 +56,7 @@ templ TimerInfo(timer model.Timer) {
}
templ TimerView(timer model.Timer) {
<p><a href="/">Back to list</a></p>
<div class="timer-info">
@TimerInfo(timer)
</div>