@php use App\Enums\Launcher\FileAction; use App\Enums\Launcher\Patchline; /** @var \Illuminate\Database\Eloquent\Collection<\App\Models\GameFile> $files */ /** @var Patchline $patchline */ @endphp

Deathgarden file manager

@if ($showAdditionalFiles) @else @endif @foreach ($files as $file) $file->action === FileAction::ADD, '!bg-red-600 hover:!bg-red-500' => $file->action === FileAction::DELETE, ])> @if ($showAdditionalFiles) @else @endif @if ($file->children && $file->children->count() > 0) @endif @endforeach
Name Description Filename / HashFilename HashSize Last update Actions
@if ($file->children && $file->children->count() > 0) @endif {{ $file->name }} {{ $file->description }} {{ $file->filename }}
{{ $file->hash }}
{{ $file->filename }} {{ $file->parent }} {{ $file->hash }} @if ($file->fileExists()) {{ round($file->getFileSize() / 1000, 1) }} kB @else N/A @endif {{ $file->updated_at }}
@method('PUT') @csrf
@method('DELETE') @csrf
@csrf
@if ($showAdditionalFiles)
@endif
@if (!$showAdditionalFiles)
Add More Files
@endif
Submit