diff --git a/resources/views/admin/dashboard.blade.php b/resources/views/admin/dashboard.blade.php index 0749768..3d1eb86 100644 --- a/resources/views/admin/dashboard.blade.php +++ b/resources/views/admin/dashboard.blade.php @@ -5,8 +5,8 @@ @section('content') -
| User | -Role | -Joined | -|||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
-
-
- {{ $user->name }}
- {{ $user->email }}
+
+
|
+ + @if($user->role === 'super_admin') + Super Admin + @elseif($user->role === 'admin') + Admin + @else + User + @endif + | +{{ $user->created_at->diffForHumans() }} | +|||||||||
| No users found | +|||||||||||
| Video | -Status | -Uploaded | -|||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
-
- @if($video->thumbnail)
-
-
+
+
|
+ + @switch($video->status) + @case('ready') + Ready + @break + @case('processing') + Processing + @break + @case('pending') + Pending + @break + @case('failed') + Failed + @break + @endswitch + | +{{ $video->created_at->diffForHumans() }} | +|||||||||
| No videos found | +|||||||||||