Added HTML Helpers from Laravelcollective
This commit is contained in:
parent
0736ecf29f
commit
b5c1f40a45
31 changed files with 614 additions and 220 deletions
|
|
@ -3,37 +3,47 @@
|
|||
@section('content')
|
||||
<section class="jumbotron text-center">
|
||||
<div class="container">
|
||||
<h1 class="jumbotron-heading">Hoschis Vollpfosten</h1>
|
||||
<p class="lead text-muted">Eine Tippgemeinschaft unter Freunden.</p>
|
||||
<div><p></p><p></p><p></p></div>
|
||||
|
||||
@if (!Auth::check())
|
||||
<div>
|
||||
<a href="/login" class="btn btn-primary">Anmelden</a>
|
||||
</div>
|
||||
<div><p></p><p></p><p></p></div>
|
||||
</div>
|
||||
<a href="/register" class="btn btn-primary">Registrieren</a>
|
||||
</div>
|
||||
@endif
|
||||
@if (Auth::check())
|
||||
<div class="lead">Spieler:</div>
|
||||
|
||||
<div class="lead"> Spielerliste:</div>
|
||||
<p> </p>
|
||||
|
||||
<div>
|
||||
<ul>
|
||||
@foreach($users as $user)
|
||||
<li class="text list-unstyled">{{ $user->name }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
<!--
|
||||
<div>
|
||||
<a href="/logout" class="btn btn-primary">Abmelden</a>
|
||||
</div>
|
||||
-->
|
||||
@endif
|
||||
<div>
|
||||
<table class="table-bordered">
|
||||
<tr class="table-bordered">
|
||||
<td class="table-bordered">Name</td>
|
||||
<td class="table-bordered"> Saison bezahlt </td>
|
||||
<td class="table-bordered">Status</td>
|
||||
</tr>
|
||||
@foreach($users as $user)
|
||||
<tr>
|
||||
<td class="table-bordered"> <a class="text list-unstyled" href="/users/edit/{{$user->id}}">{{ $user->name }} </a></td>
|
||||
<td class="table-bordered">{{ App\User::is_season_paid($user->id) }}</td>
|
||||
<td class="table-bordered"> {{ ($user->admin ? "Administrator":"Spieler") }} </td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
</table>
|
||||
|
||||
<p> </p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
@endsection
|
||||
@endsection
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue