2018-01-20 06:07:31 +08:00
|
|
|
<table class="table table-hover" id="users-table">
|
2020-02-02 02:05:56 +08:00
|
|
|
<thead>
|
|
|
|
<th></th>
|
|
|
|
<th>@lang('common.name')</th>
|
|
|
|
<th style="text-align: center"></th>
|
|
|
|
<th style="text-align: center">@lang('common.airline')</th>
|
|
|
|
<th style="text-align: center">@lang('user.location')</th>
|
|
|
|
<th style="text-align: center">{{ trans_choice('common.flight', 2) }}</th>
|
|
|
|
<th style="text-align: center">{{ trans_choice('common.hour', 2) }}</th>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
@foreach($users as $user)
|
|
|
|
<tr>
|
|
|
|
<td style="width: 80px;">
|
|
|
|
<div class="photo-container">
|
|
|
|
@if ($user->avatar == null)
|
|
|
|
<img class="rounded-circle"
|
|
|
|
src="{{ $user->gravatar(256) }}&s=256"/>
|
|
|
|
@else
|
|
|
|
<img src="{{ $user->avatar->url }}">
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<a href="{{ route('frontend.profile.show.public', [$user->id]) }}">
|
2020-04-07 00:03:19 +08:00
|
|
|
{{$user->ident}} {{ $user->name_private }}
|
2020-02-02 02:05:56 +08:00
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
<td align="center">
|
|
|
|
@if(filled($user->country))
|
|
|
|
<span class="flag-icon flag-icon-{{ $user->country }}"
|
|
|
|
title="{{ $country->alpha2($user->country)['name'] }}"></span>
|
|
|
|
@endif
|
|
|
|
</td>
|
|
|
|
<td class="text-center">{{ $user->airline->icao }}</td>
|
|
|
|
<td class="text-center">
|
|
|
|
@if($user->current_airport)
|
|
|
|
{{ $user->curr_airport_id }}
|
|
|
|
@else
|
|
|
|
-
|
|
|
|
@endif
|
|
|
|
</td>
|
|
|
|
<td align="center">{{ $user->flights }}</td>
|
2020-02-12 01:32:41 +08:00
|
|
|
<td align="center">@minutestotime($user->flight_time)</td>
|
2020-02-02 02:05:56 +08:00
|
|
|
</tr>
|
|
|
|
@endforeach
|
|
|
|
</tbody>
|
2018-01-20 06:07:31 +08:00
|
|
|
</table>
|