@extends('layouts.app') @section("title", "SaveSpace - Folder") @section('content')
id) }}" method="get" class="d-flex mr-3">

Files in {{$folder->name}}

@forelse($files as $file)
@if(in_array(explode('.', $file->name)[1], $excelExt)) @else @if(in_array(explode('.', $file->name)[1], $textExt)) @else @if(explode('.', $file->name)[1] == 'pdf') @else @if(in_array(explode('.', $file->name)[1], $imageExt)) {{-- --}} @else @endif @endif @endif @endif
{{$file->name}}
{{ $file->getSize($file->location) }} MB
@empty
No items found
@endforelse
@if(!Request::query('search')) {{$files->appends($_GET)->links('layouts.pagination') }} @endif
@endsection @yield('script')