Nicer styling

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-05-24 14:39:01 -07:00
parent a243823e5e
commit d8a8e03bf6
2 changed files with 7 additions and 7 deletions

View file

@ -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()))

View file

@ -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>