initial commit

This commit is contained in:
2025-11-11 14:55:29 +07:00
commit 7c17aa7843
2490 changed files with 606138 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
"use strict";
// Class definition
var KTProjectTargets = function () {
var initDatatable = function () {
const table = document.getElementById('kt_profile_overview_table');
// set date data order
const tableRows = table.querySelectorAll('tbody tr');
tableRows.forEach(row => {
const dateRow = row.querySelectorAll('td');
const realDate = moment(dateRow[1].innerHTML, "MMM D, YYYY").format();
dateRow[1].setAttribute('data-order', realDate);
});
// init datatable --- more info on datatables: https://datatables.net/manual/
const datatable = $(table).DataTable({
"info": false,
'order': [],
"paging": false,
});
}
// Public methods
return {
init: function () {
initDatatable();
}
}
}();
// On document ready
KTUtil.onDOMContentLoaded(function() {
KTProjectTargets.init();
});