Update bulki partials with new values

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-06-05 21:02:51 -07:00
parent 9b54077409
commit 880828379e
2 changed files with 7 additions and 6 deletions

View file

@ -1,9 +1,9 @@
<div id="toolbar"> <div id="assetsBulkEditToolbar" style="min-width:400px">
{{ Form::open([ {{ Form::open([
'method' => 'POST', 'method' => 'POST',
'route' => ['hardware/bulkedit'], 'route' => ['hardware/bulkedit'],
'class' => 'form-inline', 'class' => 'form-inline',
'id' => 'assetToolbar']) }} 'id' => 'assetsBulkForm']) }}
<label for="bulk_actions"> <label for="bulk_actions">
@ -17,6 +17,6 @@
<option value="labels">{{ trans_choice('button.generate_labels', 2) }}</option> <option value="labels">{{ trans_choice('button.generate_labels', 2) }}</option>
</select> </select>
<button class="btn btn-primary" id="bulkEdit" disabled>{{ trans('button.go') }}</button> <button class="btn btn-primary" id="bulkAssetEditButton" disabled>{{ trans('button.go') }}</button>
{{ Form::close() }} {{ Form::close() }}
</div> </div>

View file

@ -1,4 +1,4 @@
<div id="toolbar"> <div id="userBulkEditToolbar">
{{ Form::open([ {{ Form::open([
'method' => 'POST', 'method' => 'POST',
'route' => ['users/bulkedit'], 'route' => ['users/bulkedit'],
@ -10,12 +10,13 @@
<div id="users-toolbar"> <div id="users-toolbar">
<label for="bulk_actions" class="sr-only">{{ trans('general.bulk_actions') }}</label> <label for="bulk_actions" class="sr-only">{{ trans('general.bulk_actions') }}</label>
<select name="bulk_actions" class="form-control select2" style="width: 200px;" aria-label="bulk_actions"> <select name="bulk_actions" class="form-control select2" style="width: 200px;" aria-label="bulk_actions">
<option value="delete">{!! trans('general.bulk_checkin_delete') !!}</option>
<option value="edit">{{ trans('general.bulk_edit') }}</option> <option value="edit">{{ trans('general.bulk_edit') }}</option>
<option value="delete">{!! trans('general.bulk_checkin_delete') !!}</option>
<option value="bulkpasswordreset">{{ trans('button.send_password_link') }}</option> <option value="bulkpasswordreset">{{ trans('button.send_password_link') }}</option>
</select> </select>
<button class="btn btn-default" id="bulkEditButton" disabled>{{ trans('button.go') }}</button> <button class="btn btn-primary" id="bulkUserEditButton" disabled>{{ trans('button.go') }}</button>
</div> </div>
@endcan @endcan
@endif @endif
{{ Form::close() }}
</div> </div>