@extends('layouts.admin') @section('title', 'Media library') @section('admin-content')
YOUR CAMPAIGN IMAGES

Media library.

View uploaded wheel images and remove the ones you no longer need.

{{ $media->total() }} images
Keep your library tidy

Deleting an image removes it from every wheel slot using it. Prizes, stock, and past winnings are preserved. Upload new images from Prizes & odds.

@forelse($media as $item)
Uploaded wheel image
{{ $item['name'] }}

{{ number_format($item['size'] / 1024, 1) }} KB · {{ date('d M Y', $item['modified']) }}

@forelse($item['slots'] as $slot){{ $slot->prize?->name ?? 'Prize' }} · slot {{ $slot->position + 1 }}@emptyNot currently used@endforelse
@csrf @method('DELETE')
@empty

No images yet

Your uploaded wheel images will appear here.

Open Prizes & odds
@endforelse
@if($media->hasPages())@endif @endsection