Clean up appearance of seating page.

This commit is contained in:
Matt Young 2024-12-26 17:38:42 -06:00
parent 7540a7135f
commit 4945309bd9
1 changed files with 33 additions and 25 deletions

View File

@ -10,10 +10,16 @@
{{-- @foreach($judges as $judge)--}}
{{-- <x-table.th>{{ $judge->short_name() }}</x-table.th>--}}
{{-- @endforeach--}}
<x-table.th>Total Score
@if($audition->bonusScore()->count() > 0)
<x-table.th>Bonus Score</x-table.th>
<br>
<div class="display: flex">
<x-icons.checkmark color="green"/>
Has Bonus
</div>
@endif
<x-table.th>Total Score</x-table.th>
</x-table.th>
<x-table.th>All Scores?</x-table.th>
</tr>
</thead>
@ -31,31 +37,33 @@
<x-table.td class="!py-0">
@if($entry['doubleData'])
@if($entry['doublerRequest'])
<p class="pt-3"><span class="font-semibold">Request: </span>{{$entry['doublerRequest']}}</p>
<p class="pt-3"><span class="font-semibold">Request: </span>{{$entry['doublerRequest']}}
</p>
@endif
@include('tabulation.auditionSeating-doubler-block')
{{-- DOUBLER<br>--}}
{{-- @foreach($entry['doubleData'] as $double)--}}
{{-- ID: {{ $double['entryId'] }} - {{ $double['name'] }} - {{ $double['rank'] }}<br>--}}
{{-- Unscored Entries: {{ $double['unscored_in_audition'] }}<br>--}}
{{-- @foreach($double['limits'] as $limit)--}}
{{-- {{$limit['ensemble']->name}}: {{ $limit['limit'] }}<br>--}}
{{-- @endforeach--}}
{{-- <hr>--}}
{{-- @endforeach--}}
{{-- DOUBLER<br>--}}
{{-- @foreach($entry['doubleData'] as $double)--}}
{{-- ID: {{ $double['entryId'] }} - {{ $double['name'] }} - {{ $double['rank'] }}<br>--}}
{{-- Unscored Entries: {{ $double['unscored_in_audition'] }}<br>--}}
{{-- @foreach($double['limits'] as $limit)--}}
{{-- {{$limit['ensemble']->name}}: {{ $limit['limit'] }}<br>--}}
{{-- @endforeach--}}
{{-- <hr>--}}
{{-- @endforeach--}}
@endif
{{-- @if($doublerService->studentIsDoubler($entry->student_id))--}}
{{-- @include('tabulation.auditionSeating-doubler-block')--}}
{{-- @endif--}}
{{-- @if($doublerService->studentIsDoubler($entry->student_id))--}}
{{-- @include('tabulation.auditionSeating-doubler-block')--}}
{{-- @endif--}}
</x-table.td>
@if($audition->bonusScore()->count() > 0)
@if($entry['hasBonusScores'])
<x-table.td><x-icons.checkmark color="green"/></x-table.td>
@else
<x-table.td></x-table.td>
<x-table.td>
<div class="display: flex">
{{ $entry['totalScore'] }}
@if($audition->bonusScore()->count() > 0 && $entry['hasBonusScores'])
<x-icons.checkmark color="green"/>
@endif
@endif
<x-table.td>{{ $entry['totalScore'] }}</x-table.td>
</div>
</x-table.td>
<x-table.td>
@if($entry['fullyScored'])
<x-icons.checkmark color="green"/>