From edd19bb2c2c69cfd9c3680a5ec45c2c6fc3d7fab Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Wed, 2 Aug 2017 23:22:51 -0500 Subject: [PATCH] #57 styling for flights list page --- config/phpvms.php | 2 +- .../layouts/default/flights/table.blade.php | 55 +++++++++++-------- 2 files changed, 33 insertions(+), 24 deletions(-) diff --git a/config/phpvms.php b/config/phpvms.php index 35b33c3f..4f4d5953 100644 --- a/config/phpvms.php +++ b/config/phpvms.php @@ -33,7 +33,7 @@ return [ /** * Restrict showing flights from the user's current airport */ - 'only_flights_from_current' => true, + 'only_flights_from_current' => false, /** * Misc Settings diff --git a/resources/views/layouts/default/flights/table.blade.php b/resources/views/layouts/default/flights/table.blade.php index e1870944..d2846e39 100644 --- a/resources/views/layouts/default/flights/table.blade.php +++ b/resources/views/layouts/default/flights/table.blade.php @@ -2,33 +2,42 @@
-
- - {!! $flight->airline->code !!}{!! $flight->flight_number !!} - @if($flight->route_code) - (C: {!! $flight->route_code !!} L: {!! $flight->route_leg !!}) - @endif - + +
+ +
-
-
-
- DEP  - {!! $flight->dpt_airport->icao !!}  - {!! $flight->dpt_time !!} -
-
- ARR  - {!! $flight->arr_airport->icao !!}  - {!! $flight->arr_time !!} - @if($flight->alt_airport) - Alt: {!! $flight->alt_airport->icao !!} - ) - @endif + +
+
+
+ DEP  + {!! $flight->dpt_airport->icao !!}  + + ARR  + {!! $flight->arr_airport->icao !!} 
-
+
+ + {!! $flight->dpt_time !!} + {!! $flight->arr_time !!}
+
+
+
+
ROUTE  {!! $flight->route !!}