Working on Qualification Pairings
This commit is contained in:
parent
9c0f94758d
commit
a66189ca00
19 changed files with 9005 additions and 237 deletions
36
pfosten/resources/views/leagues/matches.blade.php
Executable file
36
pfosten/resources/views/leagues/matches.blade.php
Executable file
|
|
@ -0,0 +1,36 @@
|
|||
@extends('layouts.layout')
|
||||
|
||||
@section('content')
|
||||
<section class="text-center">
|
||||
<div class="container">
|
||||
|
||||
<label>{{ $season->name }}</label>
|
||||
<h2>Spielplan</h2>
|
||||
|
||||
<!-- 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
|
||||
|
||||
</table>
|
||||
@endforeach
|
||||
</div>
|
||||
</section>
|
||||
@endsection
|
||||
Loading…
Add table
Add a link
Reference in a new issue