Add theme assets;

This commit is contained in:
2024-01-21 17:18:37 +01:00
parent fcc061aeba
commit aa45b6a645
1425 changed files with 430771 additions and 1 deletions

View File

@@ -0,0 +1,26 @@
// npm package: flatpickr
// github link: https://github.com/flatpickr/flatpickr
$(function() {
'use strict';
// date picker
if($('#flatpickr-date').length) {
flatpickr("#flatpickr-date", {
wrap: true,
dateFormat: "Y-m-d",
});
}
// time picker
if($('#flatpickr-time').length) {
flatpickr("#flatpickr-time", {
wrap: true,
enableTime: true,
noCalendar: true,
dateFormat: "H:i",
});
}
});