cleaned up the table views to fix alignments
This commit is contained in:
@@ -12,23 +12,6 @@
|
||||
<div class="row">
|
||||
@include('admin.aircraft.show_fields')
|
||||
</div>
|
||||
<div class="box box-primary">
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<h3>fares</h3>
|
||||
<div class="box-body">
|
||||
<div class="callout callout-info">
|
||||
<i class="icon fa fa-info"> </i>
|
||||
Fares assigned to the current aircraft. These can be overridden,
|
||||
otherwise, the value used is the default, which comes from the fare.
|
||||
</div>
|
||||
@include('admin.subfleets.fares')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@endsection
|
||||
@section('scripts')
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<th>Name</th>
|
||||
<th>Registration</th>
|
||||
<th style="text-align: center;">Active</th>
|
||||
<th style="text-align: center;">Actions</th>
|
||||
<th style="text-align: right;">Actions</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($aircraft as $ac)
|
||||
@@ -24,10 +24,10 @@
|
||||
<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">
|
||||
<td style="width: 10%; text-align: right;" class="form-inline">
|
||||
{!! 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.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>
|
||||
|
||||
Reference in New Issue
Block a user