mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Added labels for bulk actions
This commit is contained in:
parent
e27d69a31d
commit
99686bd73a
|
@ -32,7 +32,7 @@
|
||||||
<div class="form-group {{ $errors->has('purchase_date') ? ' has-error' : '' }}">
|
<div class="form-group {{ $errors->has('purchase_date') ? ' has-error' : '' }}">
|
||||||
<label for="purchase_date" class="col-md-3 control-label">{{ trans('admin/hardware/form.date') }}</label>
|
<label for="purchase_date" class="col-md-3 control-label">{{ trans('admin/hardware/form.date') }}</label>
|
||||||
<div class="input-group col-md-3">
|
<div class="input-group col-md-3">
|
||||||
<input type="date" class="datepicker form-control" data-date-format="yyyy-mm-dd" placeholder="Select Date" name="purchase_date" id="purchase_date" value="{{ Input::old('purchase_date') }}">
|
<input type="date" class="datepicker form-control" data-date-format="yyyy-mm-dd" placeholder="Select Date" name="purchase_date" id="purchase_date" value="{{ Input::old('purchase_date') }}" arial-label="purchase_date">
|
||||||
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
||||||
{!! $errors->first('purchase_date', '<span class="alert-msg" aria-hidden="true"><i class="fa fa-times" aria-hidden="true"></i> :message</span>') !!}
|
{!! $errors->first('purchase_date', '<span class="alert-msg" aria-hidden="true"><i class="fa fa-times" aria-hidden="true"></i> :message</span>') !!}
|
||||||
</div>
|
</div>
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
{{ trans('admin/hardware/form.status') }}
|
{{ trans('admin/hardware/form.status') }}
|
||||||
</label>
|
</label>
|
||||||
<div class="col-md-7">
|
<div class="col-md-7">
|
||||||
{{ Form::select('status_id', $statuslabel_list , Input::old('status_id'), array('class'=>'select2', 'style'=>'width:350px')) }}
|
{{ Form::select('status_id', $statuslabel_list , Input::old('status_id'), array('class'=>'select2', 'style'=>'width:350px', 'aria-label'=>'status_id')) }}
|
||||||
{!! $errors->first('status_id', '<span class="alert-msg" aria-hidden="true"><i class="fa fa-times" aria-hidden="true"></i> :message</span>') !!}
|
{!! $errors->first('status_id', '<span class="alert-msg" aria-hidden="true"><i class="fa fa-times" aria-hidden="true"></i> :message</span>') !!}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -56,15 +56,16 @@
|
||||||
|
|
||||||
<!-- Update actual location -->
|
<!-- Update actual location -->
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="col-sm-3 control-label">
|
<div class="col-sm-9 col-sm-offset-3 ">
|
||||||
|
|
||||||
</div>
|
|
||||||
<div class="col-sm-9">
|
|
||||||
<div class="checkbox">
|
<div class="checkbox">
|
||||||
<label for="update_real_loc">
|
<label for="update_real_loc">
|
||||||
{{ Form::radio('update_real_loc', '1', Input::old('update_real_loc')) }} Update default location AND actual location <br>
|
{{ Form::radio('update_real_loc', '1', Input::old('update_real_loc'), ['class'=>'minimal', 'aria-label'=>'update_real_loc']) }}
|
||||||
{{ Form::radio('update_real_loc', '0', true, Input::old('update_real_loc')) }} Only update default location<br>
|
Update default location AND actual location
|
||||||
|
</label>
|
||||||
|
<br>
|
||||||
|
<label for="update_default_loc">
|
||||||
|
{{ Form::radio('update_real_loc', '0', Input::old('update_real_loc'), ['class'=>'minimal', 'aria-label'=>'update_default_loc']) }}
|
||||||
|
Update only default location
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -63,9 +63,9 @@
|
||||||
<div class="col-sm-9">
|
<div class="col-sm-9">
|
||||||
<div class="checkbox">
|
<div class="checkbox">
|
||||||
<label for="activated">
|
<label for="activated">
|
||||||
{{ Form::radio('activated', '', true) }} Do not change activation status <br>
|
{{ Form::radio('activated', '', true, ['aria-label'=>'activated']) }} Do not change activation status <br>
|
||||||
{{ Form::radio('activated', '1', Input::old('activated')) }} User is activated<br>
|
{{ Form::radio('activated', '1', Input::old('activated'), ['aria-label'=>'activated']) }} User is activated<br>
|
||||||
{{ Form::radio('activated', '0', Input::old('activated')) }} User is de-activated
|
{{ Form::radio('activated', '0', Input::old('activated'), ['aria-label'=>'activated']) }} User is de-activated
|
||||||
|
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
@ -82,7 +82,9 @@
|
||||||
<span class="help-block">Only superadmins may edit group memberships.</p>
|
<span class="help-block">Only superadmins may edit group memberships.</p>
|
||||||
@else
|
@else
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<select name="groups[]" id="groups[]" multiple="multiple" class="form-control">
|
<select name="groups[]" id="groups[]" multiple="multiple" class="form-control" aria-label="groups">
|
||||||
|
<option value="">Remove Group Memberships </option>
|
||||||
|
|
||||||
@foreach ($groups as $id => $group)
|
@foreach ($groups as $id => $group)
|
||||||
<option value="{{ $id }}">{{ $group }} </option>
|
<option value="{{ $id }}">{{ $group }} </option>
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|
Loading…
Reference in a new issue