Commit c83eb1de authored by fred.perso's avatar fred.perso

update datepicker widget config

parent 2feb7276
DateAndTimeInput = """
$(function () {
$('.dateinput').datetimepicker({
useCurrent: false,
format: 'DD/MM/YYYY',
maxDate: Date.now(),
showTodayButton: true,
showClear: true,
showClose: true,
icons: {
time: "fa fa-clock-o",
previous: 'fa fa-chevron-left',
next: 'fa fa-chevron-right',
date: "fa fa-calendar",
up: "fa fa-arrow-up",
down: "fa fa-arrow-down"
}
showClose: true
});
$('.timeinput').datetimepicker({
useCurrent: false,
defaultDate:false,
format: 'HH:mm',
icons: {
up: "fa fa-arrow-up",
down: "fa fa-arrow-down"
}
});
});
"""
......@@ -28,6 +19,7 @@ DateAndTimeInput = """
DateInput = """
$(function () {
$('.dateinput').datetimepicker({
useCurrent: false,
format: 'DD/MM/YYYY',
maxDate: Date.now(),
showTodayButton: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment