Rangliste almost done

This commit is contained in:
Torsten 2017-06-26 17:21:30 +02:00
parent 12651fc2e8
commit 43fd8c8cbf
579 changed files with 172489 additions and 127 deletions

View file

@ -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>&nbsp;</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>&nbsp;</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>&nbsp;</p>
@endforeach
</div>
@endif
</div>
</section>
@endsection
@endsection