Working on gshirt ranking view
This commit is contained in:
parent
162f079a84
commit
29cc34590d
3 changed files with 34 additions and 32 deletions
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
@include('layouts.nav')
|
||||
|
||||
<div class="container" style="width:100%;">
|
||||
<div class="container" style="width:100%; float:left;">
|
||||
@yield('content')
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,35 +1,37 @@
|
|||
@extends('layouts.layout')
|
||||
|
||||
@section('content')
|
||||
<section class="jumbotron text-center container">
|
||||
<!--
|
||||
<div class="main-container">
|
||||
<div class="fixer-container">
|
||||
<div class="lead" >Grünes Trikot</div>
|
||||
<section class="text-center">
|
||||
<div class="container">
|
||||
|
||||
-->
|
||||
<h1>Grünes Trikot</h1>
|
||||
|
||||
<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']}} ( +{{$round['gshirt_score']}} ) [{{$round['gshirt_foulcount']}} fouls]</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
<table class="col-md-12">
|
||||
<th style="height:140px; white-space: nowrap;border-bottom: 1px solid #ccc; ">
|
||||
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
||||
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">Spieler</span>
|
||||
</div>
|
||||
</th>
|
||||
|
||||
@foreach ($roundnames as $roundname)
|
||||
<th style="white-space: nowrap;border-bottom: 1px solid #ccc;">
|
||||
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
||||
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">{{ $roundname }} </span>
|
||||
</div>
|
||||
</th>
|
||||
@endforeach
|
||||
|
||||
@foreach ($rankingDisplay as $rounds)
|
||||
<tr>
|
||||
<td style="white-space: nowrap;border: 1px solid #ccc;" >{{$rounds[0]['user_name']}}</td>
|
||||
@foreach($rounds as $round)
|
||||
<td style="white-space: nowrap;border: 1px solid #ccc;"> {{ $round['gshirt_totalscore']}} <br/>( +{{$round['gshirt_score']}} )<br/>[{{$round['gshirt_foulcount']}} fouls]</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
@endforeach
|
||||
</table>
|
||||
|
||||
|
||||
</table>
|
||||
<!--
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@endsection
|
||||
Loading…
Add table
Add a link
Reference in a new issue