Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0badf961a0 | |||
| 05598c78da | |||
| 0e1575ac62 | |||
| 597e5fe5b6 |
@@ -73,23 +73,33 @@
|
||||
}
|
||||
|
||||
.btn-setujui {
|
||||
background: #16a34a;
|
||||
border-color: #16a34a;
|
||||
}
|
||||
|
||||
.btn-setujui:hover {
|
||||
background: #15803d;
|
||||
border-color: #15803d;
|
||||
--bs-btn-color: #fff;
|
||||
--bs-btn-bg: #16a34a;
|
||||
--bs-btn-border-color: #16a34a;
|
||||
--bs-btn-hover-color: #fff;
|
||||
--bs-btn-hover-bg: #15803d;
|
||||
--bs-btn-hover-border-color: #15803d;
|
||||
--bs-btn-active-color: #fff;
|
||||
--bs-btn-active-bg: #15803d;
|
||||
--bs-btn-active-border-color: #15803d;
|
||||
--bs-btn-disabled-color: #fff;
|
||||
--bs-btn-disabled-bg: #16a34a;
|
||||
--bs-btn-disabled-border-color: #16a34a;
|
||||
}
|
||||
|
||||
.btn-tolak {
|
||||
background: #dc2626;
|
||||
border-color: #dc2626;
|
||||
}
|
||||
|
||||
.btn-tolak:hover {
|
||||
background: #b91c1c;
|
||||
border-color: #b91c1c;
|
||||
--bs-btn-color: #fff;
|
||||
--bs-btn-bg: #dc2626;
|
||||
--bs-btn-border-color: #dc2626;
|
||||
--bs-btn-hover-color: #fff;
|
||||
--bs-btn-hover-bg: #b91c1c;
|
||||
--bs-btn-hover-border-color: #b91c1c;
|
||||
--bs-btn-active-color: #fff;
|
||||
--bs-btn-active-bg: #b91c1c;
|
||||
--bs-btn-active-border-color: #b91c1c;
|
||||
--bs-btn-disabled-color: #fff;
|
||||
--bs-btn-disabled-bg: #dc2626;
|
||||
--bs-btn-disabled-border-color: #dc2626;
|
||||
}
|
||||
|
||||
.btn-setujui:disabled,
|
||||
@@ -156,7 +166,7 @@
|
||||
</div>
|
||||
|
||||
<div id="timerSesi" class="alert alert-info py-2 small d-none">
|
||||
<i class="fas fa-clock"></i> Sesi berakhir dalam <strong id="timerSisa">--:--</strong>
|
||||
<i class="fas fa-clock"></i> Sesi berakhir dalam <strong id="timerSisa">--:--:--</strong>
|
||||
</div>
|
||||
|
||||
<dl class="row mb-0">
|
||||
@@ -328,9 +338,10 @@
|
||||
let timerInterval = null;
|
||||
|
||||
function formatWaktu(detik) {
|
||||
const m = String(Math.floor(detik / 60)).padStart(2, '0');
|
||||
const j = String(Math.floor(detik / 3600)).padStart(2, '0');
|
||||
const m = String(Math.floor((detik % 3600) / 60)).padStart(2, '0');
|
||||
const s = String(detik % 60).padStart(2, '0');
|
||||
return `${m}:${s}`;
|
||||
return `${j}:${m}:${s}`;
|
||||
}
|
||||
|
||||
function hentikanTimer() {
|
||||
|
||||
Reference in New Issue
Block a user