diff options
author | Drew DeVault <sir@cmpwn.com> | 2020-05-20 12:39:37 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-05-20 18:59:01 +0200 |
commit | 7142da950d468edd04f3fdb509634684fc28c38f (patch) | |
tree | c28278a6b0f70dc91334c30f6dffecce193998d1 /themes/alps/calendar-header.html | |
parent | 50cb8bef77cf2a6c2feed3a25af4871b2e6792ff (diff) | |
download | alps-7142da950d468edd04f3fdb509634684fc28c38f.tar.gz alps-7142da950d468edd04f3fdb509634684fc28c38f.zip |
alps theme: initial layout for calendar
Diffstat (limited to 'themes/alps/calendar-header.html')
-rw-r--r-- | themes/alps/calendar-header.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/themes/alps/calendar-header.html b/themes/alps/calendar-header.html new file mode 100644 index 0000000..d902806 --- /dev/null +++ b/themes/alps/calendar-header.html @@ -0,0 +1,18 @@ +<div class="actions-wrap"> + <div class="actions-pagination" style="margin-left: 0;"> + <a href="?month={{.PrevPage}}" class="button-link">« {{.PrevTime.Format "January"}}</a> + <h3>{{.Time.Format "January 2006"}}</h3> + <a href="?month={{.NextPage}}" class="button-link">{{.NextTime.Format "January"}} »</a> + {{if ne .Time.Month .Now.Month}} + <a href="/calendar" class="button-link">Today »</a> + {{end}} + </div> + + <form method="get" class="actions-search action-group"> + <input + type="text" + name="query" + placeholder="Search {{.Calendar.Name}} events..."> + <button>Search</button> + </form> +</div> |