2025-11-18 14:15:41 +07:00

150 lines
3.6 KiB
PHP

<?php
// 1_Digunakan Untuk Nav Link Pada Side Bar Yg Aktif dan Tidak
$uri = service('uri');
$path = $uri->getPath();
$activeUrls = ['/admin', '/cs', '/analyst', '/doctor'];
?>
<!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8">
<?= $this->renderSection('title'); ?>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css">
<link href="https://cdn.datatables.net/v/bs5/dt-2.3.4/r-3.0.7/datatables.min.css" rel="stylesheet" integrity="sha384-RaJlMsTv+nhuWA/3SQzc3dPVUOKfEb08YW4YZsaNK3UNFUhjvLkn/SwJEfKSavGD" crossorigin="anonymous">
<style>
table {
font-size: 0.7rem;
}
/* Untuk Card Status Counter */
.status-card {
width: 123px;
/* lebar tetap */
height: 60px;
/* tinggi seragam */
border-radius: 8px;
background-color: #fff;
border : solid 1px #ddd ;
/* box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08); */
transition: transform 0.15s ease, box-shadow 0.15s ease;
display: flex;
/* flex untuk isi card */
align-items: center;
/* tengah vertikal */
justify-content: center;
/* tengah horizontal */
flex-direction: column;
/* urut atas ke bawah */
}
.status-card:hover {
transform: translateY(-3px);
box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}
.status-icon {
font-size: 1.1rem;
}
.status-count {
font-weight: 700;
font-size: 1.1rem;
}
.status-label {
font-size: 0.75rem;
font-weight: 500;
white-space: nowrap;
/* biar teks tidak turun ke bawah */
overflow: hidden;
text-overflow: ellipsis;
/* kalau terlalu panjang, potong dengan "..." */
max-width: 100%;
/* biar rapih dalam box */
}
.dot {
height: 7px;
width: 7px;
border-radius: 50%;
display: inline-block;
margin: 0;
}
/* Untuk Cursor di Tabel */
.pointercol {
cursor: pointer;
}
/* 1 */
.Pend {
background-color: white;
}
/* 2 */
.PartColl {
background-color: #ff99aaaf !important;
}
/* 3 */
.Collected {
background-color: #d6303086 !important;
}
/* 4 */
.PartRecv {
background-color: #a0c0d9af !important;
}
/* 5 */
.Received {
background-color: #0985e39d !important;
}
/* 6 */
.Incomplete {
background-color: #fbff009a !important;
}
/* 7 */
.Final {
background-color: #90EE90 !important;
}
/* 8 */
.FinVerification {
background-color: #09ff00ab !important;
}
/* 9 */
.PenVerification {
background-color: #ee5a24c7 !important;
}
/* 10 */
.Suspend {
background-color: purple;
}
</style>
<?= $this->renderSection('css'); ?>
</head>
<body>
<?= $this->renderSection('content'); ?>
<script>
console.log("salam 5panda" );
</script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<script src="https://cdn.datatables.net/v/bs5/dt-2.3.4/r-3.0.7/datatables.min.js" integrity="sha384-O4V7rOTTcSRflQBTMk8URAYWhGGEMgmmLFrqu3e83FQtze3vmndvrH3GcRdrfXRu" crossorigin="anonymous"></script>
<script src="https://cdn.datatables.net/2.3.4/js/dataTables.bootstrap5.js"></script>
<script src="https://unpkg.com/mustache@4.2.0/mustache.min.js"></script>
<?= $this->renderSection('script'); ?>
</body>
</html>