2018-03-28 00:40:37 +08:00
|
|
|
@extends('app')
|
|
|
|
@section('title', $airport->full_name)
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
<div class="row">
|
2018-04-01 04:57:30 +08:00
|
|
|
<div class="col-12">
|
2018-03-28 00:40:37 +08:00
|
|
|
<h2 class="description">{{ $airport->full_name }}</h2>
|
|
|
|
</div>
|
2018-04-01 04:57:30 +08:00
|
|
|
<div class="col-5">
|
|
|
|
|
|
|
|
{{ Widget::checkWx([
|
|
|
|
'icao' => $airport->icao,
|
|
|
|
]) }}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="col-7">
|
2018-03-28 00:40:37 +08:00
|
|
|
{{ Widget::airspaceMap([
|
|
|
|
'width' => '100%',
|
2018-04-01 04:57:30 +08:00
|
|
|
'height' => '400px',
|
2018-03-28 00:40:37 +08:00
|
|
|
'lat' => $airport->lat,
|
|
|
|
'lon' => $airport->lon,
|
|
|
|
]) }}
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-04-01 04:57:30 +08:00
|
|
|
<div class="row" style="height: 30px;">
|
2018-03-28 00:40:37 +08:00
|
|
|
|
2018-04-01 04:57:30 +08:00
|
|
|
</div>
|
2018-03-28 00:40:37 +08:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<h3 class="description">Inbound Flights</h3>
|
|
|
|
@if(!$inbound_flights)
|
|
|
|
<div class="mini-splash">
|
|
|
|
no flights found
|
|
|
|
</div>
|
|
|
|
@else
|
|
|
|
@each('airports.table', $inbound_flights, 'flight')
|
|
|
|
@endif
|
|
|
|
<h3 class="description">Outbound Flights</h3>
|
|
|
|
@each('airports.table', $outbound_flights, 'flight')
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|