aboutsummaryrefslogtreecommitdiff
path: root/themes/alps/update-event.html
diff options
context:
space:
mode:
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>