{{-- /** * ============================================================ * @project biiproject * @author Andika Debi Putra * @email andikadebiputra@gmail.com * @website https://biiproject.com * @copyright Copyright (c) 2026 Andika Debi Putra * @license Proprietary - All Rights Reserved * @version 1.0.0 * @created 2026-05-01 * ============================================================ * * Unauthorized copying, modification, distribution, or use * of this file is strictly prohibited without prior written * permission from the author. * ============================================================ */ --}} {{-- meta --}} {{ $app_name ?? config('app.name', 'Laravel') }} {{-- font --}} @vite(['resources/js/app.js']) {{-- dynamic theme logic --}} @php $mobileConfig = app(\App\Services\MobileConfig\MobileConfigService::class)->all(); $primaryHex = $mobileConfig['branding']['theme_color_primary'] ?? '#1e1e1e'; // Helper to convert hex to rgb $hex = str_replace('#', '', $primaryHex); if(strlen($hex) == 3) { $r = hexdec(substr($hex,0,1).substr($hex,0,1)); $g = hexdec(substr($hex,1,1).substr($hex,1,1)); $b = hexdec(substr($hex,2,1).substr($hex,2,1)); } else { $r = hexdec(substr($hex,0,2)); $g = hexdec(substr($hex,2,2)); $b = hexdec(substr($hex,4,2)); } // Helper to convert rgb to hsl $r_prime = $r / 255; $g_prime = $g / 255; $b_prime = $b / 255; $max = max($r_prime, $g_prime, $b_prime); $min = min($r_prime, $g_prime, $b_prime); $l = ($max + $min) / 2; $h = $s = 0; if ($max != $min) { $d = $max - $min; $s = $l > 0.5 ? $d / (2 - $max - $min) : $d / ($max + $min); switch ($max) { case $r_prime: $h = ($g_prime - $b_prime) / $d + ($g_prime < $b_prime ? 6 : 0); break; case $g_prime: $h = ($b_prime - $r_prime) / $d + 2; break; case $b_prime: $h = ($r_prime - $g_prime) / $d + 4; break; } $h /= 6; } $h = round($h * 360); $s = round($s * 100); $l = round($l * 100); @endphp {{-- custom root --}} {{-- apps css --}} {{-- markdown --}} @stack('styles') {{-- page loader --}}

Please wait for awesome things...

{{-- header --}}
@include('layouts.navigation') {{-- page content — inside adminuiux-wrap so theme sidebar/content selectors apply --}}
{{ $slot }}
{{-- /adminuiux-wrap --}} {{-- impersonate alert (Floating Top Pill) --}} @if(session()->has('impersonator_id'))
{{ __('Acting as') }}: {{ auth()->user()->email }}
@csrf
@endif {{-- security awareness (For the user BEING impersonated - ONLY show in non-admin session) --}} @if(Auth::check() && !session()->has('impersonator_id'))
{{ __('Security Alert: Admin Access is Active') }}
@endif {{-- notification drawer --}}
{{ __('Notifications') }}

{{ __('0 unread updates') }}

@hasanyrole('Developer|Administrator') @endhasanyrole

{{ __('Loading...') }}

{{-- page footer --}} {{-- footer --}}

{{-- theming offcanvas --}}
Personalize

Make it more like your own

Colors

Change colors of templates

Backgrounds

Change color for background

Sidebar Layout

Change sidebar layout style

{{-- jQuery --}} {{-- DataTables Core --}} {{-- SweetAlert --}} {{-- Markdown JS --}} {{-- app js (Modern Vite handled) --}} {{-- datatables --}} {{-- datatables filter --}} {{-- SweetAlert for success / common error --}} @if (session('success') || session('error')) @endif {{-- SweetAlert for validation errors (e.g., unique) --}} @if ($errors->any()) @endif {{-- Real-time & Dynamic Notification Handler --}} {{-- 🔍 SMART SEARCH (CMD+K) MODAL --}} {{-- Shortcut Hint --}}
K SEARCH
@stack('scripts') {{-- Cookie Consent Banner --}} @include('layouts.partials.cookie-banner') {{-- Real-time Security Awareness Listener --}} @auth @if(!session()->has('impersonator_id')) @endif @endauth