cleaned up admin tables and icons and crap

This commit is contained in:
Nabeel Shahzad
2017-08-21 13:59:59 -05:00
parent fe725ac599
commit 7fb13a95f2
13 changed files with 103 additions and 105 deletions

View File

@@ -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>