#57 skeleton for flights page

This commit is contained in:
Nabeel Shahzad 2017-08-02 15:12:18 -05:00
parent e4e23dd8a6
commit 0ad5639bb9
3 changed files with 18 additions and 3 deletions

View File

@ -158,12 +158,26 @@ flights:
dpt_airport_id: 1
arr_airport_id: 2
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:
- id: 1
flight_id: flightid_1
name: terminal
value: B
name: cost index
value: 80
- id: 2
flight_id: flightid_2
name: cost index
value: 100
pireps:
- id: pirepid_1

View File

@ -48,7 +48,7 @@
</a>
</li>
<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>
<p>Flights</p>
</a>

View File

@ -12,6 +12,7 @@ Route::group([
], function () {
Route::resource('dashboard', 'DashboardController');
Route::resource('profile', 'ProfileController');
Route::resource('flights', 'FlightController');
});
Auth::routes();