Add airport overview page and links to it #225

This commit is contained in:
Nabeel Shahzad
2018-03-31 15:57:30 -05:00
parent 46f9b3d9b9
commit 0bed38c78b
29 changed files with 380 additions and 56 deletions
@@ -3,19 +3,28 @@
@section('content')
<div class="row">
<div class="col-md-6">
<div class="col-12">
<h2 class="description">{{ $airport->full_name }}</h2>
</div>
<div class="col-md-6">
<div class="col-5">
{{ Widget::checkWx([
'icao' => $airport->icao,
]) }}
</div>
<div class="col-7">
{{ Widget::airspaceMap([
'width' => '100%',
'height' => '250px',
'height' => '400px',
'lat' => $airport->lat,
'lon' => $airport->lon,
]) }}
</div>
</div>
<div class="row" style="height: 30px;">
</div>
<div class="row">
<div class="col-md-12">
<h3 class="description">Inbound Flights</h3>
@@ -26,7 +35,6 @@
@else
@each('airports.table', $inbound_flights, 'flight')
@endif
<h3 class="description">Outbound Flights</h3>
@each('airports.table', $outbound_flights, 'flight')
</div>