From f5a729e3b37e1ccd63e3fdaf8410f724de4062aa Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 21 Jul 2019 22:11:33 -0600 Subject: [PATCH] Update admin views --- resources/views/admin/home.blade.php | 24 ++++----- .../admin/partial/template-full.blade.php | 6 +-- .../views/admin/partial/template.blade.php | 4 +- resources/views/admin/profiles/home.blade.php | 51 +++---------------- 4 files changed, 23 insertions(+), 62 deletions(-) diff --git a/resources/views/admin/home.blade.php b/resources/views/admin/home.blade.php index 4e49f5655..e56d112e8 100644 --- a/resources/views/admin/home.blade.php +++ b/resources/views/admin/home.blade.php @@ -9,7 +9,7 @@
-
+

New Messages

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

@@ -19,7 +19,7 @@
-
+

Failed Jobs (24h)

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

@@ -29,7 +29,7 @@
-
+

Reports

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

@@ -41,7 +41,7 @@
-
+

Statuses

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

@@ -51,7 +51,7 @@
-
+

Replies

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

@@ -60,7 +60,7 @@
-
+

Shares (Reblogs)

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

@@ -72,7 +72,7 @@
-
+

Likes

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

@@ -82,7 +82,7 @@
-
+

Profiles

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

@@ -92,7 +92,7 @@
-
+

Users

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

@@ -104,7 +104,7 @@
-
+

Remote Instances

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

@@ -114,7 +114,7 @@
-
+

Photos Uploaded

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

@@ -123,7 +123,7 @@
-
+

Storage Used

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

diff --git a/resources/views/admin/partial/template-full.blade.php b/resources/views/admin/partial/template-full.blade.php index f880476fd..a018f8458 100644 --- a/resources/views/admin/partial/template-full.blade.php +++ b/resources/views/admin/partial/template-full.blade.php @@ -5,11 +5,11 @@ @include('admin.partial.topnav')
-
-
+
+
-
+
@if (session('status'))
{{ session('status')}} diff --git a/resources/views/admin/partial/template.blade.php b/resources/views/admin/partial/template.blade.php index 1ad4eb997..ab2368b6f 100644 --- a/resources/views/admin/partial/template.blade.php +++ b/resources/views/admin/partial/template.blade.php @@ -5,8 +5,8 @@ @include('admin.partial.topnav')
-
-
+
+
@include('admin.partial.sidebar') diff --git a/resources/views/admin/profiles/home.blade.php b/resources/views/admin/profiles/home.blade.php index db81b4b2a..2f5998250 100644 --- a/resources/views/admin/profiles/home.blade.php +++ b/resources/views/admin/profiles/home.blade.php @@ -73,56 +73,23 @@ - @foreach($profiles as $profile) -
-
- - -
-
- - ID - @if(request()->filter && request()->filter == 'id' && request()->order == 'asc') - - @else - - @endif - + ID - - Username - @if(request()->filter && request()->filter == 'username' && request()->order == 'asc') - - @else - - @endif - + Username - - Followers - + Followers - - Likes - + Likes - - Statuses - @if(request()->filter && request()->filter == 'statuses_count' && request()->order == 'asc') - - @else - - @endif - + Statuses - - Storage - + Storage Actions @@ -131,12 +98,6 @@
-
- - -
-
{{$profile->id}}