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