Rangliste almost done
This commit is contained in:
parent
12651fc2e8
commit
43fd8c8cbf
579 changed files with 172489 additions and 127 deletions
|
|
@ -4,34 +4,44 @@
|
|||
<section class="jumbotron text-center">
|
||||
<div class="container">
|
||||
|
||||
@if ($activeSeason)
|
||||
<label>Saison:{{ $activeSeason->name }}</label>
|
||||
@endif
|
||||
|
||||
<label>Saison:{{ $activeSeason->name }}</label>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="lead">Runden</div>
|
||||
<div><a href="/rounds/create" class="btn btn-primary">Runde hinzufügen</a></div>
|
||||
<p> </p>
|
||||
|
||||
@if ($activeSeason)
|
||||
<div>
|
||||
@foreach($rounds->reverse() as $round)
|
||||
<div><a class="text lead" href="/rounds/editname/{{ $round->id }}">{{ $round->name }} </a></div>
|
||||
|
||||
<table class="table-bordered">
|
||||
<tr class="table-bordered">
|
||||
<td class="table-bordered">Spiel</td>
|
||||
<td class="table-bordered">Ergebnis</td>
|
||||
</tr>
|
||||
<p> </p>
|
||||
|
||||
@foreach($round->games as $game)
|
||||
<div><a class="text" href="/games/edit/{{ $game->id }}">{{ $game->team1 }} : {{ $game->team2 }} [ Anstoss {{ $game->kickoff }} ] </a></div>
|
||||
<tr class="table-bordered">
|
||||
<td>{{$game->team1 . " : " . $game->team2}}</td>
|
||||
<td><a href="/games/edit/{{$game->id}}">{{ App\Game::resultString($game->id) }} </a></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
</table>
|
||||
<p> </p>
|
||||
@endforeach
|
||||
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
@endsection
|
||||
@endsection
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue