change namespace to Webapp\
This commit is contained in:
@@ -493,3 +493,14 @@ input.double, input.integer, input.number {
|
||||
background-color: #d8dbe0;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/** bashboard **/
|
||||
.my-bashboard {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.my-bashboard {
|
||||
height: 500px;
|
||||
}
|
||||
}
|
||||
+2
-3
@@ -373,7 +373,7 @@ var FoniaJS = {
|
||||
});
|
||||
$('.option-tags').each((i, el) => {
|
||||
const elm = $(el);
|
||||
if (!jQuery.isFunction(jQuery.fn.select2)) return;
|
||||
if (typeof jQuery.fn.select2 !== 'function') return;
|
||||
var _opts = {tags: false, dropdownAutoWidth: true, width: 'auto', theme: 'bootstrap-5', language: 'id'};
|
||||
var _dmodal = elm.closest('div.modal');
|
||||
if (_dmodal.length) _opts.dropdownParent = _dmodal;
|
||||
@@ -798,7 +798,7 @@ class _Request_JSONF extends _Request {
|
||||
strBody += '</tbody>';
|
||||
|
||||
$(divData).append(strTab + strHead + strBody + strFoot + '</table>');
|
||||
var opsi = { responsive: true, columnDefs: [{responsivePriority:1,targets:0},{responsivePriority:2,targets:1}], lengthMenu: [], dom: '<"row"<"col-sm-12"tr>><"row"<"col-sm-12 col-lg-auto"<"toolbar">><"col-sm-3 col-lg-auto ms-lg-auto"l><"col-sm-9 col-lg-auto"p>>', autoWidth: false, processing: true, searching: false, columns: aSortCol, order: [[iCol, (ini.config.sort_dir=='A'?'asc':'desc')]], pageLength: ini.config.row_count, stateSave: true, stateSaveCallback: function(sett,data){localStorage.setItem(ini.id,JSON.stringify(data));}, stateLoadCallback: function(sett){try{var data=JSON.parse(localStorage.getItem(ini.id))??{};data.length=ini.config.row_count;return data;}catch(e){console.log(e)}} };
|
||||
var opsi = { responsive: true, columnDefs: [{responsivePriority:1,targets:0},{responsivePriority:2,targets:1},{responsivePriority:0,targets:-1}], lengthMenu: [], dom: '<"row"<"col-sm-12"tr>><"row"<"col-sm-12 col-lg-auto"<"toolbar">><"col-sm-3 col-lg-auto ms-lg-auto"l><"col-sm-9 col-lg-auto"p>>', autoWidth: false, processing: true, searching: false, columns: aSortCol, order: [[iCol, (ini.config.sort_dir=='A'?'asc':'desc')]], pageLength: ini.config.row_count, stateSave: true, stateSaveCallback: function(sett,data){localStorage.setItem(ini.id,JSON.stringify(data));}, stateLoadCallback: function(sett){try{var data=JSON.parse(localStorage.getItem(ini.id))??{};data.length=ini.config.row_count;return data;}catch(e){console.log(e)}} };
|
||||
/** start live db **/
|
||||
if (ini.config.live){
|
||||
var post_data = {};
|
||||
@@ -1009,7 +1009,6 @@ class _Request_JSONF extends _Request {
|
||||
tr.addClass('dt-hasChild parent');
|
||||
}
|
||||
});
|
||||
// disnini
|
||||
}
|
||||
var otabel = $('#'+ini.id+'Tabel').DataTable(opsi);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user