feat: add initial views and controllers for verification and management modules

This commit is contained in:
Ariyutta
2026-10-07 12:00:05 +07:00
parent 60ae46d69c
commit dc923fb063
50 changed files with 3152 additions and 1345 deletions
+283 -17
View File
@@ -25,21 +25,249 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap" rel="stylesheet">
<!-- App Vite (Tailwind CSS v4 & High-Legibility Design System) -->
@vite(['resources/css/app.css', 'resources/js/app.js'])
<style>
:root {
--ct-body-color: #000;
--ct-body-color-rgb: 0, 0, 0;
--ct-text-muted: #000;
--ct-page-title-color: #000;
--ct-table-color: #000;
--ct-primary: #2563eb !important;
--ct-primary-rgb: 37, 99, 235 !important;
--ct-component-active-bg: #2563eb !important;
--ct-link-color: #2563eb !important;
--ct-link-hover-color: #1d4ed8 !important;
--ct-btn-primary-bg: #2563eb !important;
--ct-btn-primary-border: #2563eb !important;
--ct-body-color: #0f172a !important;
--ct-body-color-rgb: 15, 23, 42 !important;
--ct-text-muted: #475569 !important;
--ct-page-title-color: #0f172a !important;
--ct-table-color: #0f172a !important;
--ct-menu-item: #334155 !important;
--ct-menu-item-hover: #2563eb !important;
--ct-menu-item-active: #2563eb !important;
}
body[data-leftbar-theme="light"] {
--ct-menu-item: #000;
body[data-leftbar-theme="light"], body {
--ct-primary: #2563eb !important;
--ct-component-active-bg: #2563eb !important;
--ct-menu-item: #334155 !important;
--ct-menu-item-hover: #2563eb !important;
--ct-menu-item-active: #2563eb !important;
}
/* Sidebar Section Titles (Kompak, Proporsional & Elegan) */
.side-nav .side-nav-title,
.side-nav-title,
li.side-nav-title {
font-size: 11px !important;
font-weight: 700 !important;
text-transform: uppercase !important;
letter-spacing: 0.08em !important;
color: #94a3b8 !important;
padding: 16px 12px 6px 12px !important;
margin: 0 !important;
pointer-events: none !important;
cursor: default !important;
line-height: 1.2 !important;
list-style: none !important;
}
body.sidebar-collapsed .side-nav .side-nav-title,
body.sidebar-collapsed .side-nav-title {
display: none !important;
}
/* Modern Sidebar Toggle Button (Button Garis 3) */
#sidebar-toggle-btn {
background-color: #f8fafc !important;
border: 1px solid #e2e8f0 !important;
border-radius: 10px !important;
color: #475569 !important;
width: 38px !important;
height: 38px !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05) !important;
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
cursor: pointer !important;
}
#sidebar-toggle-btn:hover {
background-color: #2563eb !important;
border-color: #2563eb !important;
color: #ffffff !important;
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
transform: translateY(-1px) !important;
}
#sidebar-toggle-btn:active {
transform: scale(0.96) !important;
}
/* Modern Topbar User Profile Pill */
#user-menu-btn {
background-color: #f8fafc !important;
border: 1px solid #e2e8f0 !important;
border-radius: 9999px !important;
padding: 3px 12px 3px 6px !important;
height: 38px !important;
display: inline-flex !important;
align-items: center !important;
gap: 8px !important;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
transition: all 0.2s ease !important;
cursor: pointer !important;
}
#user-menu-btn:hover {
background-color: #eff6ff !important;
border-color: #bfdbfe !important;
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12) !important;
}
/* Submenu Sidebar Drawer (High-legibility & cleanly nested) */
.side-nav-second-level {
list-style: none !important;
padding: 5px 6px !important;
margin: 4px 0 6px 0 !important;
background-color: #f8fafc !important;
border-radius: 10px !important;
border: 1px solid #e2e8f0 !important;
}
.side-nav-second-level li {
list-style: none !important;
margin: 2px 0 !important;
background: transparent !important;
border: none !important;
box-shadow: none !important;
}
.side-nav-second-level li a {
color: #334155 !important;
display: flex !important;
align-items: center !important;
gap: 8px !important;
padding: 7px 10px 7px 12px !important;
font-size: 13px !important;
font-weight: 500 !important;
text-decoration: none !important;
border-radius: 7px !important;
transition: all 0.15s ease-in-out !important;
opacity: 1 !important;
visibility: visible !important;
}
.side-nav-second-level li a i {
color: #64748b !important;
font-size: 16px !important;
width: 18px !important;
text-align: center !important;
flex-shrink: 0 !important;
margin-right: 2px !important;
}
.side-nav-second-level li a:hover:not(.active) {
color: #2563eb !important;
background-color: #eff6ff !important;
}
.side-nav-second-level li a:hover:not(.active) i {
color: #2563eb !important;
}
/* Submenu Item yang Sedang Aktif (Solid Announcement Blue #2563eb & Teks Putih Kontras Tinggi) */
.side-nav-second-level li.active > a,
.side-nav-second-level li.menuitem-active > a,
.side-nav-second-level li.badge-primary-lighten > a,
.side-nav-second-level .active.badge-primary-lighten a,
.side-nav-second-level li a.active {
color: #ffffff !important;
background: #2563eb !important; background-color: #2563eb !important;
font-weight: 600 !important;
box-shadow: 0 3px 8px rgba(37, 99, 235, 0.32) !important;
}
.side-nav-second-level li.active > a *,
.side-nav-second-level li.menuitem-active > a *,
.side-nav-second-level li.badge-primary-lighten > a *,
.side-nav-second-level .active.badge-primary-lighten a *,
.side-nav-second-level li a.active * {
color: #ffffff !important;
}
/* Parent Menu Item saat Aktif (Baik saat DIBUKA maupun DITUTUP/COLLAPSED) */
.side-nav-item:has(.side-nav-second-level).menuitem-active > .side-nav-link,
.side-nav-item:has(.side-nav-second-level).active > .side-nav-link,
.side-nav-item.si-sk.menuitem-active > .side-nav-link,
.side-nav-item.si-tri-dharma.menuitem-active > .side-nav-link,
.side-nav-item.si-laporan-kegiatan.menuitem-active > .side-nav-link,
.side-nav-item.si-pengajuan-aktivitas.menuitem-active > .side-nav-link,
.side-nav-item.si-skp.menuitem-active > .side-nav-link,
.side-nav-item.si-pleno-penunjang.menuitem-active > .side-nav-link,
.side-nav-item.si-remunerasi.menuitem-active > .side-nav-link,
.side-nav-item.si-rekapitulasi.menuitem-active > .side-nav-link,
.side-nav-item.si-limit.menuitem-active > .side-nav-link,
.side-nav-item.si-rubrik.menuitem-active > .side-nav-link,
.side-nav-link.badge-primary-lighten,
.side-nav-link[aria-expanded="true"] {
background-color: #eff6ff !important;
color: #2563eb !important;
font-weight: 700 !important;
border: 1px solid #bfdbfe !important;
}
.side-nav-item:has(.side-nav-second-level).menuitem-active > .side-nav-link *,
.side-nav-item:has(.side-nav-second-level).active > .side-nav-link *,
.side-nav-item.si-sk.menuitem-active > .side-nav-link *,
.side-nav-item.si-tri-dharma.menuitem-active > .side-nav-link *,
.side-nav-item.si-laporan-kegiatan.menuitem-active > .side-nav-link *,
.side-nav-item.si-pengajuan-aktivitas.menuitem-active > .side-nav-link *,
.side-nav-item.si-skp.menuitem-active > .side-nav-link *,
.side-nav-item.si-pleno-penunjang.menuitem-active > .side-nav-link *,
.side-nav-item.si-remunerasi.menuitem-active > .side-nav-link *,
.side-nav-item.si-rekapitulasi.menuitem-active > .side-nav-link *,
.side-nav-item.si-limit.menuitem-active > .side-nav-link *,
.side-nav-item.si-rubrik.menuitem-active > .side-nav-link *,
.side-nav-link.badge-primary-lighten *,
.side-nav-link[aria-expanded="true"] * {
color: #2563eb !important;
}
.side-nav .menu-arrow,
.side-nav-link .menu-arrow {
position: absolute !important;
right: 14px !important;
top: 50% !important;
transform: translateY(-50%) !important;
color: #94a3b8 !important;
}
.side-nav-link[aria-expanded="true"] .menu-arrow,
.side-nav-item.menuitem-active > .side-nav-link .menu-arrow,
.side-nav-link.badge-primary-lighten .menu-arrow {
transform: translateY(-50%) rotate(90deg) !important;
color: #2563eb !important;
}
/* Menu Single (TIDAK punya submenu) saat Aktif */
.side-nav-item:not(:has(.side-nav-second-level)).menuitem-active > .side-nav-link,
.side-nav-item:not(:has(.side-nav-second-level)).active > .side-nav-link {
background: #2563eb !important; background-color: #2563eb !important;
color: #ffffff !important;
font-weight: 600 !important;
border: none !important;
box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.35) !important;
}
.side-nav-item:not(:has(.side-nav-second-level)).menuitem-active > .side-nav-link *,
.side-nav-item:not(:has(.side-nav-second-level)).active > .side-nav-link * {
color: #ffffff !important;
}
body {
font-family: "Inter", sans-serif;
font-family: "Plus Jakarta Sans", "Inter", sans-serif;
}
table td,
@@ -47,17 +275,55 @@
vertical-align: middle !important;
}
.select2-container--default .select2-selection--single .select2-selection__clear {
position: relative;
z-index: 999;
pointer-events: auto !important;
margin-right: 35px;
margin-top: 2px;
color: rgb(185, 185, 185);
/* Select2 Universal Styles & Clear Button */
.select2-container--default .select2-selection--single {
position: relative !important;
}
.select2-container .select2-selection--single .select2-selection__clear {
font-size: 1.4em;
.select2-container--default .select2-selection--single .select2-selection__rendered {
padding-right: 50px !important;
}
.select2-container--default .select2-selection--single .select2-selection__clear {
position: absolute !important;
right: 28px !important;
top: 50% !important;
transform: translateY(-50%) !important;
margin: 0 !important;
padding: 0 !important;
width: 18px !important;
height: 18px !important;
line-height: 16px !important;
text-align: center !important;
font-size: 15px !important;
font-weight: 700 !important;
color: #94a3b8 !important;
z-index: 10 !important;
cursor: pointer !important;
pointer-events: auto !important;
border-radius: 50% !important;
transition: all 0.2s ease !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
}
.select2-container--default .select2-selection--single .select2-selection__clear:hover {
color: #ef4444 !important;
background-color: #fee2e2 !important;
transform: translateY(-50%) scale(1.15) !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__clear {
float: right !important;
margin-right: 10px !important;
color: #94a3b8 !important;
cursor: pointer !important;
transition: color 0.15s ease !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__clear:hover {
color: #ef4444 !important;
}
.profile-img {
+621 -223
View File
@@ -5,12 +5,21 @@
@include('layouts.header')
@yield('css')
<style>
/* ===== Styled DataTable (.dt-styled) ===== */
.dt-styled td, .dt-styled th {
/* ===== Styled DataTable & App Table Headers ===== */
.dt-styled td, .dt-styled th,
table.dataTable td, table.dataTable th,
.table-bordered td, .table-bordered th,
.table td, .table th {
border-color: #ced4da !important;
vertical-align: middle;
}
.dt-styled thead th,
table.dataTable thead th,
.table thead th,
.tab-content .table thead th,
#table-belum-selesai thead th,
#table-selesai thead th,
.dt-styled thead th.sorting,
.dt-styled thead th.sorting_asc,
.dt-styled thead th.sorting_desc,
@@ -19,10 +28,11 @@
.dt-styled thead th.font-monospace,
.dt-styled thead th.nip-col,
.dt-styled thead th.nominal-cell {
background: linear-gradient(135deg, #2080f5 0%, #0166d2 100%) !important;
background: #2563eb !important;
background-color: #2563eb !important;
color: #fff !important;
white-space: nowrap;
border-color: #0166d2 !important;
border-color: #2563eb !important;
}
.dt-styled thead th.sorting:before,
@@ -38,6 +48,270 @@
color: #fff !important;
}
/* ===== Modern Rounded Pagination ===== */
.dataTables_paginate ul.pagination,
.dataTables_wrapper .pagination,
.pagination {
display: inline-flex !important;
align-items: center !important;
gap: 5px !important;
margin: 6px 0 !important;
padding: 0 !important;
flex-wrap: wrap !important;
}
.dataTables_paginate ul.pagination .page-item,
.dataTables_wrapper .pagination .page-item,
.pagination .page-item {
margin: 0 !important;
}
.dataTables_paginate ul.pagination .page-link,
.dataTables_wrapper .pagination .page-link,
.pagination .page-link {
border-radius: 8px !important;
margin: 0 !important;
border: 1px solid #e2e8f0 !important;
background-color: #ffffff !important;
color: #475569 !important;
font-weight: 600 !important;
font-size: 13px !important;
min-width: 34px !important;
height: 34px !important;
padding: 0 10px !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
cursor: pointer !important;
}
.dataTables_paginate ul.pagination .page-link:hover,
.dataTables_wrapper .pagination .page-link:hover,
.pagination .page-link:hover {
background-color: #f1f5f9 !important;
border-color: #cbd5e1 !important;
color: #2563eb !important;
transform: translateY(-1px);
box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
}
.dataTables_paginate ul.pagination .page-item.active .page-link,
.dataTables_wrapper .pagination .page-item.active .page-link,
.pagination .page-item.active .page-link {
background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
border-color: #2563eb !important;
color: #ffffff !important;
font-weight: 700 !important;
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
transform: translateY(-1px);
}
.dataTables_paginate ul.pagination .page-item.disabled .page-link,
.dataTables_wrapper .pagination .page-item.disabled .page-link,
.pagination .page-item.disabled .page-link {
background-color: #f8fafc !important;
border-color: #e2e8f0 !important;
color: #94a3b8 !important;
opacity: 0.65 !important;
cursor: not-allowed !important;
transform: none !important;
box-shadow: none !important;
}
.dataTables_wrapper .dataTables_info {
color: #475569 !important;
font-size: 13px !important;
font-weight: 500 !important;
padding-top: 8px !important;
}
/* Nav Pills / Status Tabs & Smooth Switch Animation */
@keyframes tabPaneFadeInUp {
0% {
opacity: 0;
transform: translateY(12px);
}
100% {
opacity: 1;
transform: none;
}
}
@keyframes tabNavActivePulse {
0% {
transform: scale(0.96);
}
60% {
transform: scale(1.02);
}
100% {
transform: none;
}
}
.nav-pills .nav-link,
.nav-tabs .nav-link {
transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
cursor: pointer !important;
position: relative;
}
.nav-pills .nav-link:active,
.nav-tabs .nav-link:active {
transform: scale(0.97) !important;
}
.nav-pills .nav-link:hover:not(.active),
.nav-tabs .nav-link:hover:not(.active) {
background-color: #f1f5f9 !important;
color: #2563eb !important;
transform: translateY(-1px);
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link,
.nav-tabs .nav-link.active {
background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
background-color: #2563eb !important;
color: #fff !important;
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
animation: tabNavActivePulse 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}
/* Animasi Tab Panes Masuk Ketika Tab Berpindah (Semua Halaman) */
.tab-content > .tab-pane.active,
.tab-content > .tab-pane.tab-animating,
.tab-pane.active,
.tab-pane.tab-animating {
animation: tabPaneFadeInUp 0.32s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}
/* ===== Responsive Mobile DataTables Controls (2 Columns: Length & Search) ===== */
@media (max-width: 767.98px) {
.dataTables_wrapper > .row:first-child,
.dataTables_wrapper > div.row:first-of-type,
div.dataTables_wrapper div.row:first-child {
display: flex !important;
flex-direction: row !important;
flex-wrap: nowrap !important;
align-items: center !important;
justify-content: space-between !important;
gap: 8px !important;
margin-left: 0 !important;
margin-right: 0 !important;
margin-bottom: 12px !important;
padding: 0 !important;
}
/* Kolom Kiri: Show entries / Length dropdown */
.dataTables_wrapper > .row:first-child > div:first-child,
.dataTables_wrapper > div.row:first-of-type > div:first-child,
.dataTables_wrapper > .row:first-child > div:has(.dataTables_length),
div.dataTables_wrapper div.dataTables_length {
width: auto !important;
max-width: none !important;
flex: 0 0 auto !important;
padding: 0 !important;
margin: 0 !important;
text-align: left !important;
}
/* Kolom Kanan: Search / Filter input */
.dataTables_wrapper > .row:first-child > div:last-child,
.dataTables_wrapper > div.row:first-of-type > div:last-child,
.dataTables_wrapper > .row:first-child > div:has(.dataTables_filter),
div.dataTables_wrapper div.dataTables_filter {
width: auto !important;
max-width: none !important;
flex: 1 1 auto !important;
min-width: 0 !important;
padding: 0 !important;
margin: 0 !important;
text-align: right !important;
}
/* Hilangkan teks 'Show' & 'entries' pada label, tampilkan hanya select dropdown box */
div.dataTables_wrapper div.dataTables_length label {
font-size: 0 !important;
color: transparent !important;
line-height: 0 !important;
margin: 0 !important;
padding: 0 !important;
display: inline-flex !important;
align-items: center !important;
}
div.dataTables_wrapper div.dataTables_length select {
font-size: 13.5px !important;
line-height: 1.4 !important;
font-weight: 500 !important;
color: #1e293b !important;
margin: 0 !important;
padding: 6px 30px 6px 12px !important;
border: 1px solid #cbd5e1 !important;
border-radius: 8px !important;
background-color: #ffffff !important;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
background-repeat: no-repeat !important;
background-position: right 10px center !important;
background-size: 12px 10px !important;
appearance: none !important;
-webkit-appearance: none !important;
-moz-appearance: none !important;
height: 38px !important;
min-width: 68px !important;
cursor: pointer !important;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}
div.dataTables_wrapper div.dataTables_length select:focus {
border-color: #2563eb !important;
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
outline: none !important;
}
/* Hilangkan teks 'Search:' pada label, input melebar memenuhi kolom dengan icon search */
div.dataTables_wrapper div.dataTables_filter label {
font-size: 0 !important;
color: transparent !important;
line-height: 0 !important;
margin: 0 !important;
padding: 0 !important;
width: 100% !important;
display: flex !important;
align-items: center !important;
position: relative !important;
}
div.dataTables_wrapper div.dataTables_filter input {
font-size: 13.5px !important;
line-height: 1.4 !important;
color: #1e293b !important;
margin: 0 !important;
padding: 6px 12px 6px 36px !important;
border: 1px solid #cbd5e1 !important;
border-radius: 8px !important;
background-color: #ffffff !important;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z' /%3E%3C/svg%3E") !important;
background-repeat: no-repeat !important;
background-position: 11px center !important;
background-size: 16px 16px !important;
width: 100% !important;
min-width: 0 !important;
height: 38px !important;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}
div.dataTables_wrapper div.dataTables_filter input:focus {
border-color: #2563eb !important;
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
outline: none !important;
}
}
.dt-styled tbody tr {
cursor: pointer;
}
@@ -102,19 +376,6 @@
box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.25);
}
.footer {
background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1d4ed8 100%) !important;
color: white !important;
}
.footer .footer-links a {
color: rgba(255, 255, 255, 0.8) !important;
}
.footer .footer-links a:hover {
color: white !important;
}
/* Team Name Marquee */
.team-name-container {
width: 100%;
@@ -141,234 +402,188 @@
}
}
/* Hilangkan box-shadow bawaan sidebar */
.leftside-menu {
box-shadow: none !important;
-webkit-box-shadow: none !important;
}
/* Sidebar Active Menu dengan Background Biru dan Border Radius */
/* Submenu yang aktif mendapat highlight */
.side-nav .side-nav-second-level .active.badge-primary-lighten {
background-color: transparent !important;
}
.side-nav .side-nav-second-level .active.badge-primary-lighten a {
background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1d4ed8 100%) !important;
color: white !important;
border-radius: 8px !important;
margin-left: 8px !important;
margin-right: 8px !important;
}
.side-nav .side-nav-second-level .active.badge-primary-lighten a:hover {
background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 70%, #1d4ed8 100%) !important;
}
.side-nav .side-nav-second-level .active.badge-primary-lighten a i {
color: white !important;
}
/* Menu tunggal (tanpa submenu) yang aktif mendapat highlight */
.side-nav .menuitem-active:not(:has(.side-nav-second-level))>a,
body[data-leftbar-theme="light"] .side-nav .menuitem-active:not(:has(.side-nav-second-level))>a,
body[data-leftbar-theme="dark"] .side-nav .menuitem-active:not(:has(.side-nav-second-level))>a {
background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1d4ed8 100%) !important;
color: white !important;
border-radius: 8px !important;
margin-left: 8px !important;
margin-right: 8px !important;
}
.side-nav .menuitem-active:not(:has(.side-nav-second-level))>a:hover {
background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 70%, #1d4ed8 100%) !important;
}
.side-nav .menuitem-active:not(:has(.side-nav-second-level))>a i {
color: white !important;
}
/* Hilangkan background biru pada parent menu ketika ada submenu */
.side-nav .menuitem-active:has(.side-nav-second-level)>a,
body[data-leftbar-theme="light"] .side-nav .menuitem-active:has(.side-nav-second-level)>a,
body[data-leftbar-theme="dark"] .side-nav .menuitem-active:has(.side-nav-second-level)>a {
background: transparent !important;
}
/* Topbar Marquee */
.topbar-marquee {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 90%;
overflow: hidden;
white-space: nowrap;
background: rgba(187, 187, 187, 0.301);
border: 1px solid rgba(53, 53, 101, 0.129);
border-radius: 6px;
padding: 6px 12px;
}
.marquee-content {
display: inline-block;
position: relative;
animation: marquee-scroll 22s linear infinite;
color: #dc3545;
font-weight: 600;
font-size: 14px;
}
@keyframes marquee-scroll {
0% {
left: 100%;
}
100% {
left: -100%;
}
}
/* Responsive untuk mobile */
@media (max-width: 768px) {
.topbar-marquee {
width: 40%;
left: 30%;
transform: translate(0, -50%);
}
}
.tooltip-tolak .tooltip-inner {
max-width: 320px;
text-align: left;
}
/* ===== Sidebar Desktop & Mobile Smooth Drawer Support ===== */
#main-sidebar {
will-change: transform, translate;
transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1), translate 0.7s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.7s ease !important;
}
#main-content-wrapper {
transition: padding-left 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
/* Responsive Mobile Drawer State Handling */
@media (max-width: 1023px) {
#main-sidebar {
transform: translateX(-100%) !important;
translate: none !important;
}
#main-sidebar.mobile-open,
#main-sidebar:not(.-translate-x-full) {
transform: translateX(0) !important;
translate: none !important;
box-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(15, 23, 42, 0.05) !important;
}
}
/* Backdrop with smooth fade in/out transition */
#sidebar-backdrop {
opacity: 0;
visibility: hidden;
pointer-events: none;
transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.7s ease, backdrop-filter 0.7s ease !important;
will-change: opacity, backdrop-filter;
}
#sidebar-backdrop.active {
opacity: 1 !important;
visibility: visible !important;
pointer-events: auto !important;
}
@media (min-width: 1024px) {
#main-sidebar {
transform: translateX(0) !important;
translate: none !important;
}
body.sidebar-collapsed #main-sidebar {
transform: translateX(-100%) !important;
}
body.sidebar-collapsed #main-content-wrapper {
padding-left: 0 !important;
}
}
/* ===== Modal & Backdrop Stacking Fix ===== */
.modal {
z-index: 1060 !important;
}
.modal-backdrop {
z-index: 1050 !important;
}
/* ===== Page Title Font Size (Kompak & Proporsional) ===== */
.page-title-anim h1,
.app-main-content .page-title-anim h1 {
font-size: 1.25rem !important;
font-weight: 700 !important;
letter-spacing: -0.02em !important;
line-height: 1.35 !important;
margin: 0 !important;
color: #0f172a !important;
}
@media (max-width: 640px) {
.page-title-anim h1,
.app-main-content .page-title-anim h1 {
font-size: 1.125rem !important;
}
}
</style>
</head>
<body data-layout-color="light" data-leftbar-theme="light" data-layout-mode="fluid" data-rightbar-onstart="false">
<!-- Begin page -->
<div class="wrapper">
<!-- ========== Left Sidebar Start ========== -->
<div class="leftside-menu">
@include('layouts.sidebar')
</div>
<!-- Left Sidebar End -->
<body data-leftbar-theme="light" class="bg-slate-50 text-slate-800 antialiased font-sans selection:bg-blue-600 selection:text-white">
<!-- Main Application Shell (100% Full Tailwind CSS) -->
<div class="min-h-screen bg-slate-50 flex">
<!-- Sidebar Component -->
@include('layouts.sidebar')
<!-- ============================================================== -->
<!-- Start Page Content here -->
<!-- ============================================================== -->
<!-- Mobile Sidebar Backdrop Overlay -->
<div id="sidebar-backdrop" class="fixed inset-0 z-40 bg-slate-900/50 backdrop-blur-xs lg:hidden"></div>
<div class="content-page">
<div class="content">
<!-- Topbar Start -->
@include('layouts.topbar')
<!-- end Topbar -->
<!-- Main Column Content Wrapper -->
<div id="main-content-wrapper" class="flex-1 flex flex-col min-w-0 min-h-screen transition-all duration-300 lg:pl-64">
<!-- Topbar Header -->
@include('layouts.topbar')
<!-- Start Content-->
<div class="container-fluid">
<!-- start page title -->
<div class="row">
<div class="col-12">
<div class="page-title-box">
<div class="page-title-right">
<nav aria-label="breadcrumb">
@yield('breadcrumb')
</nav>
</div>
<h4 class="page-title">{{ $title }}</h4>
</div>
</div>
<!-- Main Page Content Body -->
<main class="flex-1 px-3 sm:px-5 pt-2 pb-5 app-main-content">
<!-- Page Title & Breadcrumb Header (Kompak, Rapi, Tanpa Garis Pembatas Sesuai Permintaan) -->
<div class="mb-2 flex flex-col sm:flex-row sm:items-center sm:justify-between gap-1 page-title-anim">
<div>
<h1 class="page-title text-base sm:text-lg font-bold tracking-tight text-slate-900 leading-snug m-0">{{ $title }}</h1>
</div>
<!-- end page title -->
<nav class="flex items-center text-xs font-medium text-slate-500">
@yield('breadcrumb')
</nav>
</div>
<div class="page-content-anim">
@yield('content')
@yield('modal')
@yield('modal-alert-blade')
</div>
<!-- Modal Ganti Team (Global) -->
@php
$authUser = Auth::user();
$authUserTeams = $authUser->teams;
@endphp
@if ($authUserTeams->count() > 1)
<div class="modal fade" id="changeTeamModal" tabindex="-1"
aria-labelledby="changeTeamModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header bg-primary text-white">
<h5 class="modal-title" id="changeTeamModalLabel">
<i class="mdi mdi-account-switch me-1"></i>Ganti Team Verifikator
</h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"
aria-label="Close"></button>
<!-- Modal Ganti Team (Global) -->
@php
$authUser = Auth::user();
$authUserTeams = $authUser->teams;
@endphp
@if ($authUserTeams->count() > 1)
<div class="modal fade" id="changeTeamModal" tabindex="-1"
aria-labelledby="changeTeamModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header bg-primary text-white">
<h5 class="modal-title" id="changeTeamModalLabel">
<i class="mdi mdi-account-switch me-1"></i>Ganti Team Verifikator
</h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"
aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="alert alert-info mb-3" role="alert">
<i class="mdi mdi-information-outline me-1"></i>
Pilih team yang ingin Anda gunakan. Team aktif saat ini:
<strong>{{ $authUserTeams->where('id', session('team_id'))->first()->nama ?? 'Belum dipilih' }}</strong>
</div>
<div class="modal-body">
<div class="alert alert-info mb-3" role="alert">
<i class="mdi mdi-information-outline me-1"></i>
Pilih team yang ingin Anda gunakan. Team aktif saat ini:
<strong>{{ $authUserTeams->where('id', session('team_id'))->first()->nama ?? 'Belum dipilih' }}</strong>
</div>
<div class="mb-3">
<label for="change_team_id" class="form-label">Team <span
class="text-danger">*</span></label>
<select class="form-select select2" id="change_team_id"
name="change_team_id" required data-dropdown-parent="#changeTeamModal"
data-placeholder="Pilih Team...">
<option value=""></option>
@foreach ($authUserTeams as $team)
<option value="{{ $team->id }}"
{{ session('team_id') == $team->id ? 'selected' : '' }}>
{{ $team->nama }}
</option>
@endforeach
</select>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">
<i class="mdi mdi-close me-1"></i>Batal
</button>
<button type="button" class="btn btn-primary" id="btnConfirmChangeTeam">
<i class="mdi mdi-check me-1"></i>Ganti Team
</button>
<div class="mb-3">
<label for="change_team_id" class="form-label">Team <span
class="text-danger">*</span></label>
<select class="form-select select2" id="change_team_id"
name="change_team_id" required data-dropdown-parent="#changeTeamModal"
data-placeholder="Pilih Team...">
<option value=""></option>
@foreach ($authUserTeams as $team)
<option value="{{ $team->id }}"
{{ session('team_id') == $team->id ? 'selected' : '' }}>
{{ $team->nama }}
</option>
@endforeach
</select>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">
<i class="mdi mdi-close me-1"></i>Batal
</button>
<button type="button" class="btn btn-primary" id="btnConfirmChangeTeam">
<i class="mdi mdi-check me-1"></i>Ganti Team
</button>
</div>
</div>
</div>
@endif
</div>
<!-- container -->
</div>
<!-- content -->
<!-- Footer Start -->
<footer class="footer">
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
Verifikator Universitas Tanjungpura 2025 | All Rights Reserved.
</div>
<div class="col-md-6">
<div class="text-md-end footer-links d-none d-md-block">
<a href="javascript: void(0);">About</a>
<a href="javascript: void(0);">Support</a>
<a href="javascript: void(0);">Contact Us</a>
</div>
</div>
</div>
</div>
@endif
</main>
<!-- Modern Footer -->
<footer class="bg-white border-t border-slate-200 py-3.5 px-3 sm:px-5 sm:pr-48 text-sm text-slate-500 flex items-center">
<span>&copy; {{ date('Y') }} <strong class="text-slate-800">Sistem Verifikator Remunerasi</strong> &bull; Universitas Tanjungpura.</span>
</footer>
<!-- end Footer -->
</div>
<!-- ============================================================== -->
<!-- End Page content -->
<!-- ============================================================== -->
</div>
<!-- END wrapper -->
<!-- WhatsApp Helpdesk Button -->
<div class="whatsapp-helpdesk-wrapper">
@@ -706,6 +921,34 @@
<!-- bundle -->
<script src="{{ asset('assets/js/vendor.min.js') }}"></script>
<script src="{{ asset('assets/js/app.min.js') }}"></script>
<script>
// Netralkan perilaku auto-condensed Hyper template saat resize
(function() {
if (window.jQuery) {
if (window.jQuery.LayoutThemeApp) {
window.jQuery.LayoutThemeApp._adjustLayout = function() {
document.body.removeAttribute('data-leftbar-compact-mode');
};
}
if (window.jQuery.LeftSidebar) {
window.jQuery.LeftSidebar.activateCondensedSidebar = function() {
document.body.removeAttribute('data-leftbar-compact-mode');
};
}
}
document.body.removeAttribute('data-leftbar-compact-mode');
// MutationObserver untuk segera menghapus attribute data-leftbar-compact-mode jika diset ulang oleh skrip lain
try {
var compactObserver = new MutationObserver(function() {
if (document.body.getAttribute('data-leftbar-compact-mode') === 'condensed') {
document.body.removeAttribute('data-leftbar-compact-mode');
}
});
compactObserver.observe(document.body, { attributes: true, attributeFilter: ['data-leftbar-compact-mode'] });
} catch (e) {}
})();
</script>
<!-- Setup CSRF Token for AJAX -->
<script>
@@ -1000,8 +1243,8 @@
});
}
// Handle click button Ganti Team di topbar
$('#btnChangeTeamTopbar').off('click').on('click', function(e) {
// Handle click button Ganti Team (Topbar, Sidebar, Dropdown)
$(document).on('click', '#btnChangeTeamTopbar, #btnChangeTeamSidebar, #btnChangeTeamDropdown, .btn-trigger-change-team', function(e) {
e.preventDefault();
$('#changeTeamModal').modal('show');
});
@@ -1079,6 +1322,161 @@
});
</script>
<script>
// Skrip Interaksi Sidebar (Desktop & Mobile) & Dropdown Profil
document.addEventListener('DOMContentLoaded', function() {
const sidebar = document.getElementById('main-sidebar');
const backdrop = document.getElementById('sidebar-backdrop');
const toggleBtn = document.getElementById('sidebar-toggle-btn');
const closeBtn = document.getElementById('sidebar-close-btn');
// Cek state collapsed yang tersimpan di localStorage (khusus desktop)
if (window.innerWidth >= 1024) {
const isCollapsed = localStorage.getItem('untan_sidebar_collapsed') === 'true';
if (isCollapsed) {
document.body.classList.add('sidebar-collapsed');
}
}
function toggleSidebar(e) {
if (e) e.preventDefault();
if (window.innerWidth >= 1024) {
// Mode Desktop: toggle class sidebar-collapsed pada body
document.body.classList.toggle('sidebar-collapsed');
const isCollapsed = document.body.classList.contains('sidebar-collapsed');
localStorage.setItem('untan_sidebar_collapsed', isCollapsed);
} else {
// Mode Mobile: toggle offcanvas drawer & backdrop dengan transisi mulus
if (sidebar) {
const isClosed = !sidebar.classList.contains('mobile-open') && sidebar.classList.contains('-translate-x-full');
if (isClosed) {
sidebar.classList.remove('-translate-x-full');
sidebar.classList.add('mobile-open');
if (backdrop) backdrop.classList.add('active');
} else {
closeMobileSidebar();
}
}
}
}
function closeMobileSidebar(e) {
if (e) e.preventDefault();
if (sidebar) {
sidebar.classList.add('-translate-x-full');
sidebar.classList.remove('mobile-open');
}
if (backdrop) {
backdrop.classList.remove('active');
}
}
if (toggleBtn) toggleBtn.addEventListener('click', toggleSidebar);
if (closeBtn) closeBtn.addEventListener('click', closeMobileSidebar);
if (backdrop) backdrop.addEventListener('click', closeMobileSidebar);
// Tutup sidebar mobile dengan tombol Escape (ESC)
document.addEventListener('keydown', function(e) {
if (e.key === 'Escape' && window.innerWidth < 1024 && sidebar && sidebar.classList.contains('mobile-open')) {
closeMobileSidebar();
}
});
// Responsive window resize transition
window.addEventListener('resize', function() {
if (document.body.hasAttribute('data-leftbar-compact-mode')) {
document.body.removeAttribute('data-leftbar-compact-mode');
}
if (window.innerWidth >= 1024) {
if (backdrop) backdrop.classList.remove('active');
if (sidebar) {
sidebar.classList.remove('-translate-x-full');
sidebar.classList.remove('mobile-open');
}
const isCollapsed = localStorage.getItem('untan_sidebar_collapsed') === 'true';
if (isCollapsed) {
document.body.classList.add('sidebar-collapsed');
} else {
document.body.classList.remove('sidebar-collapsed');
}
} else {
if (backdrop && !backdrop.classList.contains('active') && sidebar) {
sidebar.classList.add('-translate-x-full');
sidebar.classList.remove('mobile-open');
}
}
});
// Modal Backdrop Stacking Fix: Pindahkan modal ke body agar tidak tertutup backdrop
if (window.jQuery) {
$(document).on('show.bs.modal', '.modal', function() {
if ($(this).parent().prop('tagName') !== 'BODY') {
$(this).appendTo('body');
}
});
} else {
document.addEventListener('show.bs.modal', function(e) {
if (e.target && e.target.classList && e.target.classList.contains('modal')) {
if (e.target.parentElement !== document.body) {
document.body.appendChild(e.target);
}
}
}, true);
}
// User dropdown toggle
const userMenuBtn = document.getElementById('user-menu-btn');
const userMenuDropdown = document.getElementById('user-menu-dropdown');
if (userMenuBtn && userMenuDropdown) {
userMenuBtn.addEventListener('click', function(e) {
e.stopPropagation();
userMenuDropdown.classList.toggle('hidden');
});
document.addEventListener('click', function(e) {
if (!userMenuDropdown.contains(e.target) && !userMenuBtn.contains(e.target)) {
userMenuDropdown.classList.add('hidden');
}
});
}
// Animasi Halus Saat Berpindah Tab Navigasi (Global untuk Seluruh Menu)
function triggerTabAnimation(targetPane) {
if (!targetPane) return;
targetPane.classList.remove('tab-animating');
void targetPane.offsetWidth; // Force reflow agar animasi selalu re-run
targetPane.classList.add('tab-animating');
}
document.addEventListener('show.bs.tab', function(e) {
if (e.target) {
const targetSelector = e.target.getAttribute('data-bs-target') || e.target.getAttribute('href');
if (targetSelector && targetSelector.startsWith('#') && targetSelector.length > 1) {
const targetPane = document.querySelector(targetSelector);
if (targetPane) triggerTabAnimation(targetPane);
}
}
});
document.addEventListener('click', function(e) {
const navLink = e.target.closest('.nav-link, [data-bs-toggle="tab"], [data-toggle="tab"]');
if (navLink) {
const targetSelector = navLink.getAttribute('data-bs-target') || navLink.getAttribute('data-target') || navLink.getAttribute('href');
if (targetSelector && targetSelector.startsWith('#') && targetSelector.length > 1) {
const targetPane = document.querySelector(targetSelector);
if (targetPane) {
requestAnimationFrame(function() {
triggerTabAnimation(targetPane);
});
}
}
}
});
});
</script>
@yield('js')
@yield('modal-alert-js')
</body>
+26 -43
View File
@@ -1,37 +1,24 @@
<!-- LOGO -->
<a href="{{ route('dashboard.index') }}" class="logo text-center logo-light">
<span class="logo-lg">
<img src="{{ asset('assets/images/logo-untan.png') }}" alt="" height="36"
style="margin-bottom: 5px"><span style="font-size: 20px; margin-left:8px; color:white">Verifikator</span>
</span>
<span class="logo-sm">
<img src="{{ asset('assets/images/logo-untan.png') }}" alt="" height="36">
</span>
</a>
<!-- LOGO -->
<a href="{{ route('dashboard.index') }}" class="logo text-center logo-dark">
<span class="logo-lg">
<img src="{{ asset('assets/images/logo-untan.png') }}" alt="" height="36"
style="margin-bottom: 5px"><span style="font-size: 20px; margin-left:8px; color:black">Verifikator</span>
</span>
<span class="logo-sm">
<img src="{{ asset('assets/images/logo-untan.png') }}" alt="" height="36">
</span>
</a>
<div class="h-100" id="leftside-menu-container" data-simplebar>
<!--- Sidemenu -->
<ul class="side-nav">
<li class="side-nav-title side-nav-item">
<div class="team-name-container">
<div class="team-name-text">
{{ App\Models\Verifikator\Team::find(session('team_id'))->nama ?? 'General' }}
</div>
<aside id="main-sidebar" class="fixed inset-y-0 left-0 z-50 w-64 bg-white border-r border-slate-200 flex flex-col -translate-x-full lg:translate-x-0 shadow-lg lg:shadow-none">
<!-- Brand Logo Header -->
<div class="h-16 flex items-center justify-between px-4 border-b border-slate-200 bg-white shrink-0">
<a href="{{ route('dashboard.index') }}" class="flex items-center gap-2.5 min-w-0">
<img src="{{ asset('assets/images/logo-untan.png') }}" alt="Logo UNTAN" class="h-9 w-9 object-contain shrink-0">
<div class="flex flex-col min-w-0 justify-center">
<span class="text-[15px] font-extrabold tracking-tight text-slate-900 leading-none mb-1">VERIFIKATOR</span>
<span class="text-[11px] font-bold text-blue-600 tracking-tight leading-none whitespace-nowrap">Univ. Tanjungpura</span>
</div>
</li>
</a>
<button id="sidebar-close-btn" type="button" class="lg:hidden text-slate-400 hover:text-slate-600 p-1 rounded-lg hover:bg-slate-100 transition shrink-0">
<i class="mdi mdi-close text-xl"></i>
</button>
</div>
<!-- Scrollable Navigation Menu -->
<div class="flex-1 overflow-y-auto px-3 py-2 space-y-1 custom-sidebar-scroll" id="leftside-menu-container">
<ul class="side-nav space-y-1">
<li class="side-nav-item">
<a href="{{ route('dashboard.index') }}" class="side-nav-link">
@@ -51,7 +38,7 @@
'Baca SKP',
'Baca BA',
])
<li class="side-nav-title side-nav-item">Verifikasi</li>
<li class="side-nav-title side-nav-item text-[11px] font-bold uppercase tracking-wider text-slate-400 px-3.5 pt-4 pb-1">Verifikasi</li>
@endcanany
@canany(['Baca SK', 'Verifikasi SK', 'Baca SK Klaim Ulang', 'Verifikasi SK Klaim Ulang'])
@@ -434,7 +421,7 @@
@endcanany
@canany(['Rasio Poin Penunjang', 'Rasio Pembayaran', 'Baca Pembayaran', 'Baca Pagu'])
<li class="side-nav-title side-nav-item">Perhitungan</li>
<li class="side-nav-title side-nav-item text-[11px] font-bold uppercase tracking-wider text-slate-400 px-3.5 pt-4 pb-1">Perhitungan</li>
@endcanany
@canany(['Rasio Poin Penunjang', 'Rasio Pembayaran'])
@@ -605,7 +592,7 @@
@endcan
@canany(['Baca User', 'Baca Pegawai', 'Baca Rubrik', 'Baca Team', 'Baca Team Anggota', 'Baca Periode', 'Baca Permission', 'Baca Rubrik Kategori', 'Baca Rubrik Syarat', 'Baca Limit Mengajar', 'Baca Limit Penunjang'])
<li class="side-nav-title side-nav-item">Manajemen</li>
<li class="side-nav-title side-nav-item text-[11px] font-bold uppercase tracking-wider text-slate-400 px-3.5 pt-4 pb-1">Manajemen</li>
@endcanany
@can('Baca User')
@@ -731,10 +718,6 @@
</a>
</li>
@endcanany
</ul>
<!-- End Sidebar -->
<div class="clearfix"></div>
</div>
</ul>
</div>
</aside>
+84 -55
View File
@@ -1,74 +1,103 @@
<div class="navbar-custom border">
<ul class="list-unstyled topbar-menu float-end mb-0">
<li class="dropdown notification-list">
<a class="nav-link dropdown-toggle nav-user arrow-none me-0" data-bs-toggle="dropdown" href="#"
role="button" aria-haspopup="false" aria-expanded="false">
<span class="account-user-avatar">
<img src="{{ asset('assets/images/users/avatar-1.png') }}" alt="user-image" class="rounded-circle">
</span>
<span>
<span class="account-user-name">{{ Auth::user()->name }}</span>
<span class="account-position">{{ Auth::user()->nip }}</span>
</span>
</a>
<div class="dropdown-menu dropdown-menu-end dropdown-menu-animated topbar-dropdown-menu profile-dropdown">
<!-- item-->
<div class=" dropdown-header noti-title">
<h6 class="text-overflow m-0">Welcome !</h6>
<header id="main-topbar" class="sticky top-0 z-30 bg-white/95 backdrop-blur-md border-b border-slate-200 h-16 flex items-center justify-between px-3 sm:px-5 shadow-xs">
<!-- Kiri: Tombol Toggle Menu Navigasi -->
<div class="flex items-center gap-2">
<button id="sidebar-toggle-btn" type="button" class="inline-flex items-center justify-center w-9.5 h-9.5 rounded-xl bg-slate-50 hover:bg-blue-600 text-slate-600 hover:text-white border border-slate-200 hover:border-blue-600 shadow-2xs hover:shadow-md hover:shadow-blue-600/20 transition-all duration-200 active:scale-95 focus:outline-none cursor-pointer group" title="Buka / Tutup Menu Navigasi" aria-label="Toggle navigation">
<i class="mdi mdi-menu text-xl transition-transform group-hover:scale-110"></i>
</button>
</div>
<!-- Tengah: Running Text Announcement (Responsif Mengisi Seluruh Ruang Layar) -->
<div class="hidden md:flex flex-1 min-w-0 mx-3 sm:mx-6 bg-slate-50/90 border border-slate-200/90 rounded-full py-1.5 px-3.5 shadow-2xs items-center gap-2.5 overflow-hidden">
<span class="inline-flex items-center gap-1.5 bg-blue-600 text-white text-[10px] font-extrabold px-2.5 py-0.5 rounded-full shrink-0 uppercase tracking-wider shadow-2xs">
<i class="mdi mdi-bullhorn-outline text-xs animate-pulse"></i>
<span>Pengumuman</span>
</span>
<div class="topbar-marquee-container flex-1 min-w-0">
<div class="topbar-marquee-text text-xs font-semibold text-slate-700">
Selamat Datang di Sistem Verifikasi Remunerasi Universitas Tanjungpura &bull; Pastikan dokumen verifikasi diperiksa dengan cermat sesuai SK dan Rubrik Remunerasi &bull; Kendala teknis dapat dilaporkan melalui Pusat Bantuan Helpdesk &bull;
</div>
</div>
</div>
<!-- Kanan: Tim Aktif & Profil Pengguna -->
<div class="flex items-center gap-3 shrink-0">
@php
$activeTeam = App\Models\Verifikator\Team::find(session('team_id'));
$userTeamsCount = Auth::user() ? Auth::user()->teams()->count() : 0;
@endphp
<!-- Indikator Tim Aktif -->
@if($userTeamsCount > 1)
<button type="button" class="btn-trigger-change-team hidden sm:inline-flex items-center gap-2 bg-blue-50/80 hover:bg-blue-100/80 border border-blue-200 text-blue-900 text-xs font-bold px-3.5 py-1.5 rounded-full transition shadow-2xs h-9 group" id="btnChangeTeamTopbar" title="Klik untuk mengganti Team Verifikator">
<i class="mdi mdi-shield-check text-blue-600 text-base"></i>
<span class="max-w-[130px] truncate text-slate-800 font-bold">{{ $activeTeam->nama ?? 'General' }}</span>
<span class="bg-blue-600 group-hover:bg-blue-700 text-white text-[10px] font-extrabold px-1.5 py-0.5 rounded-full">Ganti</span>
</button>
@elseif($activeTeam)
<div class="hidden sm:inline-flex items-center gap-2 bg-slate-50 border border-slate-200 text-slate-800 text-xs font-bold px-3.5 py-1.5 rounded-full h-9" title="Team Aktif">
<i class="mdi mdi-shield-check text-blue-600 text-base"></i>
<span class="max-w-[130px] truncate">{{ $activeTeam->nama }}</span>
</div>
@endif
<!-- Profil Pengguna Dropdown -->
<div class="dropdown relative notification-list" id="user-menu-dropdown-wrapper">
<button type="button" class="dropdown-toggle arrow-none flex items-center gap-2.5 py-1 px-2.5 sm:px-3 rounded-full bg-slate-50 hover:bg-blue-50/80 border border-slate-200 hover:border-blue-200/80 shadow-2xs hover:shadow-xs transition-all duration-200 focus:outline-hidden cursor-pointer h-9 shrink-0 group" data-bs-toggle="dropdown" aria-haspopup="false" aria-expanded="false" id="user-menu-btn">
<div class="relative w-6.5 h-6.5 rounded-full overflow-hidden ring-2 ring-blue-500/20 group-hover:ring-blue-500/40 shrink-0 transition">
<img src="{{ asset('assets/images/users/avatar-1.png') }}" alt="{{ Auth::user()->name ?? 'User' }}" class="w-full h-full object-cover">
</div>
<div class="hidden md:flex flex-col text-left justify-center min-w-0">
<span class="text-xs font-bold text-slate-800 group-hover:text-blue-600 leading-none mb-0.5 truncate max-w-[120px] transition-colors">{{ Auth::user()->name ?? 'Pengguna' }}</span>
<span class="text-[10px] font-semibold text-slate-400 leading-none truncate max-w-[120px]">{{ Auth::user()->nip ?? Auth::user()->username ?? 'User' }}</span>
</div>
<i class="mdi mdi-chevron-down text-slate-400 group-hover:text-blue-600 transition text-sm ms-0.5"></i>
</button>
<!-- Dropdown Menu Card -->
<div class="dropdown-menu dropdown-menu-end dropdown-menu-animated topbar-dropdown-menu profile-dropdown shadow-xl border border-slate-200 rounded-xl py-1.5 z-50 text-slate-700 text-sm" id="user-menu-dropdown">
<!-- Header Info Pengguna -->
<div class="px-4 py-2 border-b border-slate-100 bg-slate-50/50">
<h6 class="text-overflow m-0 text-dark fw-bold text-sm">{{ Auth::user()->name ?? 'Pengguna' }}</h6>
<small class="text-muted font-monospace text-xs">{{ Auth::user()->nip ?? '' }}</small>
</div>
<!-- item-->
<a href="{{ route('profil.index') }}" class="dropdown-item notify-item">
<i class="mdi mdi-account-circle me-1"></i>
<span>Profil</span>
<!-- Item Profil -->
<a href="{{ route('profil.index') }}" class="dropdown-item notify-item flex items-center gap-2.5 px-4 py-2 hover:bg-blue-50 hover:text-blue-600 transition font-medium">
<i class="mdi mdi-account-circle-outline text-lg text-slate-400"></i>
<span>Profil Saya</span>
</a>
<!-- item-->
<!-- Item Khusus Superuser -->
@role('Superuser')
<a href="{{ route('lainnya.index') }}" class="dropdown-item notify-item">
<i class="mdi mdi-android-messages me-1"></i>
<span>Lainnya</span>
<a href="{{ route('lainnya.index') }}" class="dropdown-item notify-item flex items-center gap-2.5 px-4 py-2 hover:bg-blue-50 hover:text-blue-600 transition font-medium">
<i class="mdi mdi-cog-outline text-lg text-slate-400"></i>
<span>Menu Lainnya</span>
</a>
@endrole
<!-- item-->
@php
$userTeamsCount = Auth::user()->teams()->count();
@endphp
<!-- Tombol Ganti Team -->
@if($userTeamsCount > 1)
<a href="javascript:void(0);" class="dropdown-item notify-item" id="btnChangeTeamTopbar">
<i class="mdi mdi-account-switch me-1"></i>
<a href="javascript:void(0);" class="dropdown-item notify-item btn-trigger-change-team flex items-center gap-2.5 px-4 py-2 hover:bg-blue-50 text-blue-600 transition font-semibold" id="btnChangeTeamDropdown">
<i class="mdi mdi-account-switch-outline text-lg text-blue-600"></i>
<span>Ganti Team</span>
</a>
@endif
<!-- item-->
<div class="dropdown-divider my-1 border-t border-slate-100"></div>
<!-- Item Logout -->
@if(config('app.login_mode') === 2)
<a href="{{ route('logout') }}" class="dropdown-item notify-item">
<i class="mdi mdi-home-account me-1"></i>
<span>Kembali ke Portal</span>
</a>
<a href="{{ route('logout') }}" class="dropdown-item notify-item text-danger flex items-center gap-2.5 px-4 py-2 text-red-600 hover:bg-red-50 transition font-semibold">
<i class="mdi mdi-home-export-outline text-lg text-red-600"></i>
<span>Kembali ke Portal</span>
</a>
@else
<a href="{{ route('logout') }}" class="dropdown-item notify-item">
<i class="mdi mdi-logout me-1"></i>
<span>Logout</span>
</a>
<a href="{{ route('logout') }}" class="dropdown-item notify-item text-danger flex items-center gap-2.5 px-4 py-2 text-red-600 hover:bg-red-50 transition font-semibold">
<i class="mdi mdi-logout-variant text-lg text-red-600"></i>
<span>Keluar (Logout)</span>
</a>
@endif
</div>
</li>
</ul>
<button class="button-menu-mobile open-left">
<i class="mdi mdi-menu"></i>
</button>
<!-- Marquee Text -->
<div class="topbar-marquee">
<div class="marquee-content">
{{-- <span style="text-transform:uppercase">Masa verifikasi Remunerasi sudah dibuka, pada proses verifikasi akan dilakukan secara bertahap, dan batas masa verifikasi sampai tanggal 23 Desember 2025 pukul 23:59:59 WIB.</span> --}}
{{-- <span style="text-transform:uppercase">Sehubungan dengan pembaruan data mengajar terbaru dari Satu UNTAN per tanggal 20 Desember 2025 pukul 07.00 WIB, mohon agar rubrik mengajar dosen dapat diverifikasi kembali.</span> --}}
<span style="text-transform:uppercase">Selamat datang di Sistem Informasi Remunerasi Universitas Tanjungpura.</span>
</div>
</div>
</div>
</header>