aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Parviainen <saparvia@caterva.eu>2014-11-17 16:51:46 +0100
committerStefan Parviainen <saparvia@caterva.eu>2014-11-17 16:51:46 +0100
commite190adc58980c12c6dffb21dae57194aad354e3c (patch)
tree50311a62da00de1ad2f3d754b23d4be2e833c8f6
parentc1b8608940055adabc8bf4bb85b843eb5cb95412 (diff)
downloadvolse-hubzilla-e190adc58980c12c6dffb21dae57194aad354e3c.tar.gz
volse-hubzilla-e190adc58980c12c6dffb21dae57194aad354e3c.tar.bz2
volse-hubzilla-e190adc58980c12c6dffb21dae57194aad354e3c.zip
Use new date selector for item expiry
-rwxr-xr-xview/tpl/jot.tpl7
1 files changed, 1 insertions, 6 deletions
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index 29dc41525..c77d49a74 100755
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -108,12 +108,7 @@
</div>
<!-- <div class="modal-body"> -->
<div class="modal-body form-group" style="width:90%">
- <div class="input-group input-group-sm date" id="datetimepicker1">
- <span class="input-group-addon"><!-- <span class="glyphicon glyphicon-calendar"></span> -->
- <span class="icon-calendar"></span>
- </span>
- <input id="expiration-date" type='text' class="form-control" data-date-format="YYYY-MM-DD HH:mm" size="20"/>
- </div>
+ <div class='date'><input type='text' placeholder='yyyy-mm-dd HH:MM' name='start_text' id='expiration-date' class="form-control" /></div><script type='text/javascript'>$(function () {var picker = $('#expiration-date').datetimepicker({format:'Y-m-d H:i', minDate: 0 }); })</script>
</div>
<!-- </div> -->
<div class="modal-footer">