extend('_layout') ?> section('title') ?> endSection() ?> section('pageTitle') ?> endSection() ?> section('content') ?> lang('VideoClip.list.status'), 'cell' => function ($videoClip): string { $pillVariantMap = [ 'queued' => 'default', 'pending' => 'warning', 'running' => 'primary', 'canceled' => 'default', 'failed' => 'danger', 'passed' => 'success', ]; $pillIconMap = [ 'queued' => 'timer', 'pending' => 'pause', 'running' => 'play', 'canceled' => 'forbid', 'failed' => 'close', 'passed' => 'check', ]; return '' . $videoClip->status . ''; }, ], [ 'header' => lang('VideoClip.list.label'), 'cell' => function ($videoClip): string { $formatClass = [ 'landscape' => 'aspect-video', 'portrait' => 'aspect-[9/16]', 'squared' => 'aspect-square', ]; return '
' . $videoClip->label . '
'; }, ], [ 'header' => lang('VideoClip.list.clip_id'), 'cell' => function ($videoClip): string { return '#' . $videoClip->id . 'by ' . $videoClip->user->username . ''; }, ], [ 'header' => lang('Common.actions'), 'cell' => function ($videoClip): string { return '…'; }, ], ], $videoClips, 'mb-6' ) ?> links() ?> endSection() ?>