#11 some more organization around the aircraft
This commit is contained in:
2
Procfile
Normal file
2
Procfile
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
nginx: /usr/local/bin/nginx
|
||||||
|
php-fpm: /usr/local/sbin/php-fpm
|
||||||
@@ -14,5 +14,5 @@ class DatabaseSeeder extends Seeder
|
|||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
public/img/admin/favicon.ico
Normal file
BIN
public/img/admin/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
@@ -4,7 +4,9 @@
|
|||||||
<section class="content-header">
|
<section class="content-header">
|
||||||
<h1 class="pull-left">Aircraft</h1>
|
<h1 class="pull-left">Aircraft</h1>
|
||||||
<h1 class="pull-right">
|
<h1 class="pull-right">
|
||||||
<a class="btn btn-primary pull-right" style="margin-top: -10px;margin-bottom: 5px" href="{!! route('admin.aircraft.create') !!}">Add New</a>
|
<a class="btn btn-primary " style="margin-top: -8px;" href="{!! url('/admin/aircraftclasses') !!}">Aircraft Classes</a>
|
||||||
|
|
||||||
|
<a class="btn btn-primary " style="margin-top: -8px;" href="{!! route('admin.aircraft.create') !!}">Add New Aircraft</a>
|
||||||
</h1>
|
</h1>
|
||||||
</section>
|
</section>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
<th>ICAO</th>
|
<th>ICAO</th>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<th>Registration</th>
|
<th>Registration</th>
|
||||||
<th>Active</th>
|
<th style="text-align: center;">Active</th>
|
||||||
<th colspan="3">Action</th>
|
<th style="text-align: center;">Actions</th>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach($aircraft as $ac)
|
@foreach($aircraft as $ac)
|
||||||
@@ -12,8 +12,11 @@
|
|||||||
<td><a href="{!! route('admin.aircraft.show', [$ac->id]) !!}">{!! $ac->icao !!}</a></td>
|
<td><a href="{!! route('admin.aircraft.show', [$ac->id]) !!}">{!! $ac->icao !!}</a></td>
|
||||||
<td>{!! $ac->name !!}</td>
|
<td>{!! $ac->name !!}</td>
|
||||||
<td>{!! $ac->registration !!}</td>
|
<td>{!! $ac->registration !!}</td>
|
||||||
<td>{!! $ac->active !!}</td>
|
<td style="text-align: center;">
|
||||||
<td>
|
<i class="fa fa-{{$ac->active == 1?"check":""}}-square-o" aria-hidden="true"
|
||||||
|
style="color: {{$ac->active==1?"darkgreen":"darkred"}};font-size:20px;"></i>
|
||||||
|
</td>
|
||||||
|
<td style="width: 10%; text-align: center;" class="form-inline">
|
||||||
{!! Form::open(['route' => ['admin.aircraft.destroy', $ac->id], 'method' => 'delete']) !!}
|
{!! Form::open(['route' => ['admin.aircraft.destroy', $ac->id], 'method' => 'delete']) !!}
|
||||||
<div class='btn-group'>
|
<div class='btn-group'>
|
||||||
<a href="{!! route('admin.aircraft.show', [$ac->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-eye-open"></i></a>
|
<a href="{!! route('admin.aircraft.show', [$ac->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-eye-open"></i></a>
|
||||||
|
|||||||
@@ -5,15 +5,19 @@
|
|||||||
<title>phpvms4 admin</title>
|
<title>phpvms4 admin</title>
|
||||||
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" type="image/x-icon" href="/img/admin/favicon.ico" />
|
||||||
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
|
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.2/css/select2.min.css">
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.2/css/select2.min.css">
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/admin-lte/2.3.3/css/AdminLTE.min.css">
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/admin-lte/2.3.3/css/AdminLTE.min.css">
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/admin-lte/2.3.3/css/skins/_all-skins.min.css">
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/admin-lte/2.3.3/css/skins/_all-skins.min.css">
|
||||||
|
|
||||||
<!-- Ionicons -->
|
<!-- Ionicons -->
|
||||||
<link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
|
{{--<link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">--}}
|
||||||
|
|
||||||
|
<style>
|
||||||
|
section.content-header h1 { margin-bottom: 8px; }
|
||||||
|
</style>
|
||||||
@yield('css')
|
@yield('css')
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@@ -121,9 +125,9 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 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 © 2017 <a href="#">phpvms</a>.</strong> All rights reserved.
|
<strong>Copyright © 2017 <a href="#">phpvms</a>.</strong> All rights reserved.
|
||||||
</footer>
|
</footer>--}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@else
|
@else
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
<li class="active">
|
<li class="active">
|
||||||
<a href="{!! url('/admin/dashboard') !!}"><i class="fa fa-circle-o"></i>dashboard</a>
|
<a href="{!! url('/admin/dashboard') !!}"><i class="fa fa-dashboard"></i>dashboard</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="header">operations</li>
|
<li class="header">operations</li>
|
||||||
<li><a href="{!! url('/admin/pireps') !!}"><i class="fa fa-circle-o"></i>
|
<li><a href="{!! url('/admin/pireps') !!}"><i class="fa fa-inbox"></i> pireps
|
||||||
pireps
|
|
||||||
<span data-toggle="tooltip" title="3 New" class="badge bg-light-blue pull-right">3</span>
|
<span data-toggle="tooltip" title="3 New" class="badge bg-light-blue pull-right">3</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="{!! url('/admin/aircraft') !!}"><i class="fa fa-circle-o"></i>fleet</a></li>
|
<li><a href="{!! url('/admin/aircraft') !!}"><i class="fa fa-plane" aria-hidden="true"></i> fleet</a></li>
|
||||||
<li><a href="{!! url('/admin/fares') !!}"><i class="fa fa-circle-o"></i>fares</a></li>
|
<li><a href="{!! url('/admin/fares') !!}"><i class="fa fa-dollar"></i> fares</a></li>
|
||||||
|
|
||||||
<li class="header">config</li>
|
<li class="header">config</li>
|
||||||
<li><a href="{!! url('/admin/airlines') !!}"><i class="fa fa-circle-o"></i>airlines</a></li>
|
<li><a href="{!! url('/admin/airlines') !!}"><i class="fa fa-navicon"></i> airlines</a></li>
|
||||||
<li><a href="{!! url('/admin/airports') !!}"><i class="fa fa-circle-o"></i>airports</a></li>
|
<li><a href="{!! url('/admin/airports') !!}"><i class="fa fa-globe"></i> airports</a></li>
|
||||||
<li><a href="{!! url('/admin/aircraftclasses') !!}"><i class="fa fa-circle-o"></i>aircraft classes</a></li>
|
{{--<li><a href="{!! url('/admin/aircraftclasses') !!}"><i class="fa fa-tag"></i> aircraft classes</a></li>--}}
|
||||||
|
<li><a href="#"><i class="fa fa-user-circle-o" aria-hidden="true"></i> users</a></li>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<section class="sidebar">
|
<section class="sidebar">
|
||||||
|
|
||||||
<!-- Sidebar user panel (optional) -->
|
<!-- Sidebar user panel (optional) -->
|
||||||
<div class="user-panel">
|
{{--<div class="user-panel">
|
||||||
<div class="pull-left image">
|
<div class="pull-left image">
|
||||||
<img src="http://infyom.com/images/logo/blue_logo_150x150.jpg" class="img-circle"
|
<img src="http://infyom.com/images/logo/blue_logo_150x150.jpg" class="img-circle"
|
||||||
alt="User Image"/>
|
alt="User Image"/>
|
||||||
@@ -16,26 +16,21 @@
|
|||||||
<p>{{ Auth::user()->name}}</p>
|
<p>{{ Auth::user()->name}}</p>
|
||||||
@endif
|
@endif
|
||||||
<!-- Status -->
|
<!-- Status -->
|
||||||
<a href="#"><i class="fa fa-circle text-success"></i> Online</a>
|
--}}{{--<a href="#"><i class="fa fa-circle text-success"></i> Online</a>--}}{{--
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>--}}
|
||||||
|
<br />
|
||||||
<!-- search form (Optional) -->
|
|
||||||
<form action="#" method="get" class="sidebar-form">
|
|
||||||
<div class="input-group">
|
|
||||||
<input type="text" name="q" class="form-control" placeholder="Search..."/>
|
|
||||||
<span class="input-group-btn">
|
|
||||||
<button type='submit' name='search' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i>
|
|
||||||
</button>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
<!-- Sidebar Menu -->
|
|
||||||
|
|
||||||
<ul class="sidebar-menu">
|
<ul class="sidebar-menu">
|
||||||
@include('admin.menu')
|
@include('admin.menu')
|
||||||
</ul>
|
</ul>
|
||||||
<!-- /.sidebar-menu -->
|
<!-- /.sidebar-menu -->
|
||||||
|
<div class="panel-footer" style="position:absolute;bottom: 0; width:100%; text-align: center;">
|
||||||
|
<p class="small" style="padding-top: 5px;">
|
||||||
|
copyright © 2017
|
||||||
|
<a href="http://www.phpvms.net" target="_blank">phpvms</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<!-- /.sidebar -->
|
<!-- /.sidebar -->
|
||||||
</aside>
|
</aside>
|
||||||
|
|||||||
Reference in New Issue
Block a user