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