alps/plugins/caldav/public/event.html

28 lines
578 B
HTML
Raw Permalink Normal View History

{{template "head.html" .}}
2020-05-13 12:07:44 +00:00
<h1>alps</h1>
<p>
<a href="/calendar">Back</a>
</p>
{{$event := index .Event.Data.Events 0}}
2020-02-25 18:24:35 +00:00
<h2>Event: {{$event.Props.Text "SUMMARY"}}</h2>
<p>
<a href="{{.Event.URL}}/update">Edit</a>
<form action="{{.Event.URL}}/delete" method="post">
<input type="submit" value="Delete">
</form>
</p>
<ul>
2020-02-25 18:24:35 +00:00
<li><strong>Start date</strong>: {{$event.DateTimeStart nil | formatdate}}</li>
<li><strong>End date</strong>: {{$event.DateTimeEnd nil | formatdate}}</li>
</ul>
2020-02-25 18:24:35 +00:00
<pre>{{$event.Props.Text "DESCRIPTION"}}</pre>
{{template "foot.html"}}