You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.0 KiB
40 lines
1.0 KiB
$(function () {
|
|
//Textarea auto growth
|
|
autosize($('textarea.auto-growth'));
|
|
|
|
//Datetimepicker plugin
|
|
$('.datetimepicker').bootstrapMaterialDatePicker({
|
|
format: 'dddd DD MMMM YYYY - HH:mm',
|
|
clearButton: true,
|
|
weekStart: 1
|
|
});
|
|
|
|
$('.datepicker').bootstrapMaterialDatePicker({
|
|
format: 'dddd DD MMMM YYYY',
|
|
clearButton: true,
|
|
weekStart: 1,
|
|
time: false
|
|
});
|
|
|
|
$('.timepicker').bootstrapMaterialDatePicker({
|
|
format: 'HH:mm',
|
|
clearButton: true,
|
|
date: false
|
|
});
|
|
|
|
//Bootstrap datepicker plugin
|
|
$('#bs_datepicker_container input').datepicker({
|
|
autoclose: true,
|
|
container: '#bs_datepicker_container'
|
|
});
|
|
|
|
$('#bs_datepicker_component_container').datepicker({
|
|
autoclose: true,
|
|
container: '#bs_datepicker_component_container'
|
|
});
|
|
//
|
|
$('#bs_datepicker_range_container').datepicker({
|
|
autoclose: true,
|
|
container: '#bs_datepicker_range_container'
|
|
});
|
|
});
|