From 0ad5639bb92a11cfc34729c6b67fa21567bfb869 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Wed, 2 Aug 2017 15:12:18 -0500 Subject: [PATCH] #57 skeleton for flights page --- database/seeds/dev.yml | 18 ++++++++++++++++-- resources/views/layouts/default/app.blade.php | 2 +- routes/web.php | 1 + 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/database/seeds/dev.yml b/database/seeds/dev.yml index d9809cb4..9ff86597 100644 --- a/database/seeds/dev.yml +++ b/database/seeds/dev.yml @@ -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 diff --git a/resources/views/layouts/default/app.blade.php b/resources/views/layouts/default/app.blade.php index 225f0f9a..b254bb67 100644 --- a/resources/views/layouts/default/app.blade.php +++ b/resources/views/layouts/default/app.blade.php @@ -48,7 +48,7 @@