Show player matches for single userId
This commit is contained in:
parent
93d7670b48
commit
98ebdb6c93
7 changed files with 163 additions and 9 deletions
34
pfosten/resources/views/leagues/chart.blade.php
Executable file
34
pfosten/resources/views/leagues/chart.blade.php
Executable file
|
|
@ -0,0 +1,34 @@
|
|||
@extends('layouts.layout')
|
||||
|
||||
@section('content')
|
||||
<section class="text-center">
|
||||
<div class="container">
|
||||
|
||||
<h2>{{ $season->name }}</h2>
|
||||
|
||||
@foreach($leagueScores as $leagueId => $playerTuples)
|
||||
<h2>{{ $leagueNames[$leagueId] }}</h2>
|
||||
|
||||
<table class="table-bordered col-lg-12">
|
||||
<tr class="table-bordered">
|
||||
<td class="table-bordered" style="width:50px;">Punkte</td>
|
||||
<td class="table-bordered" style="width:150px;">Spieler</td>
|
||||
<td class="table-bordered" style="width:150px;">Torverhältnis</td>
|
||||
</tr>
|
||||
|
||||
<!-- Start Matchgruppen-Loop-->
|
||||
@foreach($playerTuples as $player)
|
||||
<tr class="table-bordered">
|
||||
<td> {{$player[1]}} </td>
|
||||
<td> <a href="/league/showSingleUserMatches/user_id={{$player[0]}}"> {{$userNames[$player[0]]}} </a> </td>
|
||||
<td> {{$player[2]}}:{{$player[3]}} </td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
</table>
|
||||
<p> </p>
|
||||
|
||||
@endforeach
|
||||
</div>
|
||||
</section>
|
||||
@endsection
|
||||
Loading…
Add table
Add a link
Reference in a new issue