ba8a819c7d
- flight ident now use this format: VA IATA(if empty ICAO) + Flight Number + - + Flight Code (without C) + - + Flight Leg (without L) - added function __trans_choice in helpers.php for translation - fixed error in flight edit/insert panel not showing/inserting Tuesday in days - fixed an error occurring when metar retrieved is empty - edited now-ui-kit.css to align login fields correctly - added /public/assets/frontend/js/core/jquery-3.3.1.min.js to fix a missed resource error in authentication pages - added translations file for en and it locales - translated all the frontend templates
53 lines
2.0 KiB
PHP
53 lines
2.0 KiB
PHP
@extends('app')
|
|
@section('title', __('Welcome!'))
|
|
|
|
@section('content')
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<center><h1 class="description">{{ __('Welcome Message') }}</h1></center>
|
|
</div>
|
|
<div class="col-sm-9">
|
|
<img src="{{ public_asset('/assets/img/Airplane.jpg') }}" style=""/>
|
|
</div>
|
|
<div class="col-sm-3 ">
|
|
<h2 class="description">{{ __('Newest Pilots') }}</h2>
|
|
@foreach($users as $user)
|
|
<div class="card card-signup blue-bg">
|
|
{{--<div class="card-bg">--}}
|
|
{{--<i class="fa fa-user-o" style="opacity: .1;"></i>--}}
|
|
{{--</div>--}}
|
|
<div class="header header-primary text-center blue-bg">
|
|
<h3 class="title title-up text-white">
|
|
<a href="{{ route('frontend.profile.show', ['id' => $user->id]) }}" class="text-white">{{ $user->name }}</a>
|
|
</h3>
|
|
<div class="photo-container">
|
|
@if ($user->avatar == null)
|
|
<img class="rounded-circle"
|
|
src="{{ $user->gravatar(123) }}">
|
|
@else
|
|
<img src="{{ $user->avatar->url }}" style="width: 123px;">
|
|
@endif
|
|
</div>
|
|
</div>
|
|
<div class="content content-center">
|
|
<div class="social-description text-center text-white">
|
|
<h2 class="description text-white">
|
|
@if(filled($user->home_airport))
|
|
{{ $user->home_airport->icao }}
|
|
@endif
|
|
</h2>
|
|
</div>
|
|
</div>
|
|
<div class="footer text-center">
|
|
<a href="{{ route('frontend.profile.show', ['id' => $user->id]) }}" class="btn btn-neutral btn-sm">{{ __('Profile') }}</a>
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
</div>
|
|
@endsection
|