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
@@ -50,13 +50,13 @@
<div class="row">
<div class="col-6">
<h5>{{$flight->dpt_airport_id}} METAR</h5>
{{ Widget::checkWx([
{{ Widget::Weather([
'icao' => $flight->dpt_airport_id,
]) }}
</div>
<div class="col-6">
<h5>{{$flight->arr_airport_id}} METAR</h5>
{{ Widget::checkWx([
{{ Widget::Weather([
'icao' => $flight->arr_airport_id,
]) }}
</div>