Browse Source

add datetime example

pull/3525/head
Daniel 4 years ago
parent
commit
4e5cb3e26b
  1. 16
      pages/forms/advanced.html

16
pages/forms/advanced.html

@ -1268,6 +1268,16 @@
</div>
</div>
</div>
<!-- Date and time -->
<div class="form-group">
<label>Date and time:</label>
<div class="input-group date" id="reservationdatetime" data-target-input="nearest">
<input type="text" class="form-control datetimepicker-input" data-target="#reservationdatetime"/>
<div class="input-group-append" data-target="#reservationdatetime" data-toggle="datetimepicker">
<div class="input-group-text"><i class="fa fa-calendar"></i></div>
</div>
</div>
</div>
<!-- /.form group -->
<!-- Date range -->
<div class="form-group">
@ -1692,10 +1702,14 @@
//Money Euro
$('[data-mask]').inputmask()
//Date range picker
//Date picker
$('#reservationdate').datetimepicker({
format: 'L'
});
//Date and time picker
$('#reservationdatetime').datetimepicker({ icons: { time: 'far fa-clock' } });
//Date range picker
$('#reservation').daterangepicker()
//Date range picker with time picker

Loading…
Cancel
Save