More fa icons

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2021-09-24 07:21:30 -07:00
parent b2dc92b088
commit 299ad681f7
20 changed files with 28 additions and 24 deletions

View file

@ -23,7 +23,7 @@
@endif @endif
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<div class="alert alert-warning"><i class="fa fa-warning faa-pulse animated"></i> <div class="alert alert-warning"><i class="fas fa-exclamation-triangle faa-pulse animated"></i>
When generating an API token, be sure to copy it down immediately as they When generating an API token, be sure to copy it down immediately as they
will not be visible to you again. </div> will not be visible to you again. </div>

View file

@ -53,7 +53,7 @@
function maintenanceActions(value, row) { function maintenanceActions(value, row) {
var actions = '<nobr>'; var actions = '<nobr>';
if ((row) && (row.available_actions.update === true)) { if ((row) && (row.available_actions.update === true)) {
actions += '<a href="{{ url('/') }}/hardware/maintenances/' + row.id + '/edit" class="btn btn-sm btn-warning" data-tooltip="true" title="Update"><i class="fa fa-pencil"></i></a>&nbsp;'; actions += '<a href="{{ url('/') }}/hardware/maintenances/' + row.id + '/edit" class="btn btn-sm btn-warning" data-tooltip="true" title="Update"><i class="fas fa-pencil-alt"></i></a>&nbsp;';
} }
actions += '</nobr>' actions += '</nobr>'
if ((row) && (row.available_actions.delete === true)) { if ((row) && (row.available_actions.delete === true)) {

View file

@ -129,7 +129,7 @@
<div class="col-md-6 col-md-offset-4" id="encrypt_warning" style="display:none;"> <div class="col-md-6 col-md-offset-4" id="encrypt_warning" style="display:none;">
<div class="callout callout-danger"> <div class="callout callout-danger">
<p><i class="fa fa-warning" aria-hidden="true"></i> {{ trans('admin/custom_fields/general.encrypt_field_help') }}</p> <p><i class="fas fa-exclamation-triangle" aria-hidden="true"></i> {{ trans('admin/custom_fields/general.encrypt_field_help') }}</p>
</div> </div>
</div> </div>
</div> </div>

View file

@ -145,7 +145,7 @@
<td> <td>
<code>{{ $field->convertUnicodeDbSlug() }}</code> <code>{{ $field->convertUnicodeDbSlug() }}</code>
@if ($field->convertUnicodeDbSlug()!=$field->db_column) @if ($field->convertUnicodeDbSlug()!=$field->db_column)
<br><i class="fa fa-warning text-danger"></i>WARNING. This field is in the custom fields table as <code>{{ $field->db_column }}</code> but should be <code>{{ $field->convertUnicodeDbSlug() }}</code>. <br><i class="fas fa-exclamation-triangle text-danger"></i>WARNING. This field is in the custom fields table as <code>{{ $field->db_column }}</code> but should be <code>{{ $field->convertUnicodeDbSlug() }}</code>.
@endif @endif
</td> </td>
<td>{{ $field->format }}</td> <td>{{ $field->format }}</td>
@ -159,7 +159,7 @@
<nobr> <nobr>
@can('update', $field) @can('update', $field)
<a href="{{ route('fields.edit', $field->id) }}" class="btn btn-warning btn-sm"> <a href="{{ route('fields.edit', $field->id) }}" class="btn btn-warning btn-sm">
<i class="fa fa-pencil" aria-hidden="true"></i> <i class="fas fa-pencil-alt" aria-hidden="true"></i>
<span class="sr-only">Edit</span> <span class="sr-only">Edit</span>
</a> </a>
@endcan @endcan

View file

@ -18,7 +18,7 @@
<div style="padding-top: 200px"> <div style="padding-top: 200px">
<img src="{{ url('/') }}/img/sad-panda.png" style="width: 200px; height: 200px;" class="pull-left"> <img src="{{ url('/') }}/img/sad-panda.png" style="width: 200px; height: 200px;" class="pull-left">
<div class="error-content"> <div class="error-content">
<h2><i class="fa fa-warning text-yellow"></i> 403 Forbidden.</h2> <h2><i class="fas fa-exclamation-triangle text-yellow"></i> 403 Forbidden.</h2>
<p> <p>
Sad panda. You are not authorized to do the thing. Maybe <a href="{{ url('/') }}">return to the dashboard</a>, or contact your administrator. Sad panda. You are not authorized to do the thing. Maybe <a href="{{ url('/') }}">return to the dashboard</a>, or contact your administrator.
</p> </p>

View file

@ -18,7 +18,7 @@
<div style="padding-top: 200px"> <div style="padding-top: 200px">
<img src="{{ url('/') }}/img/sad-panda.png" style="width: 200px; height: 200px;" class="pull-left"> <img src="{{ url('/') }}/img/sad-panda.png" style="width: 200px; height: 200px;" class="pull-left">
<div class="error-content"> <div class="error-content">
<h2><i class="fa fa-warning text-yellow"></i> 404 Page not found.</h2> <h2><i class="fas fa-exclamation-triangle text-yellow"></i> 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="{{ url('/') }}">return to the dashboard</a>. You should maybe <a href="{{ url('/') }}">return to the dashboard</a>.

View file

@ -27,7 +27,7 @@ System Unavailable
</div> </div>
<div class="col-md-10"> <div class="col-md-10">
<div class="callout callout-danger"> <div class="callout callout-danger">
<h2><i class="icon fa fa-warning"></i> System Unavailable</h2> <h2><i class="icon fas fa-exclamation-triangle"></i> System Unavailable</h2>
<p>{!! json_decode(file_get_contents(storage_path('framework/down')), true)['message'] !!}</p> <p>{!! json_decode(file_get_contents(storage_path('framework/down')), true)['message'] !!}</p>
</div> </div>
</div> </div>

View file

@ -20,7 +20,7 @@
<p>{{ trans('admin/hardware/form.bulk_update_help') }}</p> <p>{{ trans('admin/hardware/form.bulk_update_help') }}</p>
<div class="callout callout-warning"> <div class="callout callout-warning">
<i class="fa fa-warning"></i> {{ trans('admin/hardware/form.bulk_update_warn', ['asset_count' => count($assets)]) }} <i class="fas fa-exclamation-triangle"></i> {{ trans('admin/hardware/form.bulk_update_warn', ['asset_count' => count($assets)]) }}
</div> </div>
<form class="form-horizontal" method="post" action="{{ route('hardware/bulksave') }}" autocomplete="off" role="form"> <form class="form-horizontal" method="post" action="{{ route('hardware/bulksave') }}" autocomplete="off" role="form">

View file

@ -189,7 +189,7 @@
$("#selected_status_status").removeClass('text-danger'); $("#selected_status_status").removeClass('text-danger');
$("#selected_status_status").removeClass('text-success'); $("#selected_status_status").removeClass('text-success');
$("#selected_status_status").addClass('text-warning'); $("#selected_status_status").addClass('text-warning');
$("#selected_status_status").html('<i class="fa fa-warning"></i> That asset status is not deployable. This asset cannot be checked out. '); $("#selected_status_status").html('<i class="fas fa-exclamation-triangle"></i> That asset status is not deployable. This asset cannot be checked out. ');
} }
} }
}); });

