diff --git a/resources/views/admin/media/home.blade.php b/resources/views/admin/media/home.blade.php index bb1d1dcc2..aed694726 100644 --- a/resources/views/admin/media/home.blade.php +++ b/resources/views/admin/media/home.blade.php @@ -1,24 +1,159 @@ -@extends('admin.partial.template') +@extends('admin.partial.template-full') @section('section') -
-

Media

-
+
+

Media

+ + + + + + + + + +
-
+
-
- @foreach($media as $status) -
- - - -
- @endforeach -
+@if(request()->filled('search')) +

Showing results for: {{request()->input('search')}}

+@endif -
-
- {{$media->links()}} -
-@endsection \ No newline at end of file +@if(request()->input('layout') == 'list') + +
+
+ {{$media->links()}} +
+@else +
+ @foreach($media as $status) +
+ + + +
+ @endforeach +
+
+
+ {{$media->links()}} +
+@endif +@endsection + +@push('scripts') + +@endpush \ No newline at end of file diff --git a/resources/views/admin/media/show.blade.php b/resources/views/admin/media/show.blade.php index 6422a0c09..2bf1fedb9 100644 --- a/resources/views/admin/media/show.blade.php +++ b/resources/views/admin/media/show.blade.php @@ -1,4 +1,4 @@ -@extends('admin.partial.template') +@extends('admin.partial.template-full') @section('section')