added Aircraft table
This commit is contained in:
parent
2a167c9337
commit
e22f621216
@ -1,4 +1,4 @@
|
|||||||
@extends('layouts.admin.app')
|
@extends('admin.app')
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<section class="content-header">
|
<section class="content-header">
|
||||||
|
@ -80,7 +80,7 @@
|
|||||||
</header>
|
</header>
|
||||||
|
|
||||||
<!-- Left side column. contains the logo and sidebar -->
|
<!-- Left side column. contains the logo and sidebar -->
|
||||||
@include('layouts.admin.sidebar')
|
@include('admin.sidebar')
|
||||||
<!-- Content Wrapper. Contains page content -->
|
<!-- Content Wrapper. Contains page content -->
|
||||||
<div class="content-wrapper">
|
<div class="content-wrapper">
|
||||||
@yield('content')
|
@yield('content')
|
||||||
@ -88,7 +88,7 @@
|
|||||||
|
|
||||||
<!-- Main Footer -->
|
<!-- Main Footer -->
|
||||||
<footer class="main-footer" style="max-height: 100px;text-align: center">
|
<footer class="main-footer" style="max-height: 100px;text-align: center">
|
||||||
<strong>Copyright © 2016 <a href="#">Company</a>.</strong> All rights reserved.
|
<strong>Copyright © 2017 <a href="#">phpvms</a>.</strong> All rights reserved.
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@ -108,7 +108,7 @@
|
|||||||
|
|
||||||
<!-- Branding Image -->
|
<!-- Branding Image -->
|
||||||
<a class="navbar-brand" href="{!! url('/') !!}">
|
<a class="navbar-brand" href="{!! url('/') !!}">
|
||||||
InfyOm Generator
|
phpVMS
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -1 +1,2 @@
|
|||||||
<li><a href="{!! url('/admin/airlines') !!}">airlines</a></li>
|
<li><a href="{!! url('/admin/airlines') !!}">airlines</a></li>
|
||||||
|
<li><a href="{!! url('/admin/aircraft') !!}">aircraft</a></li>
|
@ -33,7 +33,7 @@
|
|||||||
<!-- Sidebar Menu -->
|
<!-- Sidebar Menu -->
|
||||||
|
|
||||||
<ul class="sidebar-menu">
|
<ul class="sidebar-menu">
|
||||||
@include('layouts.admin.menu')
|
@include('admin.menu')
|
||||||
</ul>
|
</ul>
|
||||||
<!-- /.sidebar-menu -->
|
<!-- /.sidebar-menu -->
|
||||||
</section>
|
</section>
|
@ -30,4 +30,16 @@ Route::group([
|
|||||||
'prefix' => 'admin',
|
'prefix' => 'admin',
|
||||||
], function () {
|
], function () {
|
||||||
Route::resource('airlines', 'AirlinesController');
|
Route::resource('airlines', 'AirlinesController');
|
||||||
|
Route::resource('aircraft', 'AircraftController');
|
||||||
|
|
||||||
|
// Route::get('admin/aircrafts', ['as'=> 'admin.aircrafts.index', 'uses' => 'AircraftController@index']);
|
||||||
|
// Route::post('admin/aircrafts', ['as'=> 'admin.aircrafts.store', 'uses' => 'AircraftController@store']);
|
||||||
|
// Route::get('admin/aircrafts/create', ['as'=> 'admin.aircrafts.create', 'uses' => 'AircraftController@create']);
|
||||||
|
// Route::put('admin/aircrafts/{aircrafts}', ['as'=> 'admin.aircrafts.update', 'uses' => 'AircraftController@update']);
|
||||||
|
// Route::patch('admin/aircrafts/{aircrafts}', ['as'=> 'admin.aircrafts.update', 'uses' => 'AircraftController@update']);
|
||||||
|
// Route::delete('admin/aircrafts/{aircrafts}', ['as'=> 'admin.aircrafts.destroy', 'uses' => 'AircraftController@destroy']);
|
||||||
|
// Route::get('admin/aircrafts/{aircrafts}', ['as'=> 'admin.aircrafts.show', 'uses' => 'AircraftController@show']);
|
||||||
|
// Route::get('admin/aircrafts/{aircrafts}/edit', ['as'=> 'admin.aircrafts.edit', 'uses' => 'AircraftController@edit']);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user