Protect timer operations with session

This commit is contained in:
2024-04-15 23:59:00 +02:00
parent 3d507d36ea
commit 9da246e91e
6 changed files with 86 additions and 54 deletions

View File

@ -7,7 +7,7 @@ import (
templ TimerView(timer model.Timer) {
<div class="timer">
<h1>This is timer { timer.Name } </h1>
<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>