@extends($_layout.'main') {{-- khai báo title --}} @section('title', 'File Manager') {{-- tên modul xuất hiện trong sub header --}} @section('module.name', 'File Manager') @section('body.class', 'm-brand--minimize m-aside-left--minimize') @section('css') @endsection @section('content') @php $pt = trim($path, '/'); $download = route($route_name_prefix.'filemanager.download'); $fl = 0; $fll = ['app', 'database', 'config', 'bootstrap', 'resources', 'routes', 'artisan']; @endphp
@php $rp = $pt ? $pt . '/' : ''; $editor_support_types = get_editor_support_types(); @endphp @if ($rp) @php $pp = explode('/', $pt); $a = array_pop($pp); $plv = implode('/', $pp); @endphp @endif @if (isset($list) && count($list)) @foreach ($list as $item) @php $fp = $rp . $item->name; if (!$pt && in_array($item->name, $fll)) { $fl++; } @endphp @endforeach @else @endif
Tên file / thư mục Permission Dung lượng Thao tác
Dir
../
@if ($item->type == 'file')
{{ $item->extension }}
@else
Fold
@endif
{{ $item->name }} {{ $item->mode }} {{ number_format($item->size_total, 2) . ' ' . $item->size_unit }} @if ($item->type == 'file') @if (in_array($item->extension, ['html', 'js', 'css', 'php', 'txt', 'json', 'jsx', 'ts', 'asp', 'aspx', 'xhtml', 'htm', 'less', 'sass', 'scss', 'py', 'env', 'htaccess', 'example'])) @endif @if ($item->extension == 'zip') @endif {{-- --}} @endif {{-- --}}
@if (isset($list) && count($list)) @endif

Storage

Dung lượng N/A MB
Đã sử dụng NA
@php $commands = get_hosting_commands(); @endphp @if (!$pt && $fl == count($fll)) @php $options = []; foreach ($commands as $id => $pr) { $options[$id] = $pr[0]; } @endphp @endif @endsection @section('jsinit') @endsection @section('js') @endsection