@extends('layouts.app') @section('content') {{-- Toast Container for Security Alerts --}}
{{-- 1. HEADER SECTION --}}

Control Center

Global Workforce Command (PKT)

{{-- 2. LIVE METRICS --}}

Personnel Online

{{ $employeePerformance->where('is_online', true)->count() }}

Security Status

Optimal

Security Hits Today

{{ $employeePerformance->where('is_violating', true)->count() }}

Pipeline Intel

{{ $stats['total_tasks'] ?? 0 }}

{{-- 3. ANALYTICS & FEEDBACK GRID --}}

Workforce Distribution

Recent Feedbacks

@forelse($recentFeedbacks as $feedback)
{{ $feedback->user->name ?? 'Unknown' }} {{ $feedback->updated_at->diffForHumans() }}

"{{ $feedback->employee_feedback }}"

@empty
No feedback entry detected
@endforelse
Intel
{{-- 4. LIVE MONITORING TABLE --}}

Operator Telemetry Stream

Syncing...
@foreach($employeePerformance as $employee) @endforeach
Operator & Node Watch Time Visual Signal Status Current Logic Action
{{ strtoupper(substr($employee->name, 0, 1)) }}

{{ $employee->name }} AI Breach

NODE: {{ $employee->department->name ?? 'System' }}

{{ $employee->watch_time ?? '0h 0m' }}
{{ $employee->is_online ? 'ONLINE' : 'OFFLINE' }}

"{{ $employee->last_window_title ?? 'System Idle' }}"

🔍 Details
{{-- ✅ Security Notification Sound --}} @endsection