#57 skeleton for flights page
This commit is contained in:
@@ -158,12 +158,26 @@ flights:
|
|||||||
dpt_airport_id: 1
|
dpt_airport_id: 1
|
||||||
arr_airport_id: 2
|
arr_airport_id: 2
|
||||||
route: KAUS KJFK
|
route: KAUS KJFK
|
||||||
|
dpt_time: 6PM CST
|
||||||
|
arr_time: 11PM EST
|
||||||
|
- id: flightid_2
|
||||||
|
airline_id: 1
|
||||||
|
flight_number: 101
|
||||||
|
dpt_airport_id: 2
|
||||||
|
arr_airport_id: 1
|
||||||
|
dpt_time: 9AM EST
|
||||||
|
arr_time: 12PM CST
|
||||||
|
route: KJFK KAUS
|
||||||
|
|
||||||
flight_fields:
|
flight_fields:
|
||||||
- id: 1
|
- id: 1
|
||||||
flight_id: flightid_1
|
flight_id: flightid_1
|
||||||
name: terminal
|
name: cost index
|
||||||
value: B
|
value: 80
|
||||||
|
- id: 2
|
||||||
|
flight_id: flightid_2
|
||||||
|
name: cost index
|
||||||
|
value: 100
|
||||||
|
|
||||||
pireps:
|
pireps:
|
||||||
- id: pirepid_1
|
- id: pirepid_1
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="#">
|
<a class="nav-link" href="{!! url('/flights') !!}">
|
||||||
<i class="fa fa-plane" aria-hidden="true"></i>
|
<i class="fa fa-plane" aria-hidden="true"></i>
|
||||||
<p>Flights</p>
|
<p>Flights</p>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ Route::group([
|
|||||||
], function () {
|
], function () {
|
||||||
Route::resource('dashboard', 'DashboardController');
|
Route::resource('dashboard', 'DashboardController');
|
||||||
Route::resource('profile', 'ProfileController');
|
Route::resource('profile', 'ProfileController');
|
||||||
|
Route::resource('flights', 'FlightController');
|
||||||
});
|
});
|
||||||
|
|
||||||
Auth::routes();
|
Auth::routes();
|
||||||
|
|||||||
Reference in New Issue
Block a user