More icons

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-08-18 18:34:13 +01:00
parent 4d8904938d
commit d545537a43
6 changed files with 19 additions and 21 deletions

View file

@ -40,7 +40,10 @@
</div> </div>
<div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}"> <div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
<label class="col-md-4 control-label" for="password"><i class="fa fa-key" aria-hidden="true"></i> {{ trans('admin/users/table.password') }}</label> <label class="col-md-4 control-label" for="password">
<x-icon type="password" />
{{ trans('admin/users/table.password') }}
</label>
<div class="col-md-6"> <div class="col-md-6">
<input type="password" class="form-control" name="password" aria-label="password"> <input type="password" class="form-control" name="password" aria-label="password">
@ -49,7 +52,9 @@
</div> </div>
<div class="form-group{{ $errors->has('password_confirmation') ? ' has-error' : '' }}"> <div class="form-group{{ $errors->has('password_confirmation') ? ' has-error' : '' }}">
<label class="col-md-4 control-label" for="password_confirmation"><i class="fa fa-key" aria-hidden="true"></i> {{ trans('admin/users/table.password_confirm') }}</label> <label class="col-md-4 control-label" for="password_confirmation">
<x-icon type="password" />
{{ trans('admin/users/table.password_confirm') }}</label>
<div class="col-md-6"> <div class="col-md-6">
<input type="password" class="form-control" name="password_confirmation" aria-label="password_confirmation"> <input type="password" class="form-control" name="password_confirmation" aria-label="password_confirmation">
{!! $errors->first('password_confirmation', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!} {!! $errors->first('password_confirmation', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}

View file

@ -18,7 +18,7 @@
<div style="padding-top: 200px"> <div style="padding-top: 200px">
<img src="{{ config('app.url') }}/img/sad-panda.png" style="width: 200px; height: 200px;" class="pull-left"> <img src="{{ config('app.url') }}/img/sad-panda.png" style="width: 200px; height: 200px;" class="pull-left">
<div class="error-content"> <div class="error-content">
<h2><i class="fas fa-exclamation-triangle text-yellow"></i> 404 Page not found.</h2> <h2><x-icon type="warning" class="text-yellow" /> 404 Page not found.</h2>
<p> <p>
Sad panda. We could not find the page you were looking for. Sad panda. We could not find the page you were looking for.
You should maybe <a href="{{ config('app.url') }}">return to the dashboard</a>. You should maybe <a href="{{ config('app.url') }}">return to the dashboard</a>.

View file

@ -109,8 +109,8 @@
<input type="text" class="form-control" <input type="text" class="form-control"
placeholder="{{ trans('general.select_date') }}" name="checkout_at" placeholder="{{ trans('general.select_date') }}" name="checkout_at"
id="checkout_at" value="{{ old('checkout_at', date('Y-m-d')) }}"> id="checkout_at" value="{{ old('checkout_at', date('Y-m-d')) }}">
<span class="input-group-addon"><i class="fas fa-calendar" <span class="input-group-addon">
aria-hidden="true"></i></span> <x-icon type="calendar" /></span>
</div> </div>
{!! $errors->first('checkout_at', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!} {!! $errors->first('checkout_at', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
</div> </div>

View file

@ -52,14 +52,8 @@
<input type="checkbox" value="1" name="update_location" {{ old('update_location') == '1' ? ' checked="checked"' : '' }}> <input type="checkbox" value="1" name="update_location" {{ old('update_location') == '1' ? ' checked="checked"' : '' }}>
<span>{{ trans('admin/hardware/form.asset_location') }} <span>{{ trans('admin/hardware/form.asset_location') }}
<a href="#" class="text-dark-gray" tabindex="0" role="button" data-toggle="popover" data-trigger="focus" title="<i class='far fa-life-ring'></i> {{ trans('general.more_info') }}" data-html="true" data-content="{{ trans('general.quickscan_bulk_help') }}"> <a href="#" class="text-dark-gray" tabindex="0" role="button" data-toggle="popover" data-trigger="focus" title="<i class='far fa-life-ring'></i> {{ trans('general.more_info') }}" data-html="true" data-content="{{ trans('general.quickscan_bulk_help') }}">
<i class="far fa-life-ring"> <x-icon type="more-info" /></a></span>
</i></a></span>
</label> </label>
</div> </div>
</div> </div>
@ -86,16 +80,14 @@
</div> </div>
</div> </div>
</div> <!--/.box-body--> </div> <!--/.box-body-->
<div class="box-footer"> <div class="box-footer">
<a class="btn btn-link" href="{{ route('hardware.index') }}"> {{ trans('button.cancel') }}</a> <a class="btn btn-link" href="{{ route('hardware.index') }}"> {{ trans('button.cancel') }}</a>
<button type="submit" id="audit_button" class="btn btn-success pull-right"><x-icon type="checkmark" /> {{ trans('general.audit') }}</button> <button type="submit" id="audit_button" class="btn btn-success pull-right">
<x-icon type="checkmark" />
{{ trans('general.audit') }}
</button>
</div> </div>
</div> </div>
@ -119,7 +111,8 @@
</tr> </tr>
<tr id="audit-loader" style="display: none;"> <tr id="audit-loader" style="display: none;">
<td colspan="3"> <td colspan="3">
<i class="fas fa-spinner spin" aria-hidden="true"></i> {{ trans('admin/hardware/form.processing_spinner') }} <x-icon type="spinner" />
{{ trans('admin/hardware/form.processing_spinner') }}
</td> </td>
</tr> </tr>
</thead> </thead>

View file

@ -44,7 +44,7 @@
<li class="active"> <li class="active">
<a href="#details" data-toggle="tab"> <a href="#details" data-toggle="tab">
<span class="hidden-lg hidden-md"> <span class="hidden-lg hidden-md">
<i class="fas fa-info-circle fa-2x"></i> <x-icon type="info-circle" class="fa-2x" />
</span> </span>
<span class="hidden-xs hidden-sm">{{ trans('admin/users/general.info') }}</span> <span class="hidden-xs hidden-sm">{{ trans('admin/users/general.info') }}</span>
</a> </a>

View file

@ -268,7 +268,7 @@
@if ($model->manufacturer->support_url) @if ($model->manufacturer->support_url)
<li> <li>
<i class="far fa-life-ring"></i> <a href="{{ $model->manufacturer->support_url }}">{{ $model->manufacturer->support_url }}</a> <x-icon type="more-info" /> <a href="{{ $model->manufacturer->support_url }}">{{ $model->manufacturer->support_url }}</a>
</li> </li>
@endif @endif