admin changes reverted
This commit is contained in:
@@ -21,18 +21,16 @@
|
||||
<td><a href="{!! route('admin.aircraft.show', [$ac->id]) !!}">{!! $ac->name !!}</a></td>
|
||||
<td>{!! $ac->registration !!}</td>
|
||||
<td style="text-align: center;">
|
||||
@if($ac->active == 1)
|
||||
<span class="label label-success">Active</span>
|
||||
@else
|
||||
<span class="label label-default">Inactive</span>
|
||||
@endif
|
||||
<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: right;">
|
||||
<td style="width: 10%; text-align: right;" class="form-inline">
|
||||
{!! Form::open(['route' => ['admin.aircraft.destroy', $ac->id], 'method' => 'delete']) !!}
|
||||
<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?')"]) !!}
|
||||
<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>
|
||||
{!! Form::close() !!}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -13,18 +13,16 @@
|
||||
<td>{!! $al->iata !!}</td>
|
||||
<td>{!! $al->name !!}</td>
|
||||
<td style="text-align: center;">
|
||||
@if($al->active == 1)
|
||||
<span class="label label-success">Active</span>
|
||||
@else
|
||||
<span class="label label-default">Inactive</span>
|
||||
@endif
|
||||
<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>
|
||||
<td style="text-align: right;">
|
||||
{!! Form::open(['route' => ['admin.airlines.destroy', $al->id], 'method' => 'delete']) !!}
|
||||
{{--<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-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?')"]) !!}
|
||||
<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>
|
||||
{!! Form::close() !!}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -27,6 +27,11 @@
|
||||
<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>
|
||||
|
||||
@@ -39,9 +39,11 @@
|
||||
</td>
|
||||
<td style="text-align: right;">
|
||||
{!! Form::open(['route' => ['admin.flights.destroy', $flight->id], 'method' => 'delete']) !!}
|
||||
<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 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>
|
||||
{!! Form::close() !!}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -7,10 +7,12 @@
|
||||
|
||||
|
||||
<div class="sidebar-wrapper">
|
||||
<div class="logo">
|
||||
<div class="logo" style="background: #067ec1; margin: 0px; text-align: center; min-height: 74px;">
|
||||
<img src="/assets/frontend/img/logo_blue_bg.svg" width="110px" style="">
|
||||
</div>
|
||||
|
||||
@include('admin.menu')
|
||||
<ul class="nav">
|
||||
@include('admin.menu')
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user