View file

@ -46,12 +46,12 @@
<div class="col-md-12"> <div class="col-md-12">
@if ($asset->model->deleted_at!='') @if ($asset->model->deleted_at!='')
<div class="alert alert-warning alert-block"> <div class="alert alert-warning alert-block">
<i class="fa fa-warning"></i> <i class="fas fa-exclamation-triangle"></i>
{{ trans('admin/hardware/general.model_deleted', array('model_id' => $asset->model->id)) }} {{ trans('admin/hardware/general.model_deleted', array('model_id' => $asset->model->id)) }}
</div> </div>
@elseif ($asset->deleted_at!='') @elseif ($asset->deleted_at!='')
<div class="alert alert-warning alert-block"> <div class="alert alert-warning alert-block">
<i class="fa fa-warning"></i> <i class="fas fa-exclamation-triangle"></i>
{{ trans('admin/hardware/general.deleted', array('asset_id' => $asset->id)) }} {{ trans('admin/hardware/general.deleted', array('asset_id' => $asset->id)) }}
</div> </div>
@endif @endif

View file

@ -741,7 +741,7 @@
@if ($debug_in_production) @if ($debug_in_production)
<div class="row" style="margin-bottom: 0px; background-color: red; color: white; font-size: 15px;"> <div class="row" style="margin-bottom: 0px; background-color: red; color: white; font-size: 15px;">
<div class="col-md-12" style="margin-bottom: 0px; background-color: #b50408 ; color: white; padding: 10px 20px 10px 30px; font-size: 16px;"> <div class="col-md-12" style="margin-bottom: 0px; background-color: #b50408 ; color: white; padding: 10px 20px 10px 30px; font-size: 16px;">
<i class="fa fa-warning fa-3x pull-left"></i> <strong>{{ strtoupper(trans('general.debug_warning')) }}:</strong> <i class="fas fa-exclamation-triangle fa-3x pull-left"></i> <strong>{{ strtoupper(trans('general.debug_warning')) }}:</strong>
{!! trans('general.debug_warning_text') !!} {!! trans('general.debug_warning_text') !!}
</div> </div>
</div> </div>

