Start of Test Class, fixing ranking visibiliy of open rounds issue
This commit is contained in:
parent
7545760aa2
commit
29e493e22d
11 changed files with 11891 additions and 43 deletions
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<!-- Start Runden-Loop-->
|
||||
@foreach($matchesTotal as $round_id => $roundGroup)
|
||||
<h2>{{$roundNames[$round_id]}}</h2>
|
||||
<h2><a href="http://hoschis-tippspiel.de/users/ranking/roundid_{{$round_id}}#playerid_0">{{$roundNames[$round_id]}}</a></h2>
|
||||
|
||||
<!-- Start Liga-Loop-->
|
||||
@foreach($matchesTotal[$round_id] as $league_id => $matchGroup)
|
||||
|
|
@ -25,8 +25,9 @@
|
|||
<!-- Start Matchgruppen-Loop-->
|
||||
@foreach($matchesTotal[$round_id][$league_id] as $match)
|
||||
<tr class="table-bordered">
|
||||
<td> {{$match->user1_name}} </td>
|
||||
<td> {{$match->user2_name}} </td>
|
||||
<td> <a href="/league/showSingleUserMatches/user_id={{$match->user1_id}}"> {{$match->user1_name}} </a> </td>
|
||||
<td> <a href="/league/showSingleUserMatches/user_id={{$match->user2_id}}"> {{$match->user2_name}} </a> </td>
|
||||
|
||||
@if($match->user1_rankscore==-1)
|
||||
<td> ausstehend </td>
|
||||
@else
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<section class="text-center">
|
||||
<div class="container">
|
||||
|
||||
<h2>{{ $userName }}</h2>
|
||||
<h2>Spielplan für: {{ $userName }}</h2>
|
||||
|
||||
<table class="table-bordered col-lg-12">
|
||||
<tr class="table-bordered">
|
||||
|
|
@ -12,6 +12,7 @@
|
|||
<td class="table-bordered" style="width:150px;">Runde</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>
|
||||
|
||||
@foreach($matches as $match)
|
||||
|
|
@ -19,8 +20,15 @@
|
|||
<tr class="table-bordered">
|
||||
<td class="table-bordered" style="width:50px;">{{$leagueNames[$match->league_id]}}</td>
|
||||
<td class="table-bordered" style="width:150px;">{{$roundNames[$match->round_id]}}</td>
|
||||
<td class="table-bordered" style="width:150px;">{{$match->user1_name}}</td>
|
||||
<td class="table-bordered" style="width:150px;">{{$match->user2_name}}</td>
|
||||
<td> <a href="/league/showSingleUserMatches/user_id={{$match->user1_id}}"> {{$match->user1_name}} </a> </td>
|
||||
<td> <a href="/league/showSingleUserMatches/user_id={{$match->user2_id}}"> {{$match->user2_name}} </a> </td>
|
||||
|
||||
|
||||
@if ($match->user1_rankscore>-1)
|
||||
<td class="table-bordered" style="width:150px;">{{$match->user1_rankscore}}:{{$match->user2_rankscore}}</td>
|
||||
@else
|
||||
<td class="table-bordered" style="width:150px;">ausstehend</td>
|
||||
@endif
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
|
|
|||
|
|
@ -10,11 +10,14 @@
|
|||
<div class="form-group">
|
||||
<label for="name">Name:</label>
|
||||
<input type="text" class="form-control" id="name" name="name" required>
|
||||
<label for="roundcount">Anzahl Runden:</label>
|
||||
<input style="width:100px" type="text" class="form-control" id="roundcount" name="roundcount" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<button type="submit" class="btn btn-primary">Erstellen</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -14,9 +14,13 @@
|
|||
|
||||
|
||||
<form>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<div class="form-group" >
|
||||
<h4>
|
||||
<label style="float:left; width:200px;">Aktive Spieler:</label>
|
||||
<label style="float:left;"> {{$active_user_count}}</label>
|
||||
</h4>
|
||||
<h4>
|
||||
<label style="float:left; width:200px;">Einsatz pro Spieler:</label>
|
||||
<label style="float:left;"> {{$quotas['Einsatz']}} €</label>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue