@extends('admin.partial.template') @section('section')

Dashboard


Hello, {{Auth::user()->name}}

0

Alerts

{{App\Util\Lexer\PrettyNumber::convert(DB::table('failed_jobs')->where('failed_at', '>=', \Carbon\Carbon::now()->subDay())->count())}}

Failed Jobs (24h)

@php($reports = App\Report::whereNull('admin_seen')->count())

{{App\Util\Lexer\PrettyNumber::convert($reports)}}

Reports

@php($statuses = App\Status::whereNull('in_reply_to_id')->whereNull('reblog_of_id')->count())

{{App\Util\Lexer\PrettyNumber::convert($statuses)}}

Statuses

@php($replies = App\Status::whereNotNull('in_reply_to_id')->count())

{{App\Util\Lexer\PrettyNumber::convert($replies)}}

Replies

{{App\Util\Lexer\PrettyNumber::convert(App\Status::whereNotNull('reblog_of_id')->count())}}

Shares (Reblogs)

{{App\Util\Lexer\PrettyNumber::convert(App\Like::count())}}

Likes

{{App\Util\Lexer\PrettyNumber::convert(App\Profile::count())}}

Profiles

{{App\Util\Lexer\PrettyNumber::convert(App\User::count())}}

Users

{{App\Util\Lexer\PrettyNumber::convert(App\Status::whereNotNull('url')->distinct('url')->count())}}

Remote Instances

{{App\Util\Lexer\PrettyNumber::convert(App\Media::count())}}

Photos Uploaded

{{App\Media::sum('size')}} bytes

Storage Used

@endsection @push('scripts') @endpush