View file

@ -22,7 +22,7 @@
<div class="box box-default"> <div class="box box-default">
<div class="box-header with-border"> <div class="box-header with-border">
<div class="box-title"><i class="fa fa-warning"></i> You are about to edit the following: </div> <div class="box-title"><i class="fas fa-exclamation-triangle"></i> You are about to edit the following: </div>
</div> </div>
<div class="box-body"> <div class="box-body">

View file

@ -116,7 +116,7 @@
<div class="col-md-12"> <div class="col-md-12">
<div class="alert alert-warning fade in"> <div class="alert alert-warning fade in">
<button type="button" class="close" data-dismiss="alert">&times;</button> <button type="button" class="close" data-dismiss="alert">&times;</button>
<i class="fa fa-warning faa-pulse animated"></i> <i class="fas fa-exclamation-triangle faa-pulse animated"></i>
<strong>Warning: </strong> <strong>Warning: </strong>
{{ $message }} {{ $message }}
</div> </div>

View file

@ -209,7 +209,7 @@
} }
if ((row.available_actions) && (row.available_actions.update === true)) { if ((row.available_actions) && (row.available_actions.update === true)) {
actions += '<a href="{{ url('/') }}/' + dest + '/' + row.id + '/edit" class="btn btn-sm btn-warning" data-tooltip="true" title="Update Item"><i class="fa fa-pencil" aria-hidden="true"></i><span class="sr-only">Update</span></a>&nbsp;'; actions += '<a href="{{ url('/') }}/' + dest + '/' + row.id + '/edit" class="btn btn-sm btn-warning" data-tooltip="true" title="Update Item"><i class="fas fa-pencil-alt" aria-hidden="true"></i><span class="sr-only">Update</span></a>&nbsp;';
} }
if ((row.available_actions) && (row.available_actions.delete === true)) { if ((row.available_actions) && (row.available_actions.delete === true)) {
@ -446,7 +446,7 @@
function changeLogFormatter(value) { function changeLogFormatter(value) {
var result = ''; var result = '';
for (var index in value) { for (var index in value) {
result += index + ': <del>' + value[index].old + '</del> <i class="fa fa-long-arrow-right" aria-hidden="true"></i> ' + value[index].new + '<br>' result += index + ': <del>' + value[index].old + '</del> <i class="fas fa-long-arrow-alt-right" aria-hidden="true"></i> ' + value[index].new + '<br>'
} }
return result; return result;

View file

@ -46,7 +46,7 @@
@else @else
<div class="col-md-12"> <div class="col-md-12">
<div class="alert alert-warning fade in"> <div class="alert alert-warning fade in">
<i class="fa fa-warning faa-pulse animated"></i> <i class="fas fa-exclamation-triangle faa-pulse animated"></i>
<strong>Warning: </strong> <strong>Warning: </strong>
You do not currently have any depreciations set up. You do not currently have any depreciations set up.
Please set up at least one depreciation to view the depreciation report. Please set up at least one depreciation to view the depreciation report.

View file

@ -18,7 +18,7 @@
<div class="col-md-8 col-md-offset-2"> <div class="col-md-8 col-md-offset-2">
<div class="box box-solid box-danger"> <div class="box box-solid box-danger">
<div class="box-header with-border"> <div class="box-header with-border">
<h2 class="box-title"><i class="fa fa-warning"></i> {{ trans('admin/settings/general.purge') }}</h2> <h2 class="box-title"><i class="fas fa-exclamation-triangle"></i> {{ trans('admin/settings/general.purge') }}</h2>
</div> </div>
{{ Form::open(['method' => 'POST', 'files' => false, 'autocomplete' => 'off', 'class' => 'form-horizontal', 'role' => 'form' ]) }} {{ Form::open(['method' => 'POST', 'files' => false, 'autocomplete' => 'off', 'class' => 'form-horizontal', 'role' => 'form' ]) }}
<!-- CSRF Token --> <!-- CSRF Token -->

View file

@ -12,7 +12,7 @@ Create a User ::
@if (trim($output)=='Nothing to migrate.') @if (trim($output)=='Nothing to migrate.')
<div class="col-md-12"> <div class="col-md-12">
<div class="alert alert-warning"> <div class="alert alert-warning">
<i class="fa fa-warning"></i> <i class="fas fa-exclamation-triangle"></i>
There was nothing to migrate. Your database tables were already set up! There was nothing to migrate. Your database tables were already set up!
</div> </div>
</div> </div>

View file

@ -193,7 +193,7 @@
<td>{{ $improvement->is_warranty ? trans('admin/asset_maintenances/message.warranty') : trans('admin/asset_maintenances/message.not_warranty') }}</td> <td>{{ $improvement->is_warranty ? trans('admin/asset_maintenances/message.warranty') : trans('admin/asset_maintenances/message.not_warranty') }}</td>
<td>{{ sprintf( $snipeSettings->default_currency. '%01.2f', $improvement->cost) }}</td> <td>{{ sprintf( $snipeSettings->default_currency. '%01.2f', $improvement->cost) }}</td>
<?php $totalCost += $improvement->cost; ?> <?php $totalCost += $improvement->cost; ?>
<td><a href="{{ route('maintenances.edit', $improvement->id) }}" class="btn btn-warning"><i class="fa fa-pencil icon-white" aria-hidden="true"></i></a> <td><a href="{{ route('maintenances.edit', $improvement->id) }}" class="btn btn-warning"><i class="fas fa-pencil-alt icon-white" aria-hidden="true"></i></a>
</td> </td>
</tr> </tr>
@endif @endif

View file

@ -20,7 +20,7 @@
<p>{{ trans('admin/users/general.bulk_update_help') }}</p> <p>{{ trans('admin/users/general.bulk_update_help') }}</p>
<div class="callout callout-warning"> <div class="callout callout-warning">
<i class="fa fa-warning"></i> {{ trans('admin/users/general.bulk_update_warn', ['user_count' => count($users)]) }} <i class="fas fa-exclamation-triangle"></i> {{ trans('admin/users/general.bulk_update_warn', ['user_count' => count($users)]) }}
</div> </div>
<form class="form-horizontal" method="post" action="{{ route('users/bulkeditsave') }}" autocomplete="off" role="form"> <form class="form-horizontal" method="post" action="{{ route('users/bulkeditsave') }}" autocomplete="off" role="form">

View file

@ -120,13 +120,17 @@
<div class="tab-content"> <div class="tab-content">
<div class="tab-pane active" id="details"> <div class="tab-pane active" id="details">
<div class="row"> <div class="row">
@if ($user->deleted_at!='') @if ($user->deleted_at!='')
<div class="col-md-12"> <div class="col-md-12">
<div class="callout callout-warning"> <div class="callout callout-warning">
<i class="icon fa fa-warning"></i> <i class="icon fas fa-exclamation-triangle"></i>
{{ trans('admin/users/message.user_deleted_warning') }} {{ trans('admin/users/message.user_deleted_warning') }}
@can('update', $user) @can('update', $user)
<a href="{{ route('restore/user', $user->id) }}">{{ trans('admin/users/general.restore_user') }}</a> <a href="{{ route('restore/user', $user->id) }}">
{{ trans('admin/users/general.restore_user') }}
</a>
@endcan @endcan
</div> </div>
</div> </div>