diff options
-rw-r--r-- | plugins/caldav/public/event.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/plugins/caldav/public/event.html b/plugins/caldav/public/event.html new file mode 100644 index 0000000..93f4ccf --- /dev/null +++ b/plugins/caldav/public/event.html @@ -0,0 +1,20 @@ +{{template "head.html"}} + +<h1>koushin</h1> + +<p> + <a href="/calendar">Back</a> +</p> + +{{$event := index .Event.Data.Events 0}} + +<h2>Event: {{$event.Summary}}</h2> + +<ul> + <li><strong>Start date</strong>: {{$event.StartDate | formatdate}}</li> + <li><strong>End date</strong>: {{$event.EndDate | formatdate}}</li> +</ul> + +<pre>{{$event.Description}}</pre> + +{{template "foot.html"}} |