diff --git a/resources/views/admin/home.blade.php b/resources/views/admin/home.blade.php index c8cf6e62..31d882b5 100644 --- a/resources/views/admin/home.blade.php +++ b/resources/views/admin/home.blade.php @@ -1,4 +1,4 @@ -@extends('admin.partial.template') +@extends('admin.partial.template-full') @section('section')
@@ -7,129 +7,135 @@
-
- Hello, {{Auth::user()->name}} -
-
-
-
-

0

-

Alerts

+
+
+

Alerts

+

0

+
-
-
-

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

-

Failed Jobs (24h)

+
+
+

Failed Jobs (24h)

+

{{$data['failedjobs']['count']}}

+
- @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)

+
+
+

Reports

+

{{$data['reports']['count']}}

+
-
-
-

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

-

Likes

+
+
+

Statuses

+

{{$data['statuses']['count']}}

+
-
-
-

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

-

Profiles

+
+
+

Replies

+

{{$data['replies']['count']}}

+
-
-
-
-

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

-

Users

+
+
+

Shares (Reblogs)

+

{{$data['shares']['count']}}

+
-
-
-

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

-

Remote Instances

+
+
+

Likes

+

{{$data['likes']['count']}}

+
-
-
-

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

-

Photos Uploaded

+
+
+

Profiles

+

{{$data['profiles']['count']}}

+ +
+
+ +
+
+
+

Users

+

{{$data['users']['count']}}

+
+ +
+
+
+ +
+
+
+
+

Remote Instances

+

{{$data['instances']['count']}}

+
+ +
+
+ +
+
+
+

Photos Uploaded

+

{{$data['media']['count']}}

+
+
-
-
-

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

-

Storage Used

+
+
+

Storage Used

+

{{$data['storage']['count']}} bytes

+
@endsection @push('scripts') + @endpush \ No newline at end of file