@extends('layouts.admin') @section('title', 'Media library') @section('breadcrumbs') @endsection @section('header-actions') @endsection @section('content')
Reset
@forelse ($media as $item)
@if ($item->isImage()) {{ $item->alt_text }} @else
{{ $item->extension }}
@endif

{{ $item->title ?: $item->original_name }}

{{ $item->human_size }}@if ($item->width) · {{ $item->width }}×{{ $item->height }}@endif {{ $item->uploader?->name ?? '—' }} · {{ $item->created_at->format('d M Y') }}
@can('update', $item) @endcan @can('delete', $item) @endcan
@empty
No media yet. Upload images, videos or PDFs.
@endforelse
{{-- Upload modal --}} {{-- Edit modal --}} @endsection