aboutsummaryrefslogtreecommitdiff
path: root/themes/alps/update-event.html
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-05-20 13:40:54 -0400
committerSimon Ser <contact@emersion.fr>2020-05-20 22:06:35 +0200
commita89225138772feb1b159c2794f345b7e4bb36658 (patch)
tree0a5a8fab454a7e0fa5ffa678a13701e24523a1a3 /themes/alps/update-event.html
parent7fb2b65eaafa7ad63c7b3f6850934f958afa1bb4 (diff)
downloadalps-a89225138772feb1b159c2794f345b7e4bb36658.tar.gz
alps-a89225138772feb1b159c2794f345b7e4bb36658.zip
alps theme: add event page layout
Diffstat (limited to 'themes/alps/update-event.html')
-rw-r--r--themes/alps/update-event.html15
1 files changed, 8 insertions, 7 deletions
diff --git a/themes/alps/update-event.html b/themes/alps/update-event.html
index 7e7c1eb..17c6e16 100644
--- a/themes/alps/update-event.html
+++ b/themes/alps/update-event.html
@@ -21,15 +21,16 @@
<input type="text" name="summary" id="summary" value="{{.Event.Props.Text "SUMMARY"}}">
</label>
- <label>
- <!-- TODO: inputs with time -->
- <span>Start date</span>
- <input type="date" name="start" id="start" value="{{.Event.DateTimeStart nil | ornow | formatinputdate}}"/>
+ <label class="event-date">
+ <span>Starts at</span>
+ <input type="date" name="start" id="start" value="{{.Event.DateTimeStart nil | formatinputdate}}"/>
+ <input type="time" name="start-time" id="start-time" value="{{.Event.DateTimeStart nil | formatinputtime}}"/>
</label>
- <label>
- <span>End date</span>
- <input type="date" name="end" id="end" value="{{.Event.DateTimeEnd nil | ornow | formatinputdate}}"/>
+ <label class="event-date">
+ <span>Ends at</span>
+ <input type="date" name="end" id="end" value="{{.Event.DateTimeEnd nil | formatinputdate}}"/>
+ <input type="time" name="end-time" id="end-time" value="{{.Event.DateTimeEnd nil | formatinputtime}}"/>
</label>
<textarea name="description" id="description">{{.Event.Props.Text "DESCRIPTION"}}</textarea>