aboutsummaryrefslogtreecommitdiff
path: root/plugins/caldav/public/calendar.html
blob: 6011f9efb4503ab8b93ccbc737841583dabbf1c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{{template "head.html"}}

<h1>koushin</h1>

<p>
  <a href="/">Back</a>
</p>

<h2>Calendar: {{.Calendar.Name}}</h2>

{{if .Events}}
  <ul>
    {{range .Events}}
      {{$event := index .Data.Events 0}}
      <li>
        <a href="/calendar/{{$event.UID | pathescape}}">{{$event.Summary}}</a>
        ({{$event.StartDate | formatdate}}{{$event.EndDate | formatdate}})
      </li>
    {{end}}
  </ul>
{{else}}
  <p>No events.</p>
{{end}}

{{template "foot.html"}}