@extends('layouts.app') @section('title', 'Admin Panel - Social Scheduler') @section('content')

Admin Panel

Administrator
{{ $stats['total_users'] }}
Total Users
{{ $stats['total_posts'] }}
Total Posts
{{ $stats['total_accounts'] }}
Social Accounts
{{ $stats['scheduled_posts'] }}
Scheduled Posts
{{ $stats['published_posts'] }}
Published Posts
{{ $stats['failed_posts'] }}
Failed Posts
Recent Users View All
@foreach($recent_users as $user) @endforeach
Name Email Role Joined
{{ $user->name }} {{ $user->email }} {{ ucfirst($user->role) }} {{ $user->created_at->diffForHumans() }}
Recent Posts View All
@foreach($recent_posts as $post) @endforeach
User Content Status
{{ $post->user->name }} {{ Str::limit($post->content, 40) }} {{ $post->status_label }}
Recent System Activity
@if($recent_activity->isEmpty())

No activity recorded yet

@else
@foreach($recent_activity as $activity) @endforeach
User Action Description Time
{{ $activity->user ? $activity->user->name : 'System' }} {{ $activity->action }} {{ $activity->description }} {{ $activity->created_at->diffForHumans() }}
@endif
@endsection