@extends('layouts.app') @section('title', 'Admin Panel') @section('breadcrumb') Admin Panel @endsection @section('content') {{-- System Stats --}}
{{ $stats['users'] }}
Total Users ({{ $stats['active_users'] }} active)
{{ $stats['projects'] }}
Projects
{{ $stats['completed_tasks'] }}/{{ $stats['tasks'] }}
Tasks Completed
{{ $stats['teams'] }}
Teams ({{ $stats['tags'] }} tags)
{{-- Quick Actions --}}
👥
User Management
{{ $stats['users'] }} users
📁
Projects
{{ $stats['projects'] }} projects
🏷️
Tags
{{ $stats['tags'] }} tags
🎨
Branding
Logo & Colors
{{-- Companies --}}
Recent Users View All
@foreach($recentUsers as $user)
{{ $user->initials }}
{{ $user->name }}
{{ $user->email }}
{{ $user->is_active ? 'Active' : 'Inactive' }}
@endforeach
{{-- Recent Activity --}}
Recent Activity View All
@if($recentActivities->count())
@foreach($recentActivities as $activity)
{!! $activity->svg_icon !!}
@if(!$loop->last)
@endif
{{ $activity->causer->name ?? 'System' }} {{ Str::limit($activity->description, 60) }}
{{ $activity->created_at->diffForHumans() }}
@endforeach
@else
No activity yet.
@endif
@endsection