cleaned up admin tables and icons and crap
This commit is contained in:
@@ -297,6 +297,11 @@ hr {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
right: -1px;
|
right: -1px;
|
||||||
top: 8px; }
|
top: 8px; }
|
||||||
|
.sidebar .nav li h5,
|
||||||
|
.off-canvas-sidebar .nav li h5 {
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
font-family: Roboto, 'Helvetica Neue', Arial, sans-serif;
|
||||||
|
padding-left: 30px; }
|
||||||
.sidebar .nav li > a.menu,
|
.sidebar .nav li > a.menu,
|
||||||
.off-canvas-sidebar .nav li > a.menu {
|
.off-canvas-sidebar .nav li > a.menu {
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -177,7 +177,7 @@
|
|||||||
|
|
||||||
p,
|
p,
|
||||||
.notification,
|
.notification,
|
||||||
.caret,
|
.caret
|
||||||
{
|
{
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -99,6 +99,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h5 {
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
font-family: Roboto, 'Helvetica Neue', Arial, sans-serif;
|
||||||
|
padding-left: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
> a.menu {
|
> a.menu {
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
|
|||||||
@@ -21,16 +21,18 @@
|
|||||||
<td><a href="{!! route('admin.aircraft.show', [$ac->id]) !!}">{!! $ac->name !!}</a></td>
|
<td><a href="{!! route('admin.aircraft.show', [$ac->id]) !!}">{!! $ac->name !!}</a></td>
|
||||||
<td>{!! $ac->registration !!}</td>
|
<td>{!! $ac->registration !!}</td>
|
||||||
<td style="text-align: center;">
|
<td style="text-align: center;">
|
||||||
<i class="fa fa-{{$ac->active == 1?"check":""}}-square-o" aria-hidden="true"
|
@if($ac->active == 1)
|
||||||
style="color: {{$ac->active==1?"darkgreen":"darkred"}};font-size:20px;"></i>
|
<span class="label label-success">Active</span>
|
||||||
|
@else
|
||||||
|
<span class="label label-default">Inactive</span>
|
||||||
|
@endif
|
||||||
</td>
|
</td>
|
||||||
<td style="width: 10%; text-align: right;" class="form-inline">
|
<td style="width: 10%; text-align: right;">
|
||||||
{!! Form::open(['route' => ['admin.aircraft.destroy', $ac->id], 'method' => 'delete']) !!}
|
{!! Form::open(['route' => ['admin.aircraft.destroy', $ac->id], 'method' => 'delete']) !!}
|
||||||
<div class='btn-group'>
|
<a href="{!! route('admin.aircraft.edit', [$ac->id]) !!}" class='btn btn-sm btn-success btn-icon'>
|
||||||
{{--<a href="{!! route('admin.aircraft.show', [$ac->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-eye-open"></i></a>--}}
|
<i class="fa fa-pencil-square-o"></i>
|
||||||
<a href="{!! route('admin.aircraft.edit', [$ac->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-edit"></i></a>
|
</a>
|
||||||
{!! Form::button('<i class="glyphicon glyphicon-trash"></i>', ['type' => 'submit', 'class' => 'btn btn-danger btn-xs', 'onclick' => "return confirm('Are you sure?')"]) !!}
|
{!! Form::button('<i class="fa fa-times"></i>', ['type' => 'submit', 'class' => 'btn btn-sm btn-danger btn-icon', 'onclick' => "return confirm('Are you sure?')"]) !!}
|
||||||
</div>
|
|
||||||
{!! Form::close() !!}
|
{!! Form::close() !!}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
<th>Code</th>
|
<th>Code</th>
|
||||||
<th>IATA</th>
|
<th>IATA</th>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<th style="text-align: center;">Active</th>
|
<th class="text-center">Active</th>
|
||||||
<th colspan="3" style="text-align: right;">Action</th>
|
<th class="text-right">Action</th>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach($airlines as $al)
|
@foreach($airlines as $al)
|
||||||
@@ -12,17 +12,18 @@
|
|||||||
<td>{!! $al->code !!}</td>
|
<td>{!! $al->code !!}</td>
|
||||||
<td>{!! $al->iata !!}</td>
|
<td>{!! $al->iata !!}</td>
|
||||||
<td>{!! $al->name !!}</td>
|
<td>{!! $al->name !!}</td>
|
||||||
<td style="text-align: center;">
|
<td class="text-center">
|
||||||
<i class="fa fa-{{$al->active == 1?"check":""}}-square-o" aria-hidden="true"
|
@if($al->active == 1)
|
||||||
style="color: {{$al->active==1?"darkgreen":"darkred"}};font-size:20px;"></i>
|
<span class="label label-success">Active</span>
|
||||||
|
@else
|
||||||
|
<span class="label label-default">Inactive</span>
|
||||||
|
@endif
|
||||||
</td>
|
</td>
|
||||||
<td style="text-align: right;">
|
<td class="text-right">
|
||||||
{!! Form::open(['route' => ['admin.airlines.destroy', $al->id], 'method' => 'delete']) !!}
|
{!! Form::open(['route' => ['admin.airlines.destroy', $al->id], 'method' => 'delete']) !!}
|
||||||
<div class='btn-group'>
|
<a href="{!! route('admin.airlines.edit', [$al->id]) !!}"
|
||||||
<a href="{!! route('admin.airlines.show', [$al->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-eye-open"></i></a>
|
class='btn btn-sm btn-success btn-icon'><i class="fa fa-pencil-square-o"></i></a>
|
||||||
<a href="{!! route('admin.airlines.edit', [$al->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-edit"></i></a>
|
{!! Form::button('<i class="fa fa-times"></i>', ['type' => 'submit', 'class' => 'btn btn-sm btn-danger btn-icon', 'onclick' => "return confirm('Are you sure?')"]) !!}
|
||||||
{!! Form::button('<i class="glyphicon glyphicon-trash"></i>', ['type' => 'submit', 'class' => 'btn btn-danger btn-xs', 'onclick' => "return confirm('Are you sure?')"]) !!}
|
|
||||||
</div>
|
|
||||||
{!! Form::close() !!}
|
{!! Form::close() !!}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -1,23 +1,17 @@
|
|||||||
@extends('admin.app')
|
@extends('admin.app')
|
||||||
|
|
||||||
|
@section('title', 'Airports')
|
||||||
|
@section('actions')
|
||||||
|
<li>
|
||||||
|
<a href="{!! route('admin.airports.create') !!}">
|
||||||
|
<i class="ti-plus"></i>
|
||||||
|
Add New</a>
|
||||||
|
</li>
|
||||||
|
@endsection
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<section class="content-header">
|
<div class="card">
|
||||||
<h1 class="pull-left">Airports</h1>
|
@include('admin.airports.table')
|
||||||
<h1 class="pull-right">
|
|
||||||
<a class="btn btn-primary pull-right" style="margin-top: -10px;margin-bottom: 5px" href="{!! route('admin.airports.create') !!}">Add New</a>
|
|
||||||
</h1>
|
|
||||||
</section>
|
|
||||||
<div class="content">
|
|
||||||
<div class="clearfix"></div>
|
|
||||||
|
|
||||||
@include('flash::message')
|
|
||||||
|
|
||||||
<div class="clearfix"></div>
|
|
||||||
<div class="box box-primary">
|
|
||||||
<div class="box-body">
|
|
||||||
@include('admin.airports.table')
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@endsection
|
||||||
@include('admin.airports.script')
|
@include('admin.airports.script')
|
||||||
|
|||||||
@@ -26,11 +26,8 @@
|
|||||||
</td>
|
</td>
|
||||||
<td style="text-align: right;">
|
<td style="text-align: right;">
|
||||||
{!! Form::open(['route' => ['admin.airports.destroy', $airport->id], 'method' => 'delete']) !!}
|
{!! Form::open(['route' => ['admin.airports.destroy', $airport->id], 'method' => 'delete']) !!}
|
||||||
<div class='btn-group'>
|
<a href="{!! route('admin.airports.edit', [$airport->id]) !!}" class='btn btn-sm btn-success btn-icon'><i class="fa fa-pencil-square-o"></i></a>
|
||||||
<a href="{!! route('admin.airports.show', [$airport->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-eye-open"></i></a>
|
{!! Form::button('<i class="fa fa-times"></i>', ['type' => 'submit', 'class' => 'btn btn-sm btn-danger btn-icon', 'onclick' => "return confirm('Are you sure?')"]) !!}
|
||||||
<a href="{!! route('admin.airports.edit', [$airport->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-edit"></i></a>
|
|
||||||
{!! Form::button('<i class="glyphicon glyphicon-trash"></i>', ['type' => 'submit', 'class' => 'btn btn-danger btn-xs', 'onclick' => "return confirm('Are you sure?')"]) !!}
|
|
||||||
</div>
|
|
||||||
{!! Form::close() !!}
|
{!! Form::close() !!}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -26,12 +26,6 @@
|
|||||||
|
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
@yield('css')
|
@yield('css')
|
||||||
|
|
||||||
li h5 {
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
font-family: Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
||||||
padding-left: 10px;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -5,8 +5,8 @@
|
|||||||
<th>Price</th>
|
<th>Price</th>
|
||||||
<th>Cost</th>
|
<th>Cost</th>
|
||||||
<th>Notes</th>
|
<th>Notes</th>
|
||||||
<th>Active</th>
|
<th class="text-center">Active</th>
|
||||||
<th colspan="3">Action</th>
|
<th class="text-right">Action</th>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach($fares as $fare)
|
@foreach($fares as $fare)
|
||||||
@@ -16,17 +16,20 @@
|
|||||||
<td>{!! $fare->price !!}</td>
|
<td>{!! $fare->price !!}</td>
|
||||||
<td>{!! $fare->cost !!}</td>
|
<td>{!! $fare->cost !!}</td>
|
||||||
<td>{!! $fare->notes !!}</td>
|
<td>{!! $fare->notes !!}</td>
|
||||||
<td>{!! $fare->active !!}</td>
|
<td class="text-center">
|
||||||
<td>
|
@if($fare->active == 1)
|
||||||
|
<span class="label label-success">Active</span>
|
||||||
|
@else
|
||||||
|
<span class="label label-default">Inactive</span>
|
||||||
|
@endif
|
||||||
|
</td>
|
||||||
|
<td class="text-right">
|
||||||
{!! Form::open(['route' => ['admin.fares.destroy', $fare->id], 'method' => 'delete']) !!}
|
{!! Form::open(['route' => ['admin.fares.destroy', $fare->id], 'method' => 'delete']) !!}
|
||||||
<div class='btn-group'>
|
<a href="{!! route('admin.fares.edit', [$fare->id]) !!}" class='btn btn-sm btn-success btn-icon'><i class="fa fa-pencil-square-o"></i></a>
|
||||||
<a href="{!! route('admin.fares.show', [$fare->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-eye-open"></i></a>
|
{!! Form::button('<i class="fa fa-times"></i>', ['type' => 'submit', 'class' => 'btn btn-sm btn-danger btn-icon', 'onclick' => "return confirm('Are you sure?')"]) !!}
|
||||||
<a href="{!! route('admin.fares.edit', [$fare->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-edit"></i></a>
|
|
||||||
{!! Form::button('<i class="glyphicon glyphicon-trash"></i>', ['type' => 'submit', 'class' => 'btn btn-danger btn-xs', 'onclick' => "return confirm('Are you sure?')"]) !!}
|
|
||||||
</div>
|
|
||||||
{!! Form::close() !!}
|
{!! Form::close() !!}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -34,16 +34,16 @@
|
|||||||
<td>{!! $flight->arr_time !!}</td>
|
<td>{!! $flight->arr_time !!}</td>
|
||||||
<td>{!! $flight->notes !!}</td>
|
<td>{!! $flight->notes !!}</td>
|
||||||
<td style="text-align: center;">
|
<td style="text-align: center;">
|
||||||
<i class="fa fa-{{$flight->active == 1?"check":""}}-square-o" aria-hidden="true"
|
@if($flight->active == 1)
|
||||||
style="color: {{$flight->active==1?"darkgreen":"darkred"}};font-size:20px;"></i>
|
<span class="label label-success">Active</span>
|
||||||
|
@else
|
||||||
|
<span class="label label-default">Inactive</span>
|
||||||
|
@endif
|
||||||
</td>
|
</td>
|
||||||
<td style="text-align: right;">
|
<td style="text-align: right;">
|
||||||
{!! Form::open(['route' => ['admin.flights.destroy', $flight->id], 'method' => 'delete']) !!}
|
{!! Form::open(['route' => ['admin.flights.destroy', $flight->id], 'method' => 'delete']) !!}
|
||||||
<div class='btn-group'>
|
<a href="{!! route('admin.flights.edit', [$flight->id]) !!}" class='btn btn-sm btn-success btn-icon'><i class="fa fa-pencil-square-o"></i></a>
|
||||||
<a href="{!! route('admin.flights.show', [$flight->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-eye-open"></i></a>
|
{!! Form::button('<i class="fa fa-times"></i>', ['type' => 'submit', 'class' => 'btn btn-sm btn-danger btn-icon', 'onclick' => "return confirm('Are you sure?')"]) !!}
|
||||||
<a href="{!! route('admin.flights.edit', [$flight->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-edit"></i></a>
|
|
||||||
{!! Form::button('<i class="glyphicon glyphicon-trash"></i>', ['type' => 'submit', 'class' => 'btn btn-danger btn-xs', 'onclick' => "return confirm('Are you sure?')"]) !!}
|
|
||||||
</div>
|
|
||||||
{!! Form::close() !!}
|
{!! Form::close() !!}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -1,23 +1,16 @@
|
|||||||
@extends('admin.app')
|
@extends('admin.app')
|
||||||
|
@section('title', 'Ranks')
|
||||||
|
@section('actions')
|
||||||
|
<li>
|
||||||
|
<a href="{!! route('admin.ranks.create') !!}">
|
||||||
|
<i class="ti-plus"></i>
|
||||||
|
Add New</a>
|
||||||
|
</li>
|
||||||
|
@endsection
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<section class="content-header">
|
<div class="card">
|
||||||
<h1 class="pull-left">Pilot Ranks</h1>
|
@include('admin.ranks.table')
|
||||||
<h1 class="pull-right">
|
|
||||||
<a class="btn btn-primary pull-right" style="margin-top: -10px;margin-bottom: 5px" href="{!! route('admin.ranks.create') !!}">Add New</a>
|
|
||||||
</h1>
|
|
||||||
</section>
|
|
||||||
<div class="content">
|
|
||||||
<div class="clearfix"></div>
|
|
||||||
|
|
||||||
@include('flash::message')
|
|
||||||
|
|
||||||
<div class="clearfix"></div>
|
|
||||||
<div class="box box-primary">
|
|
||||||
<div class="box-body">
|
|
||||||
@include('admin.ranks.table')
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@endsection
|
||||||
@section('scripts')
|
@section('scripts')
|
||||||
|
|||||||
@@ -3,38 +3,41 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<th>Hours</th>
|
<th>Hours</th>
|
||||||
<th style="text-align: center;">Auto Approve Acars</th>
|
<th class="text-center">Auto Approve Acars</th>
|
||||||
<th style="text-align: center">Auto Approve Manual</th>
|
<th class="text-center">Auto Approve Manual</th>
|
||||||
<th style="text-align: center">Auto Promote</th>
|
<th class="text-center">Auto Promote</th>
|
||||||
<th colspan="3" style="text-align: right;">Action</th>
|
<th class="text-right">Action</th>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach($ranks as $rank)
|
@foreach($ranks as $rank)
|
||||||
<tr>
|
<tr>
|
||||||
<td>{!! $rank->name !!}</td>
|
<td>{!! $rank->name !!}</td>
|
||||||
<td>{!! $rank->hours !!}</td>
|
<td>{!! $rank->hours !!}</td>
|
||||||
<td style="text-align: center;">
|
<td class="text-center">
|
||||||
<i class="fa fa-{{$rank->auto_approve_acars == 1?"check":""}}-square-o" aria-hidden="true"
|
@if($rank->auto_approve_acars == 1)
|
||||||
style="color: {{$rank->auto_approve_acars==1?"darkgreen":"darkred"}};font-size:20px;"></i>
|
<span class="label label-success">Yes</span>
|
||||||
|
@else
|
||||||
|
<span class="label label-default">No</span>
|
||||||
|
@endif
|
||||||
</td>
|
</td>
|
||||||
<td style="text-align: center;">
|
<td class="text-center">
|
||||||
<i class="fa fa-{{$rank->auto_approve_manual == 1?"check":""}}-square-o" aria-hidden="true"
|
@if($rank->auto_approve_manual == 1)
|
||||||
style="color: {{$rank->auto_approve_manual==1?"darkgreen":"darkred"}};font-size:20px;"></i>
|
<span class="label label-success">Yes</span>
|
||||||
|
@else
|
||||||
|
<span class="label label-default">No</span>
|
||||||
|
@endif
|
||||||
</td>
|
</td>
|
||||||
<td style="text-align: center;">
|
<td class="text-center">
|
||||||
<i class="fa fa-{{$rank->auto_promote == 1?"check":""}}-square-o" aria-hidden="true"
|
@if($rank->auto_promote == 1)
|
||||||
style="color: {{$rank->auto_promote==1?"darkgreen":"darkred"}};font-size:20px;"></i>
|
<span class="label label-success">Yes</span>
|
||||||
|
@else
|
||||||
|
<span class="label label-default">No</span>
|
||||||
|
@endif
|
||||||
</td>
|
</td>
|
||||||
<td style="text-align: right;">
|
<td class="text-right">
|
||||||
{!! Form::open(['route' => ['admin.ranks.destroy', $rank->id], 'method' => 'delete']) !!}
|
{!! Form::open(['route' => ['admin.ranks.destroy', $rank->id], 'method' => 'delete']) !!}
|
||||||
<div class='btn-group'>
|
<a href="{!! route('admin.ranks.edit', [$rank->id]) !!}" class='btn btn-sm btn-success btn-icon'><i class="fa fa-pencil-square-o"></i></a>
|
||||||
{{--<a href="{!! route('admin.ranks.show', [$rank->id]) !!}"
|
{!! Form::button('<i class="fa fa-times"></i>', ['type' => 'submit', 'class' => 'btn btn-sm btn-danger btn-icon', 'onclick' => "return confirm('Are you sure?')"]) !!}
|
||||||
class='btn btn-default btn-xs'><i
|
|
||||||
class="glyphicon glyphicon-eye-open"></i></a>--}}
|
|
||||||
<a href="{!! route('admin.ranks.edit', [$rank->id]) !!}"
|
|
||||||
class='btn btn-default btn-xs'><i class="glyphicon glyphicon-edit"></i></a>
|
|
||||||
{!! Form::button('<i class="glyphicon glyphicon-trash"></i>', ['type' => 'submit', 'class' => 'btn btn-danger btn-xs', 'onclick' => "return confirm('Are you sure?')"]) !!}
|
|
||||||
</div>
|
|
||||||
{!! Form::close() !!}
|
{!! Form::close() !!}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user