Pembaruan UI Menu SK
This commit is contained in:
@@ -36,6 +36,8 @@
|
||||
transition: background-color 0s;
|
||||
}
|
||||
|
||||
@include('verifikasi.sk._kolom_sk_css')
|
||||
|
||||
#table-belum-diklaim tbody .btn-primary,
|
||||
#table-sudah-diklaim tbody .btn-primary {
|
||||
transition: transform 0.1s ease, box-shadow 0.1s ease;
|
||||
@@ -177,7 +179,7 @@
|
||||
{
|
||||
data: 'no_sk',
|
||||
name: 'no_sk',
|
||||
className: 'text-center'
|
||||
className: 'text-start'
|
||||
},
|
||||
{
|
||||
data: 'tentang',
|
||||
@@ -223,15 +225,18 @@
|
||||
.attr('data-bs-placement', 'top')
|
||||
.attr('title', 'Klik untuk detail');
|
||||
},
|
||||
@endcan
|
||||
drawCallback: function() {
|
||||
@can('Verifikasi SK Klaim Ulang')
|
||||
document.querySelectorAll('body > .tooltip').forEach(function(el) { el.remove(); });
|
||||
document.querySelectorAll('#table-belum-diklaim tbody [data-bs-toggle="tooltip"]').forEach(function(el) {
|
||||
var existing = bootstrap.Tooltip.getInstance(el);
|
||||
if (existing) { existing.dispose(); }
|
||||
new bootstrap.Tooltip(el, { trigger: 'hover' });
|
||||
});
|
||||
@endcan
|
||||
initKolomSk('#table-belum-diklaim');
|
||||
},
|
||||
@endcan
|
||||
language: {
|
||||
processing: "<div class='spinner'></div> Sedang Memuat...",
|
||||
},
|
||||
@@ -257,21 +262,26 @@
|
||||
.attr('data-bs-placement', 'top')
|
||||
.attr('title', 'Klik untuk detail');
|
||||
},
|
||||
@endcan
|
||||
drawCallback: function() {
|
||||
@can('Verifikasi SK Klaim Ulang')
|
||||
document.querySelectorAll('body > .tooltip').forEach(function(el) { el.remove(); });
|
||||
document.querySelectorAll('#table-sudah-diklaim tbody [data-bs-toggle="tooltip"]').forEach(function(el) {
|
||||
var existing = bootstrap.Tooltip.getInstance(el);
|
||||
if (existing) { existing.dispose(); }
|
||||
new bootstrap.Tooltip(el, { trigger: 'hover' });
|
||||
});
|
||||
@endcan
|
||||
initKolomSk('#table-sudah-diklaim');
|
||||
},
|
||||
@endcan
|
||||
language: {
|
||||
processing: "<div class='spinner'></div> Sedang Memuat...",
|
||||
},
|
||||
order: [[2, 'asc']]
|
||||
});
|
||||
|
||||
@include('verifikasi.sk._kolom_sk_js')
|
||||
|
||||
// Event listener untuk filter unit kerja (Select2)
|
||||
$('#unit_kerja_filter').on('select2:select select2:clear', function() {
|
||||
tableBelumDiklaim.ajax.reload();
|
||||
|
||||
Reference in New Issue
Block a user