mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Updated checkboxed with missing minimal
class for iCheck
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
b59dcc7b30
commit
563a252d18
|
@ -21,22 +21,20 @@
|
||||||
@include ('partials.forms.edit.purchase_cost')
|
@include ('partials.forms.edit.purchase_cost')
|
||||||
@include ('partials.forms.edit.quantity')
|
@include ('partials.forms.edit.quantity')
|
||||||
@include ('partials.forms.edit.minimum_quantity')
|
@include ('partials.forms.edit.minimum_quantity')
|
||||||
|
@include ('partials.forms.edit.notes')
|
||||||
|
|
||||||
<!-- Image -->
|
<!-- Image -->
|
||||||
@if ($item->image)
|
@if ($item->image)
|
||||||
<div class="form-group {{ $errors->has('image_delete') ? 'has-error' : '' }}">
|
<div class="form-group {{ $errors->has('image_delete') ? 'has-error' : '' }}">
|
||||||
<label class="col-md-3 control-label" for="image_delete">{{ trans('general.image_delete') }}</label>
|
<label class="col-md-3 control-label" for="image_delete">{{ trans('general.image_delete') }}</label>
|
||||||
<div class="col-md-5">
|
<div class="col-md-5">
|
||||||
{{ Form::checkbox('image_delete') }}
|
{{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'image_delete')) }}
|
||||||
<img src="{{ Storage::disk('public')->url('accessories/'.e($item->image)) }}" class="img-responsive" />
|
<img src="{{ Storage::disk('public')->url('accessories/'.e($item->image)) }}" class="img-responsive" />
|
||||||
{!! $errors->first('image_delete', '<span class="alert-msg" aria-hidden="true">:message</span>') !!}
|
{!! $errors->first('image_delete', '<span class="alert-msg" aria-hidden="true">:message</span>') !!}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@include ('partials.forms.edit.notes')
|
|
||||||
|
|
||||||
@include ('partials.forms.edit.image-upload')
|
@include ('partials.forms.edit.image-upload')
|
||||||
|
|
||||||
@stop
|
@stop
|
||||||
|
|
|
@ -91,7 +91,7 @@
|
||||||
<div class="form-group {{ $errors->has('image_delete') ? 'has-error' : '' }}">
|
<div class="form-group {{ $errors->has('image_delete') ? 'has-error' : '' }}">
|
||||||
<label class="col-md-3 control-label" for="image_delete">{{ trans('general.image_delete') }}</label>
|
<label class="col-md-3 control-label" for="image_delete">{{ trans('general.image_delete') }}</label>
|
||||||
<div class="col-md-9">
|
<div class="col-md-9">
|
||||||
{{ Form::checkbox('image_delete') }}
|
{{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'image_delete')) }}
|
||||||
<img src="{{ Storage::disk('public')->url(app('categories_upload_path').e($item->image)) }}" class="img-responsive" />
|
<img src="{{ Storage::disk('public')->url(app('categories_upload_path').e($item->image)) }}" class="img-responsive" />
|
||||||
{!! $errors->first('image_delete', '<span class="alert-msg">:message</span>') !!}
|
{!! $errors->first('image_delete', '<span class="alert-msg">:message</span>') !!}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<div class="form-group {{ $errors->has('image_delete') ? 'has-error' : '' }}">
|
<div class="form-group {{ $errors->has('image_delete') ? 'has-error' : '' }}">
|
||||||
<label class="col-md-3 control-label" for="image_delete">{{ trans('general.image_delete') }}</label>
|
<label class="col-md-3 control-label" for="image_delete">{{ trans('general.image_delete') }}</label>
|
||||||
<div class="col-md-5">
|
<div class="col-md-5">
|
||||||
{{ Form::checkbox('image_delete') }}
|
{{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'image_delete')) }}
|
||||||
<img src="{{ Storage::disk('public')->url(app('companies_upload_path').e($item->image)) }}" class="img-responsive" />
|
<img src="{{ Storage::disk('public')->url(app('companies_upload_path').e($item->image)) }}" class="img-responsive" />
|
||||||
{!! $errors->first('image_delete', '<span class="alert-msg">:message</span>') !!}
|
{!! $errors->first('image_delete', '<span class="alert-msg">:message</span>') !!}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
<div class="form-group {{ $errors->has('image_delete') ? 'has-error' : '' }}">
|
<div class="form-group {{ $errors->has('image_delete') ? 'has-error' : '' }}">
|
||||||
<label class="col-md-3 control-label" for="image_delete">{{ trans('general.image_delete') }}</label>
|
<label class="col-md-3 control-label" for="image_delete">{{ trans('general.image_delete') }}</label>
|
||||||
<div class="col-md-5">
|
<div class="col-md-5">
|
||||||
{{ Form::checkbox('image_delete') }}
|
{{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'image_delete')) }}
|
||||||
<img src="{{ Storage::disk('public')->url(app('components_upload_path').e($item->image)) }}" class="img-responsive" />
|
<img src="{{ Storage::disk('public')->url(app('components_upload_path').e($item->image)) }}" class="img-responsive" />
|
||||||
{!! $errors->first('image_delete', '<span class="alert-msg">:message</span>') !!}
|
{!! $errors->first('image_delete', '<span class="alert-msg">:message</span>') !!}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -20,20 +20,21 @@
|
||||||
@include ('partials.forms.edit.purchase_cost')
|
@include ('partials.forms.edit.purchase_cost')
|
||||||
@include ('partials.forms.edit.quantity')
|
@include ('partials.forms.edit.quantity')
|
||||||
@include ('partials.forms.edit.minimum_quantity')
|
@include ('partials.forms.edit.minimum_quantity')
|
||||||
|
@include ('partials.forms.edit.notes')
|
||||||
|
|
||||||
<!-- Image -->
|
<!-- Image -->
|
||||||
@if ($item->image)
|
@if ($item->image)
|
||||||
<div class="form-group {{ $errors->has('image_delete') ? 'has-error' : '' }}">
|
<div class="form-group {{ $errors->has('image_delete') ? 'has-error' : '' }}">
|
||||||
<label class="col-md-3 control-label" for="image_delete">{{ trans('general.image_delete') }}</label>
|
<label class="col-md-3 control-label" for="image_delete">{{ trans('general.image_delete') }}</label>
|
||||||
<div class="col-md-5">
|
<div class="col-md-5">
|
||||||
{{ Form::checkbox('image_delete') }}
|
{{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'image_delete')) }}
|
||||||
<img src="{{ Storage::disk('public')->url(app('consumables_upload_path').e($item->image)) }}" class="img-responsive" />
|
<img src="{{ Storage::disk('public')->url(app('consumables_upload_path').e($item->image)) }}" class="img-responsive" />
|
||||||
{!! $errors->first('image_delete', '<span class="alert-msg">:message</span>') !!}
|
{!! $errors->first('image_delete', '<span class="alert-msg">:message</span>') !!}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@include ('partials.forms.edit.notes')
|
|
||||||
|
|
||||||
@include ('partials.forms.edit.image-upload')
|
@include ('partials.forms.edit.image-upload')
|
||||||
@stop
|
@stop
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
<div class="form-group {{ $errors->has('image_delete') ? 'has-error' : '' }}">
|
<div class="form-group {{ $errors->has('image_delete') ? 'has-error' : '' }}">
|
||||||
<label class="col-md-3 control-label" for="image_delete">{{ trans('general.image_delete') }}</label>
|
<label class="col-md-3 control-label" for="image_delete">{{ trans('general.image_delete') }}</label>
|
||||||
<div class="col-md-5">
|
<div class="col-md-5">
|
||||||
{{ Form::checkbox('image_delete') }}
|
{{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'image_delete')) }}
|
||||||
<img src="{{ Storage::disk('public')->url(app('departments_upload_path').e($item->image)) }}" class="img-responsive" />
|
<img src="{{ Storage::disk('public')->url(app('departments_upload_path').e($item->image)) }}" class="img-responsive" />
|
||||||
{!! $errors->first('image_delete', '<span class="alert-msg">:message</span>') !!}
|
{!! $errors->first('image_delete', '<span class="alert-msg">:message</span>') !!}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
<label class="col-md-3 control-label" for="image_delete">{{ trans('general.image_delete') }}</label>
|
<label class="col-md-3 control-label" for="image_delete">{{ trans('general.image_delete') }}</label>
|
||||||
<div class="col-md-9">
|
<div class="col-md-9">
|
||||||
<label for="image_delete">
|
<label for="image_delete">
|
||||||
{{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'required')) }}
|
{{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'image_delete')) }}
|
||||||
</label>
|
</label>
|
||||||
<br>
|
<br>
|
||||||
<img src="{{ url('/') }}/uploads/locations/{{ $item->image }}" alt="Image for {{ $item->name }}">
|
<img src="{{ url('/') }}/uploads/locations/{{ $item->image }}" alt="Image for {{ $item->name }}">
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
<label class="col-md-3 control-label" for="image_delete">{{ trans('general.image_delete') }}</label>
|
<label class="col-md-3 control-label" for="image_delete">{{ trans('general.image_delete') }}</label>
|
||||||
<div class="col-md-5">
|
<div class="col-md-5">
|
||||||
<label for="image_delete">
|
<label for="image_delete">
|
||||||
{{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'required')) }}
|
{{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'image_delete')) }}
|
||||||
</label>
|
</label>
|
||||||
<br>
|
<br>
|
||||||
<img src="{{ url('/') }}/uploads/manufacturers/{{ $item->image }}" alt="Image for {{ $item->name }}" class="img-responsive">
|
<img src="{{ url('/') }}/uploads/manufacturers/{{ $item->image }}" alt="Image for {{ $item->name }}" class="img-responsive">
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
<label class="col-md-3 control-label" for="image_delete">{{ trans('general.image_delete') }}</label>
|
<label class="col-md-3 control-label" for="image_delete">{{ trans('general.image_delete') }}</label>
|
||||||
<div class="col-md-5">
|
<div class="col-md-5">
|
||||||
<label for="image_delete">
|
<label for="image_delete">
|
||||||
{{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'required')) }}
|
{{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'image_delete')) }}
|
||||||
</label>
|
</label>
|
||||||
<br>
|
<br>
|
||||||
<img src="{{ Storage::disk('public')->url(app('models_upload_path').e($item->image )) }}" alt="Image for {{ $item->name }}" class="img-responsive">
|
<img src="{{ Storage::disk('public')->url(app('models_upload_path').e($item->image )) }}" alt="Image for {{ $item->name }}" class="img-responsive">
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
<label class="col-md-3 control-label" for="image_delete">{{ trans('general.image_delete') }}</label>
|
<label class="col-md-3 control-label" for="image_delete">{{ trans('general.image_delete') }}</label>
|
||||||
<div class="col-md-5">
|
<div class="col-md-5">
|
||||||
<label for="image_delete">
|
<label for="image_delete">
|
||||||
{{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'required')) }}
|
{{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'image_delete')) }}
|
||||||
</label>
|
</label>
|
||||||
<br>
|
<br>
|
||||||
<img src="{{ url('/') }}/uploads/suppliers/{{ $item->image }}" alt="Image for {{ $item->name }}" class="img-responsive">
|
<img src="{{ url('/') }}/uploads/suppliers/{{ $item->image }}" alt="Image for {{ $item->name }}" class="img-responsive">
|
||||||
|
|
|
@ -272,12 +272,13 @@
|
||||||
</div>
|
</div>
|
||||||
</div> <!--/form-group-->
|
</div> <!--/form-group-->
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<!-- Image -->
|
<!-- Image -->
|
||||||
@if ($user->avatar)
|
@if ($user->avatar)
|
||||||
<div class="form-group {{ $errors->has('image_delete') ? 'has-error' : '' }}">
|
<div class="form-group {{ $errors->has('image_delete') ? 'has-error' : '' }}">
|
||||||
<label class="col-md-3 control-label" for="image_delete">{{ trans('general.image_delete') }}</label>
|
<label class="col-md-3 control-label" for="image_delete">{{ trans('general.image_delete') }}</label>
|
||||||
<div class="col-md-5">
|
<div class="col-md-5">
|
||||||
{{ Form::checkbox('image_delete') }}
|
{{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'image_delete')) }}
|
||||||
<img src="{{ Storage::disk('public')->url(app('users_upload_path').e($user->avatar)) }}" class="img-responsive" />
|
<img src="{{ Storage::disk('public')->url(app('users_upload_path').e($user->avatar)) }}" class="img-responsive" />
|
||||||
{!! $errors->first('image_delete', '<span class="alert-msg"><br>:message</span>') !!}
|
{!! $errors->first('image_delete', '<span class="alert-msg"><br>:message</span>') !!}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue