@php $busy = 'openFolder,toggleFolder,gotoPage,previousPage,nextPage,save,delete,update,search'; @endphp
@if ($error)
Media library unavailable
{{ $error }}
@else
{{-- Folder tree --}} Folders
@foreach ($tree as $node)
@endforeach
{{-- Browse pane --}}
{{-- Breadcrumb + search --}}
@foreach ($crumbs as $i => $c) @if ($i > 0)@endif @endforeach
{{-- Upload into the current folder --}} @unless ($protected)
@error('uploads')

{{ $message }}

@enderror @error('uploads.*')

{{ $message }}

@enderror
UploadUploading…
Preparing files…
@else
County event maps are managed by the CRM — this folder is read-only.
@endunless {{-- Grid --}} @if ($items->isEmpty())
{{ $search !== '' ? 'No matches in this folder' : 'No images in this folder' }}
{{ $search !== '' ? 'Try a different filename.' : 'Open another folder, or upload images above.' }}
@else
{{ number_format($items->total()) }} {{ str('image')->plural($items->total()) }}{{ $search !== '' ? ' matching' : '' }} in /{{ $folder ?: 'images' }}
@foreach ($items as $path)
{{ basename($path) }}
{{ basename($path) }}
@endforeach
@if ($items->hasPages())
Showing {{ $items->firstItem() }}–{{ $items->lastItem() }} of {{ number_format($items->total()) }}
Page {{ $items->currentPage() }} / {{ $items->lastPage() }}
@endif @endif
{{-- Detail / edit overlay --}} @if ($editing) @endif @endif