Perbaikan Log Verifikasi Absen
This commit is contained in:
@@ -87,6 +87,23 @@
|
||||
border-color: #b91c1c;
|
||||
}
|
||||
|
||||
.btn-setujui:disabled,
|
||||
.btn-tolak:disabled {
|
||||
color: #fff;
|
||||
opacity: 0.75;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.btn-setujui:disabled {
|
||||
background: #16a34a;
|
||||
border-color: #16a34a;
|
||||
}
|
||||
|
||||
.btn-tolak:disabled {
|
||||
background: #dc2626;
|
||||
border-color: #dc2626;
|
||||
}
|
||||
|
||||
.aksi-form {
|
||||
display: none;
|
||||
border-top: 1px solid #e5e7eb;
|
||||
@@ -411,7 +428,7 @@
|
||||
e.preventDefault();
|
||||
const $btn = $(this).find('button[type=submit]');
|
||||
const originalText = $btn.text();
|
||||
$btn.prop('disabled', true).text('Memproses...');
|
||||
$btn.prop('disabled', true).html('<span class="spinner-border spinner-border-sm me-2" role="status" aria-hidden="true"></span>Memproses...');
|
||||
|
||||
$.ajax({
|
||||
url: `${apiBase}/setujui?token=${encodeURIComponent(token)}`,
|
||||
@@ -437,7 +454,7 @@
|
||||
e.preventDefault();
|
||||
const $btn = $(this).find('button[type=submit]');
|
||||
const originalText = $btn.text();
|
||||
$btn.prop('disabled', true).text('Memproses...');
|
||||
$btn.prop('disabled', true).html('<span class="spinner-border spinner-border-sm me-2" role="status" aria-hidden="true"></span>Memproses...');
|
||||
|
||||
$.ajax({
|
||||
url: `${apiBase}/tolak?token=${encodeURIComponent(token)}`,
|
||||
|
||||
Reference in New Issue
Block a user