|
|
@ -4,7 +4,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
@section('content') |
|
|
|
@section('content') |
|
|
|
@if($showGreeter) |
|
|
|
@if($showGreeter) |
|
|
|
@include('greeter') |
|
|
|
@include('_greeter') |
|
|
|
@endif |
|
|
|
@endif |
|
|
|
|
|
|
|
|
|
|
|
<div class="row justify-content-center"> |
|
|
|
<div class="row justify-content-center"> |
|
|
@ -24,9 +24,14 @@ |
|
|
|
<span class="list-group-item">No users yet.</span> |
|
|
|
<span class="list-group-item">No users yet.</span> |
|
|
|
@else |
|
|
|
@else |
|
|
|
@foreach($users as $user) |
|
|
|
@foreach($users as $user) |
|
|
|
<a class="list-group-item list-group-item-action" |
|
|
|
<a class="list-group-item list-group-item-action" href="{{ route('profile.view', $user->name) }}"> |
|
|
|
href="{{ route('profile.view', $user->name) }}"> |
|
|
|
<span class="d-flex"> |
|
|
|
@icon(fa-user-circle-o fa-pr){{ $user->title }}<br> |
|
|
|
@icon(fa-user-circle-o fa-pr) |
|
|
|
|
|
|
|
<span class="flex-grow-1">{{ $user->title }}</span> |
|
|
|
|
|
|
|
<span> |
|
|
|
|
|
|
|
{{ $user->tables_count }} table{{$user->tables_count!=1?'s':''}} |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
</span> |
|
|
|
<small>{{ $user->handle }}</small> |
|
|
|
<small>{{ $user->handle }}</small> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
@endforeach |
|
|
|
@endforeach |
|
|
@ -44,6 +49,10 @@ |
|
|
|
<nav class="ml-auto" aria-label="Pages of the table list"> |
|
|
|
<nav class="ml-auto" aria-label="Pages of the table list"> |
|
|
|
{{ $tables->links(null, ['ulClass' => 'pagination-sm mb-0 pagination-outline-light']) }} |
|
|
|
{{ $tables->links(null, ['ulClass' => 'pagination-sm mb-0 pagination-outline-light']) }} |
|
|
|
</nav> |
|
|
|
</nav> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@if(authed()) |
|
|
|
|
|
|
|
<a href="{{route('table.create')}}" class="btn ml-3" aria-label="New Table">New</a> |
|
|
|
|
|
|
|
@endif |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
@include('profile._table-list', ['showAuthors' => true]) |
|
|
|
@include('profile._table-list', ['showAuthors' => true]) |
|
|
|