aboutsummaryrefslogtreecommitdiff
path: root/plugins/caldav/public/update-event.html
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-05-20 19:32:53 +0200
committerSimon Ser <contact@emersion.fr>2020-05-20 19:32:53 +0200
commit811891134ee9d4da5a217a670ac5a2dcd0202059 (patch)
tree11edbba3b81f32bd13a92bd65852d8a42dc51af8 /plugins/caldav/public/update-event.html
parent8813faf71ed98cd60dc099e08d57002acb516878 (diff)
downloadalps-811891134ee9d4da5a217a670ac5a2dcd0202059.tar.gz
alps-811891134ee9d4da5a217a670ac5a2dcd0202059.zip
plugins/caldav: add time inputs in event create/update form
Diffstat (limited to 'plugins/caldav/public/update-event.html')
-rw-r--r--plugins/caldav/public/update-event.html11
1 files changed, 6 insertions, 5 deletions
diff --git a/plugins/caldav/public/update-event.html b/plugins/caldav/public/update-event.html
index 0decb5a..ae091bd 100644
--- a/plugins/caldav/public/update-event.html
+++ b/plugins/caldav/public/update-event.html
@@ -15,13 +15,14 @@
<input type="text" name="summary" id="summary" value="{{.Event.Props.Text "SUMMARY"}}">
<br>
- <!-- TODO: inputs with time -->
- <label for="start">Start date:</label>
- <input type="date" name="start" id="start" value="{{.Event.DateTimeStart nil | ornow | formatinputdate}}"/>
+ <label for="start-date">Start date:</label>
+ <input type="date" name="start-date" id="start-date" value="{{.Event.DateTimeStart nil | formatinputdate}}"/>
+ <input type="time" name="start-time" id="start-time" value="{{.Event.DateTimeStart nil | formatinputtime}}"/>
<br>
- <label for="end">End date:</label>
- <input type="date" name="end" id="end" value="{{.Event.DateTimeEnd nil | ornow | formatinputdate}}"/>
+ <label for="end-date">End date:</label>
+ <input type="date" name="end-date" id="end-date" value="{{.Event.DateTimeEnd nil | formatinputdate}}"/>
+ <input type="time" name="end-time" id="end-time" value="{{.Event.DateTimeEnd nil | formatinputtime}}"/>
<br>
<label for="description">Description:</label><br>