diff options
author | Simon Ser <contact@emersion.fr> | 2020-02-05 18:57:16 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-02-05 18:57:16 +0100 |
commit | 9fe20a604c3ccf3f5e6799ed82bbc1d30743fb32 (patch) | |
tree | 9f7220cfed3290674793c7237e0239d962eda32c /plugins/caldav/public/calendar.html | |
parent | a1b43cc5a81c51c35590ed2ea8f47171dc38669c (diff) | |
download | alps-9fe20a604c3ccf3f5e6799ed82bbc1d30743fb32.tar.gz alps-9fe20a604c3ccf3f5e6799ed82bbc1d30743fb32.zip |
plugins/caldav: add pagination to calendar view
Diffstat (limited to 'plugins/caldav/public/calendar.html')
-rw-r--r-- | plugins/caldav/public/calendar.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/caldav/public/calendar.html b/plugins/caldav/public/calendar.html index 6011f9e..1855f4f 100644 --- a/plugins/caldav/public/calendar.html +++ b/plugins/caldav/public/calendar.html @@ -7,6 +7,7 @@ </p> <h2>Calendar: {{.Calendar.Name}}</h2> +<h3>{{.Time.Format "January 2006"}}</h3> {{if .Events}} <ul> @@ -22,4 +23,9 @@ <p>No events.</p> {{end}} +<p> + <a href="/calendar?month={{.PrevPage}}">Previous</a> + ยท <a href="/calendar?month={{.NextPage}}">Next</a> +</p> + {{template "foot.html"}} |