diff --git a/resources/views/admin/pireps/map.blade.php b/resources/views/admin/pireps/map.blade.php new file mode 100644 index 00000000..e69de29b diff --git a/resources/views/admin/pireps/show.blade.php b/resources/views/admin/pireps/show.blade.php index 68cbfa1b..608865eb 100644 --- a/resources/views/admin/pireps/show.blade.php +++ b/resources/views/admin/pireps/show.blade.php @@ -6,8 +6,21 @@ @endsection @section('content') -
- @include('admin.pireps.show_fields') - @include('admin.pireps.field_values') +
+
+ @include('admin.pireps.show_fields') +
+
+ +
+
+ @include('admin.pireps.field_values') +
+
+ +
+
+ @include('admin.pireps.map') +
@endsection diff --git a/resources/views/admin/pireps/show_fields.blade.php b/resources/views/admin/pireps/show_fields.blade.php index f5346f04..6a23e505 100644 --- a/resources/views/admin/pireps/show_fields.blade.php +++ b/resources/views/admin/pireps/show_fields.blade.php @@ -1,103 +1,85 @@ -
-
-
- {{----}} -

{!! Form::label('dpt_airport_id', 'Dep ICAO') !!}

-
-

- {!! $pirep->dpt_airport->icao !!} - {!! $pirep->dpt_airport->name !!} -

-
-
- -
-
-
- {{----}} -

{!! Form::label('arr_airport_id', 'Arrival ICAO') !!}

-
-

- {!! $pirep->arr_airport->icao !!} - {!! $pirep->arr_airport->name !!} -

-
-
-
- - -
-
-
- - -
- {!! Form::label('user_id', 'Pilot:') !!} -

{!! $pirep->user->name !!}

+
+
+
+
+ {{----}} +

{!! Form::label('dpt_airport_id', 'Dep ICAO') !!}

+

+ {!! $pirep->dpt_airport->icao !!} - {!! $pirep->dpt_airport->name !!} +

+
+
- -
- {!! Form::label('flight_id', 'Flight Id:') !!} -

- - {!! $pirep->airline->code !!} - @if($pirep->flight_id) - {!! $pirep->flight->flight_number !!} - @else - {!! $pirep->flight_number !!} - @endif - +

+
+
+ {{----}} +

{!! Form::label('arr_airport_id', 'Arrival ICAO') !!}

+
+

+ {!! $pirep->arr_airport->icao !!} - {!! $pirep->arr_airport->name !!}

- - -
- {!! Form::label('aircraft_id', 'Aircraft:') !!} -

{!! $pirep->aircraft->subfleet->name !!}, {!! $pirep->aircraft->name !!} - ({!! $pirep->aircraft->registration !!}) -

-
- - -
- {!! Form::label('flight_time', 'Flight Time:') !!} -

{!! Utils::secondsToTime($pirep->flight_time) !!}

-
- - -
- {!! Form::label('level', 'Level:') !!} -

{!! $pirep->level !!}

-
- - -
- {!! Form::label('route', 'Route:') !!} -

{!! $pirep->route !!}

-
- - -
- {!! Form::label('notes', 'Notes:') !!} -

{!! $pirep->notes !!}

-
- - -
- {!! Form::label('raw_data', 'Raw Data:') !!} -

{!! $pirep->raw_data !!}

-
- - -
- {!! Form::label('created_at', 'Created At:') !!} -

{!! $pirep->created_at !!}

-
- - -
- {!! Form::label('updated_at', 'Updated At:') !!} -

{!! $pirep->updated_at !!}

-
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Pilot +

+ {!! $pirep->user->name !!} +

+
Flight +

+ + {!! $pirep->ident !!} + +

+
Aircraft +

{!! $pirep->aircraft->subfleet->name !!}, {!! $pirep->aircraft->name !!} + ({!! $pirep->aircraft->registration !!}) +

+
Flight Time

{!! Utils::minutesToTimeString($pirep->flight_time) !!}

Flight Level

{!! $pirep->level !!}

Route{!! $pirep->route !!}
Notes{!! $pirep->notes !!}
Filed On

{!! show_datetime($pirep->created_at) !!}

Updated On

{!! show_datetime($pirep->updated_at) !!}

+
+