More icons

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-08-19 13:27:21 +01:00
parent 479b2b4fd3
commit e048f0955f
3 changed files with 3 additions and 9 deletions

View file

@ -492,6 +492,6 @@ class UserPresenter extends Presenter
public function glyph() public function glyph()
{ {
return '<i class="fas fa-user" aria-hidden="true"></i>'; return '<x-icon type="user"/>';
} }
} }

View file

@ -903,19 +903,13 @@
@else @else
{{ trans('general.na_no_purchase_date') }} {{ trans('general.na_no_purchase_date') }}
@endif @endif
@if ($asset->eol_explicit) @if ($asset->eol_explicit =='1')
<span data-tooltip="true" <span data-tooltip="true"
data-placement="top" data-placement="top"
data-title="Explicit EOL" data-title="Explicit EOL"
title="Explicit EOL"> title="Explicit EOL">
<x-icon type="warning" class="text-orange" /> <x-icon type="warning" class="text-orange" />
</span> </span>
<i class="fas fa-exclamation-triangle text-orange"
>
</i>
@endif @endif
</div> </div>
</div> </div>

View file

@ -531,7 +531,7 @@
<td> <td>
@if ($file->filename) @if ($file->filename)
<a href="{{ route('show.licensefile', [$license->id, $file->id]) }}" class="btn btn-sm btn-default"> <a href="{{ route('show.licensefile', [$license->id, $file->id]) }}" class="btn btn-sm btn-default">
<i class="fas fa-download" aria-hidden="true"></i> <x-icon type="download"/>
<span class="sr-only">{{ trans('general.download') }}</span> <span class="sr-only">{{ trans('general.download') }}</span>
</a> </a>