mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Nicer styling
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
a243823e5e
commit
d8a8e03bf6
|
@ -111,7 +111,7 @@
|
|||
|
||||
<td>
|
||||
@can('view', \App\Models\AssetModel::class)
|
||||
<a href='{{ url("/models/{$requestableModel->id}") }}'>{{ $requestableModel->name }}</a>
|
||||
<a href="{{ url('/') }}'/models/'.{{ $requestableModel->id }}) }}">{{ $requestableModel->name }}</a>
|
||||
@else
|
||||
{{ $requestableModel->name }}
|
||||
@endcan
|
||||
|
@ -120,7 +120,7 @@
|
|||
<td>{{$requestableModel->assets->where('requestable', '1')->count()}}</td>
|
||||
|
||||
<td>
|
||||
<form action="{{route('account/request-item', ['itemType' => 'asset_model', 'itemId' => $requestableModel->id])}}" method="POST" accept-charset="utf-8">
|
||||
<form action="{{ route('account/request-item', ['itemType' => 'asset_model', 'itemId' => $requestableModel->id])}}" method="POST" accept-charset="utf-8">
|
||||
{{ csrf_field() }}
|
||||
<input type="text" style="width: 70px; margin-right: 10px;" class="form-control pull-left" name="request-quantity" value="" placeholder="{{ trans('general.qty') }}">
|
||||
@if ($requestableModel->isRequestedBy(Auth::user()))
|
||||
|
|
|
@ -75,14 +75,14 @@
|
|||
<!-- requestable -->
|
||||
<div class="form-group {{ $errors->has('requestable') ? 'has-error' : '' }}">
|
||||
<div class="col-md-7 col-md-offset-3">
|
||||
|
||||
|
||||
|
||||
<div class="checkbox">
|
||||
<label for="requestable">
|
||||
{{ Form::radio('requestable', '', true, ['aria-label'=>'requestable']) }} {{ trans('admin/hardware/general.requestable_status_warning')}}<br>
|
||||
{{ Form::radio('requestable', '1', old('requestable'), ['aria-label'=>'requestable']) }} {{ trans('admin/hardware/general.requestable')}} <br>
|
||||
{{ Form::radio('requestable', '0', old('requestable'), ['aria-label'=>'requestable']) }} {{ trans('admin/hardware/general.not_requestable')}}
|
||||
|
||||
{{ Form::radio('requestable', '', true, ['aria-label'=>'requestable', 'class'=>'minimal']) }} {{ trans('admin/hardware/general.requestable_status_warning')}}<br>
|
||||
{{ Form::radio('requestable', '1', old('requestable'), ['aria-label'=>'requestable', 'class'=>'minimal']) }} {{ trans('admin/hardware/general.requestable')}} <br>
|
||||
{{ Form::radio('requestable', '0', old('requestable'), ['aria-label'=>'requestable', 'class'=>'minimal']) }} {{ trans('admin/hardware/general.not_requestable')}}
|
||||
|
||||
</label>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue