Add METAR interface and use local library for decoding

This commit is contained in:
Nabeel Shahzad
2018-04-02 22:35:25 -05:00
parent 3dba586f83
commit 717118cfb4
16 changed files with 425 additions and 161 deletions
@@ -9,14 +9,14 @@
{{-- Show the weather widget in one column --}}
<div class="col-5">
{{ Widget::checkWx([
{{ Widget::Weather([
'icao' => $airport->icao,
]) }}
</div>
{{-- Show the airspace map in the other column --}}
<div class="col-7">
{{ Widget::airspaceMap([
{{ Widget::AirspaceMap([
'width' => '100%',
'height' => '400px',
'lat' => $airport->lat,
@@ -29,7 +29,7 @@
@if($airport->files && Auth::check())
<div class="col-12">
<h3 class="description">Downloads</h3>
@include('files.table', ['files' => $airport->files])
@include('downloads.table', ['files' => $airport->files])
</div>
@endif
</div>