@extends('layouts.shell') @section('title', 'Poster cleanup') @section('subtitle', 'Remove unused poster files, or posters from completed tournaments.') @section('content') @if ($tab === 'unused')
@csrf
Not used {{ number_format($unused_bytes / 1024, 1) }} KB. No tournament points at these files.
@if ($unused_count > 0)
@endif
@if ($unused_count > 0)
@foreach ($unused as $file) @endforeach
File Size
@if ($file['url']) @endif {{ $file['path'] }}
{{ number_format($file['bytes'] / 1024, 1) }} KB
@else

No unused poster files.

@endif
@else
@csrf
Completed tournaments {{ number_format($completed_bytes / 1024, 1) }} KB. The tournament record stays.
@if ($completed_count > 0)
@endif
@if ($completed_count > 0)
@foreach ($completed as $row) @endforeach
Tournament Size
@if ($row['url']) @endif {{ $row['title'] }}
{{ number_format($row['bytes'] / 1024, 1) }} KB
@else

No completed tournament posters to remove.

@endif
@endif @endsection