%PDF- %PDF-
Direktori : /www/loslex/test/resources/views/cup/ |
Current File : //www/loslex/test/resources/views/cup/shooter.blade.php |
<div class="p-1 flex flex-row mb-1 gap-x-1 dark:text-gray-200 "> <div class="border border-gray-400 bg-gray-100 dark:bg-gray-800 rounded-md flex items-center gap-x-3 px-2"> <div class="w-5">{{ $rank }}.</div> <div class="w-36">@auth{{ $shooter->Name }}@else{{ $shooter->AnonName }}@endauth</div> <div class="w-20 text-right">{{ number_format($shooter->TotalPercent, 2) }}%</div> </div> <div class="flex flex-row gap-x-1 justify-center"> @foreach($shooter->Contests as $contest) <div @class(['border rounded-md p-1 w-20', 'border-green-400 bg-green-100 dark:bg-green-700' => $loop->iteration <= $division->UsedContests, 'border-gray-500 bg-gray-200 dark:bg-gray-700' => $loop->iteration > $division->UsedContests ])> <div class="text-center">{{ number_format($contest->Percent, 2) }}%</div> <div class="text-center text-xs whitespace-nowrap"><a title="{{ $contest->ContestName }}" href="{{ route('contest.show', $contest->ContestId) }}">{{ Illuminate\Support\Carbon::parse($contest->ContestDate)->IsoFormat('l') }}</a></div> </div> @endforeach </div> </div>