mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 13:57:41 -08:00
Added fw class to topnav icons
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
be5f3f38f8
commit
5d9f988df3
|
@ -145,7 +145,7 @@ dir="{{ Helper::determineLanguageDirection() }}">
|
||||||
@can('index', \App\Models\Asset::class)
|
@can('index', \App\Models\Asset::class)
|
||||||
<li aria-hidden="true"{!! (Request::is('hardware*') ? ' class="active"' : '') !!}>
|
<li aria-hidden="true"{!! (Request::is('hardware*') ? ' class="active"' : '') !!}>
|
||||||
<a href="{{ url('hardware') }}" {{$snipeSettings->shortcuts_enabled == 1 ? "accesskey=1" : ''}} tabindex="-1" data-tooltip="true" data-placement="bottom" data-title="{{ trans('general.assets') }}">
|
<a href="{{ url('hardware') }}" {{$snipeSettings->shortcuts_enabled == 1 ? "accesskey=1" : ''}} tabindex="-1" data-tooltip="true" data-placement="bottom" data-title="{{ trans('general.assets') }}">
|
||||||
<x-icon type="assets" />
|
<x-icon type="assets" class="fa-fw" />
|
||||||
<span class="sr-only">{{ trans('general.assets') }}</span>
|
<span class="sr-only">{{ trans('general.assets') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -153,7 +153,7 @@ dir="{{ Helper::determineLanguageDirection() }}">
|
||||||
@can('view', \App\Models\License::class)
|
@can('view', \App\Models\License::class)
|
||||||
<li aria-hidden="true"{!! (Request::is('licenses*') ? ' class="active"' : '') !!}>
|
<li aria-hidden="true"{!! (Request::is('licenses*') ? ' class="active"' : '') !!}>
|
||||||
<a href="{{ route('licenses.index') }}" {{$snipeSettings->shortcuts_enabled == 1 ? "accesskey=2" : ''}} tabindex="-1" data-tooltip="true" data-placement="bottom" data-title="{{ trans('general.licenses') }}">
|
<a href="{{ route('licenses.index') }}" {{$snipeSettings->shortcuts_enabled == 1 ? "accesskey=2" : ''}} tabindex="-1" data-tooltip="true" data-placement="bottom" data-title="{{ trans('general.licenses') }}">
|
||||||
<x-icon type="licenses" />
|
<x-icon type="licenses" class="fa-fw" />
|
||||||
<span class="sr-only">{{ trans('general.licenses') }}</span>
|
<span class="sr-only">{{ trans('general.licenses') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -161,7 +161,7 @@ dir="{{ Helper::determineLanguageDirection() }}">
|
||||||
@can('index', \App\Models\Accessory::class)
|
@can('index', \App\Models\Accessory::class)
|
||||||
<li aria-hidden="true"{!! (Request::is('accessories*') ? ' class="active"' : '') !!}>
|
<li aria-hidden="true"{!! (Request::is('accessories*') ? ' class="active"' : '') !!}>
|
||||||
<a href="{{ route('accessories.index') }}" {{$snipeSettings->shortcuts_enabled == 1 ? "accesskey=3" : ''}} tabindex="-1" data-tooltip="true" data-placement="bottom" data-title="{{ trans('general.accessories') }}">
|
<a href="{{ route('accessories.index') }}" {{$snipeSettings->shortcuts_enabled == 1 ? "accesskey=3" : ''}} tabindex="-1" data-tooltip="true" data-placement="bottom" data-title="{{ trans('general.accessories') }}">
|
||||||
<x-icon type="accessories" />
|
<x-icon type="accessories" class="fa-fw" />
|
||||||
<span class="sr-only">{{ trans('general.accessories') }}</span>
|
<span class="sr-only">{{ trans('general.accessories') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -169,7 +169,7 @@ dir="{{ Helper::determineLanguageDirection() }}">
|
||||||
@can('index', \App\Models\Consumable::class)
|
@can('index', \App\Models\Consumable::class)
|
||||||
<li aria-hidden="true"{!! (Request::is('consumables*') ? ' class="active"' : '') !!}>
|
<li aria-hidden="true"{!! (Request::is('consumables*') ? ' class="active"' : '') !!}>
|
||||||
<a href="{{ url('consumables') }}" {{$snipeSettings->shortcuts_enabled == 1 ? "accesskey=4" : ''}} tabindex="-1" data-tooltip="true" data-placement="bottom" data-title="{{ trans('general.consumables') }}">
|
<a href="{{ url('consumables') }}" {{$snipeSettings->shortcuts_enabled == 1 ? "accesskey=4" : ''}} tabindex="-1" data-tooltip="true" data-placement="bottom" data-title="{{ trans('general.consumables') }}">
|
||||||
<x-icon type="consumables" />
|
<x-icon type="consumables" class="fa-fw" />
|
||||||
<span class="sr-only">{{ trans('general.consumables') }}</span>
|
<span class="sr-only">{{ trans('general.consumables') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -177,7 +177,7 @@ dir="{{ Helper::determineLanguageDirection() }}">
|
||||||
@can('view', \App\Models\Component::class)
|
@can('view', \App\Models\Component::class)
|
||||||
<li aria-hidden="true"{!! (Request::is('components*') ? ' class="active"' : '') !!}>
|
<li aria-hidden="true"{!! (Request::is('components*') ? ' class="active"' : '') !!}>
|
||||||
<a href="{{ route('components.index') }}" {{$snipeSettings->shortcuts_enabled == 1 ? "accesskey=5" : ''}} tabindex="-1" data-tooltip="true" data-placement="bottom" data-title="{{ trans('general.components') }}">
|
<a href="{{ route('components.index') }}" {{$snipeSettings->shortcuts_enabled == 1 ? "accesskey=5" : ''}} tabindex="-1" data-tooltip="true" data-placement="bottom" data-title="{{ trans('general.components') }}">
|
||||||
<x-icon type="components" />
|
<x-icon type="components" class="fa-fw" />
|
||||||
<span class="sr-only">{{ trans('general.components') }}</span>
|
<span class="sr-only">{{ trans('general.components') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in a new issue