@push('styles') @endpush
{{-- ── Welcome Header ───────────────────────────────── --}}

{{ __('Operational Dashboard') }}

System operational since {{ $stats['uptime'] }} at {{ $stats['hostname'] }} ({{ $stats['ip'] }})

{{-- ── Customize Panel ──────────────────────────────── --}}
Customize Widgets

Toggle widgets on/off. Drag cards to reorder your workspace.

@csrf
@foreach ($widgets as $key => $widget) @php $allowed = !$widget['permission'] || auth()->user()->can($widget['permission']); @endphp @if ($allowed)
{{ $widget['label'] }}
@endif @endforeach
{{-- ── Stat Card Widgets (Top Row) ──────────────────── --}}
@foreach ($widgets as $key => $widget) @php $isStat = in_array($key, ['cpu', 'ram', 'disk', 'live_users', 'queues']); $allowed = !$widget['permission'] || auth()->user()->can($widget['permission']); @endphp @if ($isStat && $allowed)
@include('pages.dashboard.widget-' . str_replace('_', '-', $key))
@endif @endforeach
{{-- ── Big Widgets (Bottom Row - Dynamic Sizing) ────── --}} @php $bigKeys = ['activity_feed', 'ai_insight']; $visibleBig = collect($widgets) ->only($bigKeys) ->filter(fn($w) => $w['visible'] && (!$w['permission'] || auth()->user()->can($w['permission']))); $vCount = $visibleBig->count(); // Dynamic class based on user request: 1->12, 2->6, 3->4 $bigColClass = 'col-12'; if ($vCount === 2) $bigColClass = 'col-12 col-lg-6'; if ($vCount >= 3) $bigColClass = 'col-12 col-lg-4'; @endphp
@foreach ($widgets as $key => $widget) @php $isBig = in_array($key, $bigKeys); $allowed = !$widget['permission'] || auth()->user()->can($widget['permission']); @endphp @if ($isBig && $allowed)
@if ($key === 'activity_feed')
{{ __('Runtime Activity Feed') }}
FULL MONITOR
INCIDENT TIMELVLMANIFEST INTEL
@elseif ($key === 'ai_insight')
{{ __('AI Security Insight') }}

Click analyze to get security insights from your recent activity logs.

@endif
@endif @endforeach
{{-- ── Empty State ───────────────────────────────────── --}}

Your dashboard is empty

It seems you have hidden all widgets. Customize your dashboard to display the metrics that matter to you.

{{-- Log Detail Modal - Terminal Style --}}
{{-- /container-fluid --}} @push('scripts') @endpush