Working on gshirt display

This commit is contained in:
Torsten 2017-12-18 09:57:09 +01:00
parent 1b064fe899
commit 162f079a84
8 changed files with 117 additions and 474 deletions

View file

@ -2,29 +2,34 @@
@section('content')
<section class="jumbotron text-center container">
<!--
<div class="main-container">
<div class="fixer-container">
<div class="lead" >Grünes Trikot</div>
-->
@foreach ($roundnames as $roundname)
<label> {{ $roundname }} | </label>
@endforeach
@foreach ($rankingDisplay as $user_id => $round_array)
<label>{{ $usernames[$user_id] }}</label>&nbsp;
@foreach($round_array as $unknown)
@foreach($unknown as $entry)
<label> {{$entry['gshirt_totalscore']}} &nbsp;( +{{$entry['gshirt_score']}} )&nbsp;[{{$entry['gshirt_foulcount']}} fouls]</label> &nbsp;&nbsp;&nbsp;
<table class="table-bordered">
<tr>
<td>Spieler</td>
@foreach ($roundnames as $roundname)
<td> {{ $roundname }} </td>
@endforeach
</tr>
@foreach ($rankingDisplay as $rounds)
<tr>
<td>{{$rounds[0]['user_name']}}</td>
@foreach($rounds as $round)
<td> {{ $round['gshirt_totalscore']}} &nbsp;( +{{$round['gshirt_score']}} )&nbsp;[{{$round['gshirt_foulcount']}} fouls]</td> &nbsp;&nbsp;&nbsp;
@endforeach
</tr>
@endforeach
<br/>
@endforeach
</table>
<!--
</div>
</div>
-->
</section>
@endsection