@extends('oxygen::layouts.master-dashboard') @section('breadcrumbs') {{ lotus()->breadcrumbs([ ['Dashboard', route('dashboard')], // ['Change The Resource Name', route('')], [$pageTitle, null, true] ]) }} @stop @section('pageMainActions') @include('oxygen::dashboard.partials.searchField') Add New @stop @section('content') @include('oxygen::dashboard.partials.table-allItems', [ 'tableHeader' => [ 'ID', 'Key', 'File', 'Size', 'Uploaded', 'Actions', 'Danger Zone|text-right' ] ]) @foreach ($allItems as $item) {{ $item->id }} {{ $item->name }} @if ($item->key)
{{ $item->key }} @endif @if ($item->allow_public_access) Public @endif {{ $item->original_filename }} @if ($item->file_size_bytes) {{ \ElegantMedia\PHPToolkit\Conversion::bytesToHumans($item->file_size_bytes, $precision = 2) }} @endif @if ($item->created_at) {{ standard_datetime($item->created_at) }} @endif @if ($item->file_url) View @endif @if ($item->file_url) Download @endif Edit @if ($item->isDeleteAllowed())
{{ method_field('delete') }} {{ csrf_field() }}
@endif @endforeach @stop