@extends('layouts.app') @section('title', 'Course Images') @section('content') @include('partials.flash')
arrow_back Builder

Images · {{ $course->title }}

{{ $total }} image {{ \Illuminate\Support\Str::plural('slot', $total) }} · {{ $needing }} still need a real image

@if($needing > 0) download Export list (CSV) @endif
@csrf {{-- Bulk uploader --}}
upload

Bulk upload

Pick several images at once. They fill the placeholder slots below in course order (top to bottom). Review the mapping in the cards, adjust any you like, then Save all.

bolt Large images are automatically compressed in your browser before saving — no need to resize them first.

@foreach($groups as $group) @if(count($group['slots']))

{{ $group['label'] }}

@foreach($group['slots'] as $slot) @php $needs = $slot['status'] !== 'custom'; @endphp
image {{-- status badge --}} @if($slot['status'] === 'placeholder') Placeholder @elseif($slot['status'] === 'empty') Empty @else Custom @endif

{{ $slot['label'] }}

@endforeach
@endif @endforeach
@endsection