Show player matches for single userId
This commit is contained in:
parent
93d7670b48
commit
98ebdb6c93
7 changed files with 163 additions and 9 deletions
30
pfosten/resources/views/leagues/playermatches.blade.php
Executable file
30
pfosten/resources/views/leagues/playermatches.blade.php
Executable file
|
|
@ -0,0 +1,30 @@
|
|||
@extends('layouts.layout')
|
||||
|
||||
@section('content')
|
||||
<section class="text-center">
|
||||
<div class="container">
|
||||
|
||||
<h2>{{ $userName }}</h2>
|
||||
|
||||
<table class="table-bordered col-lg-12">
|
||||
<tr class="table-bordered">
|
||||
<td class="table-bordered" style="width:50px;">Liga / Gruppe</td>
|
||||
<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>
|
||||
</tr>
|
||||
|
||||
@foreach($matches as $match)
|
||||
|
||||
<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>
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
@endsection
|
||||
Loading…
Add table
Add a link
Reference in a new issue