Qualification Pairing done
This commit is contained in:
parent
a66189ca00
commit
e0d38fac38
4 changed files with 73 additions and 172 deletions
|
|
@ -5,31 +5,35 @@
|
|||
<div class="container">
|
||||
|
||||
<label>{{ $season->name }}</label>
|
||||
<h2>Spielplan</h2>
|
||||
<h1>Spielplan</h1>
|
||||
|
||||
<!-- Start Runden-Loop-->
|
||||
@foreach($matchesTotal as $round_id => $roundGroup)
|
||||
<h3>{{$roundNames[$round_id]}}</h3>
|
||||
<table class="table-bordered col-lg-12">
|
||||
<tr class="table-bordered">
|
||||
<td class="table-bordered" style="width:150px;">Gruppe</td>
|
||||
<td class="table-bordered" style="width:150px;">Spieler 1</td>
|
||||
<td class="table-bordered" style="width:150px;">Spieler 2</td>
|
||||
<td class="table-bordered" style="width:150px;">Ergebnis</td>
|
||||
</tr>
|
||||
<p> </p>
|
||||
@foreach($matchesTotal[$round_id] as $match)
|
||||
@if ($leagueNames[$match->league_id]=="Qualifikationsgruppe 4") <!-- Debug -->
|
||||
<tr class="table-bordered">
|
||||
<td> {{$leagueNames[$match->league_id]}} </td>
|
||||
<td> {{$match->user1_id}}-{{$match->user1_name}} </td>
|
||||
<td> {{$match->user2_id}}-{{$match->user2_name}} </td>
|
||||
<td>0:0</td>
|
||||
</tr>
|
||||
@endif
|
||||
@endforeach
|
||||
<h2>{{$roundNames[$round_id]}}</h2>
|
||||
|
||||
</table>
|
||||
<!-- Start Liga-Loop-->
|
||||
@foreach($matchesTotal[$round_id] as $league_id => $matchGroup)
|
||||
<h3>{{$leagueNames[$league_id]}}</h3>
|
||||
|
||||
<table class="table-bordered col-lg-12">
|
||||
<tr class="table-bordered">
|
||||
<td class="table-bordered" style="width:150px;">Heim</td>
|
||||
<td class="table-bordered" style="width:150px;">Gast</td>
|
||||
<td class="table-bordered" style="width:150px;">Ergebnis</td>
|
||||
</tr>
|
||||
|
||||
<!-- Start Matchgruppen-Loop-->
|
||||
@foreach($matchesTotal[$round_id][$league_id] as $match)
|
||||
<tr class="table-bordered">
|
||||
<td> {{$match->user1_id}}-{{$match->user1_name}} </td>
|
||||
<td> {{$match->user2_id}}-{{$match->user2_name}} </td>
|
||||
<td>0:0</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
</table>
|
||||
<p> </p>
|
||||
@endforeach
|
||||
@endforeach
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue