mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -08:00
Added table headers
This commit is contained in:
parent
db75f0e894
commit
5e4918579a
|
@ -44,7 +44,7 @@
|
||||||
<th>{{ trans('general.name') }}</th>
|
<th>{{ trans('general.name') }}</th>
|
||||||
<th>{{ trans('admin/custom_fields/general.qty_fields') }}</th>
|
<th>{{ trans('admin/custom_fields/general.qty_fields') }}</th>
|
||||||
<th>{{ trans('admin/custom_fields/general.used_by_models') }}</th>
|
<th>{{ trans('admin/custom_fields/general.used_by_models') }}</th>
|
||||||
<th></th>
|
<th><span class="sr-only">Actions</span></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
|
@ -132,7 +132,7 @@
|
||||||
<th data-searchable="true">{{ trans('admin/custom_fields/general.field_format') }}</th>
|
<th data-searchable="true">{{ trans('admin/custom_fields/general.field_format') }}</th>
|
||||||
<th data-searchable="true">{{ trans('admin/custom_fields/general.field_element_short') }}</th>
|
<th data-searchable="true">{{ trans('admin/custom_fields/general.field_element_short') }}</th>
|
||||||
<th data-searchable="true">{{ trans('admin/custom_fields/general.fieldsets') }}</th>
|
<th data-searchable="true">{{ trans('admin/custom_fields/general.fieldsets') }}</th>
|
||||||
<th></th>
|
<th><span class="sr-only">Actions</span></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -157,14 +157,22 @@
|
||||||
<td>
|
<td>
|
||||||
<nobr>
|
<nobr>
|
||||||
@can('update', $field)
|
@can('update', $field)
|
||||||
<a href="{{ route('fields.edit', $field->id) }}" class="btn btn-warning btn-sm"><i class="fa fa-pencil"></i></a>
|
<a href="{{ route('fields.edit', $field->id) }}" class="btn btn-warning btn-sm">
|
||||||
|
<i class="fa fa-pencil" aria-hidden="true"></i>
|
||||||
|
<span class="sr-only">Edit</span>
|
||||||
|
</a>
|
||||||
@endcan
|
@endcan
|
||||||
@can('delete', $field)
|
@can('delete', $field)
|
||||||
{{ Form::open(array('route' => array('fields.destroy', $field->id), 'method' => 'delete', 'style' => 'display:inline-block')) }}
|
{{ Form::open(array('route' => array('fields.destroy', $field->id), 'method' => 'delete', 'style' => 'display:inline-block')) }}
|
||||||
@if($field->fieldset->count()>0)
|
@if($field->fieldset->count()>0)
|
||||||
<button type="submit" class="btn btn-danger btn-sm disabled" disabled><i class="fa fa-trash"></i></button>
|
<button type="submit" class="btn btn-danger btn-sm disabled" disabled>
|
||||||
|
<i class="fa fa-trash" aria-hidden="true"></i>
|
||||||
|
<span class="sr-only">Delete</span></button>
|
||||||
@else
|
@else
|
||||||
<button type="submit" class="btn btn-danger btn-sm"><i class="fa fa-trash"></i></button>
|
<button type="submit" class="btn btn-danger btn-sm">
|
||||||
|
<i class="fa fa-trash" aria-hidden="true"></i>
|
||||||
|
<span class="sr-only">Delete</span>
|
||||||
|
</button>
|
||||||
@endif
|
@endif
|
||||||
{{ Form::close() }}
|
{{ Form::close() }}
|
||||||
@endcan
|
@endcan
|
||||||
|
|
Loading…
Reference in a new issue