diff --git a/resources/views/admin/home.blade.php b/resources/views/admin/home.blade.php new file mode 100644 index 000000000..e96459040 --- /dev/null +++ b/resources/views/admin/home.blade.php @@ -0,0 +1,113 @@ +@extends('admin.partial.template') + +@section('section') +
+

Dashboard

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

0

+

Alerts

+
+
+
+ +
+
+
+

{{App\Util\Lexer\PrettyNumber::convert(App\Status::whereLocal(true)->count())}}

+

Local Statuses

+
+
+
+ +
+
+
+

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

+

All Statuses

+
+
+
+
+ +
+
+
+
+

{{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

+
+
+
+ @php($filesum = filesize(storage_path('app/public/m/'))) +
+
+
+

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

+

Storage Used

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