FEATURE #1417: add uploaded files overview
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
@extends('admin.layout')
|
||||
|
||||
@section('pageName', @trans('admin/fileManager.overview'))
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="row">
|
||||
<h2>@lang('admin/fileManager.overview')</h2>
|
||||
</div>
|
||||
|
||||
<div class="row tile-overview" data-equalizer>
|
||||
@forelse($files as $file)
|
||||
|
||||
<div class="columns large-2">
|
||||
<div class="item" data-equalizer-watch>
|
||||
<div class="preview row" title="{{ \App\Helpers\FileManager::getFormattedSize($file) }}">
|
||||
{!! \App\Helpers\FileManager::getPreview($file) !!}
|
||||
</div>
|
||||
<div class="detail row text-center">
|
||||
<div class="highlight">
|
||||
{{str_limit($file->original_filename, 15)}}
|
||||
</div>
|
||||
<div class="small">
|
||||
{{$file->mime_type}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="controls row">
|
||||
<button class="button text-center primary column large-6" title="@lang('admin/fileManager.edit')"><i class="fa fa-edit"></i></button>
|
||||
<button class="button text-center confirm alert column large-6" title="@lang('admin/fileManager.delete')"><i class="fa fa-remove"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@empty
|
||||
<em>@lang('admin/fileManager.noFiles')</em>
|
||||
@endforelse
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
{!! $files->render() !!}
|
||||
</div>
|
||||
@stop
|
||||
Reference in New Issue
Block a user