From cfe1913411e9792dab4af32373c2d5355b26b30c Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Wed, 14 Jun 2017 09:39:02 -0500 Subject: [PATCH] #11 some more organization around the aircraft --- Procfile | 2 ++ database/seeds/DatabaseSeeder.php | 2 +- public/img/admin/favicon.ico | Bin 0 -> 15086 bytes .../views/admin/aircraft/index.blade.php | 4 ++- .../views/admin/aircraft/table.blade.php | 11 +++++--- resources/views/admin/app.blade.php | 12 ++++++--- resources/views/admin/menu.blade.php | 16 +++++------ resources/views/admin/sidebar.blade.php | 25 +++++++----------- 8 files changed, 39 insertions(+), 33 deletions(-) create mode 100644 Procfile create mode 100644 public/img/admin/favicon.ico diff --git a/Procfile b/Procfile new file mode 100644 index 00000000..35aece84 --- /dev/null +++ b/Procfile @@ -0,0 +1,2 @@ +nginx: /usr/local/bin/nginx +php-fpm: /usr/local/sbin/php-fpm \ No newline at end of file diff --git a/database/seeds/DatabaseSeeder.php b/database/seeds/DatabaseSeeder.php index 833c0cfc..bd12bff4 100755 --- a/database/seeds/DatabaseSeeder.php +++ b/database/seeds/DatabaseSeeder.php @@ -14,5 +14,5 @@ class DatabaseSeeder extends Seeder { } - + } diff --git a/public/img/admin/favicon.ico b/public/img/admin/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..4f398dbf0c4ea13dbc5532f55077b8facceedc7d GIT binary patch literal 15086 zcmeI3e}tCV9>Cudk})@9v`KelWOk*SWF>1|NxDh8BgsmVtnNyZBpJ!b z+^mdlR+1!ZB`Zm?lC_eIkuj1a8A+14pU=C`d7bx}=XvLOr`G;+htHn#ob&y4zUO<+ z^S(1}sq{&yq4epeC4Lr`{`Hqq>2LNH{{H-5#{a|EXP+g{9i`IW=ax!;sHtsXm1bg8w?1D~cf!3t&m~+ZBW$2z^{4~sp z=izObKy8Rb`2U5*?#)!UWdiOAN`H+9-hJvFb0$0*!oD0oi6K+)3!w8Ej%0N zLr_Ouc>rLCOKaa8Jkqy@}CneL#n7aF6cRZK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;JU>AI&khdD65XT+R&EI--7j0I2T#5=8a+3y=aBy;5zPu zd7A{|n1Gk?9G=0`1pAIT_ZpN{M_p}bOPkvMXgQx|9nJV^hYjF4y935(E{!b<=af-a zoi9Nf+WN!e&RUOtp$S^RJ7g7DzdK=nf_=w&K^bM$`QVtb!H@qx)c@N*BM<)rwjQF? literal 0 HcmV?d00001 diff --git a/resources/views/admin/aircraft/index.blade.php b/resources/views/admin/aircraft/index.blade.php index 1790e313..3525f39b 100644 --- a/resources/views/admin/aircraft/index.blade.php +++ b/resources/views/admin/aircraft/index.blade.php @@ -4,7 +4,9 @@

Aircraft

- Add New + Aircraft Classes +    + Add New Aircraft

diff --git a/resources/views/admin/aircraft/table.blade.php b/resources/views/admin/aircraft/table.blade.php index eb72cfda..9a9a2796 100644 --- a/resources/views/admin/aircraft/table.blade.php +++ b/resources/views/admin/aircraft/table.blade.php @@ -3,8 +3,8 @@ ICAO Name Registration - Active - Action + Active + Actions @foreach($aircraft as $ac) @@ -12,8 +12,11 @@ {!! $ac->icao !!} {!! $ac->name !!} {!! $ac->registration !!} - {!! $ac->active !!} - + + + + {!! Form::open(['route' => ['admin.aircraft.destroy', $ac->id], 'method' => 'delete']) !!}
diff --git a/resources/views/admin/app.blade.php b/resources/views/admin/app.blade.php index 705aec4b..4f9977d7 100644 --- a/resources/views/admin/app.blade.php +++ b/resources/views/admin/app.blade.php @@ -5,15 +5,19 @@ phpvms4 admin + - + - + {{----}} + @yield('css') @@ -121,9 +125,9 @@
-
+ {{--
Copyright © 2017 phpvms. All rights reserved. -
+
--}}
@else diff --git a/resources/views/admin/menu.blade.php b/resources/views/admin/menu.blade.php index 1c7ece51..bae4b099 100644 --- a/resources/views/admin/menu.blade.php +++ b/resources/views/admin/menu.blade.php @@ -1,17 +1,17 @@
  • - dashboard + dashboard
  • operations
  • -
  • - pireps +
  •  pireps 3
  • -
  • fleet
  • -
  • fares
  • +
  •  fleet
  • +
  •  fares
  • config
  • -
  • airlines
  • -
  • airports
  • -
  • aircraft classes
  • +
  •  airlines
  • +
  •  airports
  • +{{--
  •  aircraft classes
  • --}} +
  •  users
  • diff --git a/resources/views/admin/sidebar.blade.php b/resources/views/admin/sidebar.blade.php index d2343019..cf1e84bd 100644 --- a/resources/views/admin/sidebar.blade.php +++ b/resources/views/admin/sidebar.blade.php @@ -4,7 +4,7 @@