@extends('layouts.admin') @section('title', __('Storage Analytics')) @section('content')
{{ __('Total Storage Used') }}
{{ __('Total Files') }}
{{ __('File Types') }}
{{ __('Quota Used') }}
@else{{ __('No Quota Set') }}
@endif| {{ __('File Type') }} | {{ __('File Count') }} | {{ __('Storage Used') }} | {{ __('Average File Size') }} | {{ __('Percentage') }} |
|---|---|---|---|---|
| {{ ucfirst($type['type']) }} | {{ number_format($type['count']) }} | {{ $type['size_formatted'] }} | {{ $type['count'] > 0 ? number_format($type['size'] / $type['count'] / 1024, 2) . ' KB' : '0 KB' }} | @if($totalStorage > 0) {{ number_format(($type['size'] / $totalStorage) * 100, 1) }}% @else 0% @endif |
| {{ __('File Name') }} | {{ __('Type') }} | {{ __('Size') }} | {{ __('Folder') }} | {{ __('Uploaded') }} | {{ __('Actions') }} |
|---|---|---|---|---|---|
|
@if($file->isImage())
{{ Str::limit($file->file_name, 30) }}
@if($file->alt_text_en || $file->alt_text_ar)
{{ Str::limit($file->alt_text ?? '', 40) }} @endif |
{{ ucfirst($file->file_type) }} | {{ $file->getHumanReadableSizeAttribute() }} | @if($file->folder) {{ $file->folder->name }} @else {{ __('Root') }} @endif | {{ $file->created_at->format('M d, Y') }} | {{ __('View') }} |
| {{ __('No files found') }} | |||||