This commit is contained in:
David Štaleker
2025-07-18 05:33:16 +02:00
parent 401a367e5d
commit db0cc8d3de
14776 changed files with 9251484 additions and 0 deletions

View File

@@ -0,0 +1,68 @@
// Bootstrap Material DateTimePicker
$(function() {
$('.dtp-datetime').bootstrapMaterialDatePicker({
weekStart: 1,
format: 'DD.MM.YYYY HH:mm',
shortTime: false,
nowButton: true,
clearButton: true,
lang: "sl",
minDate: new Date(),
cancelText: 'Prekliči',
okText: 'OK',
nowText: 'Trenutno',
clearText: 'Počisti'
});
$('.dtp-datenotime').bootstrapMaterialDatePicker({
weekStart: 1,
format: 'DD.MM.YYYY',
shortTime: false,
nowButton: true,
clearButton: true,
lang: "sl",
minDate: new Date(1900, 1, 1),
cancelText: 'Prekliči',
okText: 'OK',
nowText: 'Trenutno',
clearText: 'Počisti',
time: false
});
});
// Bootstrap Modal
$('#modal-placeholder').on('shown.bs.modal',
function() {
$('.dtp-datetime').bootstrapMaterialDatePicker({
weekStart: 1,
format: 'DD.MM.YYYY HH:mm',
shortTime: false,
nowButton: true,
clearButton: true,
lang: "sl",
minDate: new Date(),
cancelText: 'Prekliči',
okText: 'OK',
nowText: 'Trenutno',
clearText: 'Počisti'
});
$('.dtp-date').bootstrapMaterialDatePicker({
weekStart: 1,
format: 'DD.MM.YYYY',
shortTime: false,
nowButton: true,
clearButton: true,
lang: "sl",
minDate: new Date(),
cancelText: 'Prekliči',
okText: 'OK',
nowText: 'Trenutno',
clearText: 'Počisti'
});
});
// Bootstrap Select
$(function () {
$('.selectpicker').selectpicker();
});