aboutsummaryrefslogtreecommitdiff
path: root/themes/sourcehut/event.html
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-02-14 15:30:56 +0100
committerSimon Ser <contact@emersion.fr>2020-02-14 15:30:56 +0100
commit5364221dd4fbd4cf77e5c1f8e3ff52b6f86f5fae (patch)
treec74f88eb5d12778777a45b1af53022a5a0020f48 /themes/sourcehut/event.html
parent93e988855ff99eeaa50e56b377dee2b79c82ea79 (diff)
downloadalps-5364221dd4fbd4cf77e5c1f8e3ff52b6f86f5fae.tar.gz
alps-5364221dd4fbd4cf77e5c1f8e3ff52b6f86f5fae.zip
themes/sourcehut: add CalDAV views
Diffstat (limited to 'themes/sourcehut/event.html')
-rw-r--r--themes/sourcehut/event.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/themes/sourcehut/event.html b/themes/sourcehut/event.html
new file mode 100644
index 0000000..6290742
--- /dev/null
+++ b/themes/sourcehut/event.html
@@ -0,0 +1,37 @@
+{{template "head.html"}}
+{{template "nav.html" .Global}}
+
+{{$event := index .Event.Data.Events 0}}
+
+<div class="container-fluid">
+ <div class="row">
+ <div class="col-md-12 header-tabbed">
+ <h2>{{$event.Summary}}</h2>
+ <ul class="nav nav-tabs">
+ <li class="nav-item">
+ <a class="nav-link active" href="#">View</a>
+ </li>
+ <li class="mr-auto d-none d-sm-flex"></li>
+ <li class="nav-item">
+ <a class="nav-link" href="/calendar">
+ <span class="icon icon-caret-left">
+ {{template "caret-left.html"}}
+ </span>
+ Back
+ </a>
+ </li>
+ </ul>
+ </div>
+ </div>
+</div>
+
+<div class="container">
+ <ul>
+ <li><strong>Start date</strong>: {{$event.StartDate | formatdate}}</li>
+ <li><strong>End date</strong>: {{$event.EndDate | formatdate}}</li>
+ </ul>
+
+ <pre>{{$event.Description}}</pre>
+</div>
+
+{{template "foot.html"}}