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