mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -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>
|
<td>
|
||||||
@can('view', \App\Models\AssetModel::class)
|
@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
|
@else
|
||||||
{{ $requestableModel->name }}
|
{{ $requestableModel->name }}
|
||||||
@endcan
|
@endcan
|
||||||
|
@ -120,7 +120,7 @@
|
||||||
<td>{{$requestableModel->assets->where('requestable', '1')->count()}}</td>
|
<td>{{$requestableModel->assets->where('requestable', '1')->count()}}</td>
|
||||||
|
|
||||||
<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() }}
|
{{ csrf_field() }}
|
||||||
<input type="text" style="width: 70px; margin-right: 10px;" class="form-control pull-left" name="request-quantity" value="" placeholder="{{ trans('general.qty') }}">
|
<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()))
|
@if ($requestableModel->isRequestedBy(Auth::user()))
|
||||||
|
|
|
@ -75,14 +75,14 @@
|
||||||
<!-- requestable -->
|
<!-- requestable -->
|
||||||
<div class="form-group {{ $errors->has('requestable') ? 'has-error' : '' }}">
|
<div class="form-group {{ $errors->has('requestable') ? 'has-error' : '' }}">
|
||||||
<div class="col-md-7 col-md-offset-3">
|
<div class="col-md-7 col-md-offset-3">
|
||||||
|
|
||||||
|
|
||||||
<div class="checkbox">
|
<div class="checkbox">
|
||||||
<label for="requestable">
|
<label for="requestable">
|
||||||
{{ Form::radio('requestable', '', true, ['aria-label'=>'requestable']) }} {{ trans('admin/hardware/general.requestable_status_warning')}}<br>
|
{{ 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']) }} {{ trans('admin/hardware/general.requestable')}} <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']) }} {{ trans('admin/hardware/general.not_requestable')}}
|
{{ Form::radio('requestable', '0', old('requestable'), ['aria-label'=>'requestable', 'class'=>'minimal']) }} {{ trans('admin/hardware/general.not_requestable')}}
|
||||||
|
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue