42 lines
1.7 KiB
PHP
42 lines
1.7 KiB
PHP
<x-layout.app>
|
|
<x-slot:page_title>Judging Dashboard</x-slot:page_title>
|
|
|
|
<h2 class="overflow-hidden mx-auto max-w-md py-3 px-1 text-base font-semibold leading-7 text-gray-900">Choose
|
|
audition to judge</h2>
|
|
|
|
@foreach($rooms as $room)
|
|
<x-card.card class="mx-auto max-w-md mb-3">
|
|
<x-card.heading>{{ $room->name }}</x-card.heading>
|
|
<x-card.list.body>
|
|
@foreach($room->auditions as $audition)
|
|
<a href="{{ route('judging.auditionEntryList', $audition) }}">
|
|
<x-card.list.row class="!py-3 ml-3">{{ $audition->name }}</x-card.list.row>
|
|
</a>
|
|
@endforeach
|
|
@foreach($room->prelimAuditions as $prelimAudition)
|
|
<a href="{{ route('judging.prelimEntryList', $prelimAudition->audition) }}">
|
|
<x-card.list.row class="!py-3 ml-3">{{ $prelimAudition->audition->name }} Prelims</x-card.list.row>
|
|
</a>
|
|
@endforeach
|
|
</x-card.list.body>
|
|
</x-card.card>
|
|
@endforeach
|
|
|
|
@foreach($bonusScoresToJudge as $bonusScore)
|
|
<x-card.card class="mx-auto max-w-md mb-3">
|
|
<x-card.heading>{{ $bonusScore->name }}</x-card.heading>
|
|
<x-card.list.body>
|
|
@foreach($bonusScore->auditions as $audition)
|
|
<a href="{{ route('judging.bonusScore.EntryList', $audition) }}">
|
|
<x-card.list.row class="!py-3 ml-3">
|
|
{{ $audition->name }}
|
|
</x-card.list.row>
|
|
</a>
|
|
@endforeach
|
|
</x-card.list.body>
|
|
</x-card.card>
|
|
@endforeach
|
|
|
|
|
|
</x-layout.app>
|