removed line breaks and deadspace

This commit is contained in:
Godfrey M 2022-05-23 09:35:19 -07:00
parent ab23e04c65
commit 160a147a58
2 changed files with 13 additions and 3 deletions

View file

@ -1091,7 +1091,6 @@ class Helper
public static function SettingUrls(){ public static function SettingUrls(){
$settings=['#','fields.index', 'statuslabels.index', 'models.index', 'categories.index', 'manufacturers.index', 'suppliers.index', 'departments.index', 'locations.index', 'companies.index', 'depreciations.index']; $settings=['#','fields.index', 'statuslabels.index', 'models.index', 'categories.index', 'manufacturers.index', 'suppliers.index', 'departments.index', 'locations.index', 'companies.index', 'depreciations.index'];
return $settings; return $settings;
} }

View file

@ -386,7 +386,7 @@
<!-- Sidebar toggle button--> <!-- Sidebar toggle button-->
</header> </header>
<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar"> <aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less --> <!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar"> <section class="sidebar">
@ -399,6 +399,7 @@
</a> </a>
</li> </li>
@endcan @endcan
@can('index', \App\Models\Asset::class) @can('index', \App\Models\Asset::class)
<li class="treeview{{ (Request::is('hardware*') ? ' active' : '') }}"> <li class="treeview{{ (Request::is('hardware*') ? ' active' : '') }}">
<a href="#"><i class="fas fa-barcode" aria-hidden="true"></i> <a href="#"><i class="fas fa-barcode" aria-hidden="true"></i>
@ -590,6 +591,7 @@
<span>{{ trans('general.settings') }}</span> <span>{{ trans('general.settings') }}</span>
<i class="fa fa-angle-left pull-right"></i> <i class="fa fa-angle-left pull-right"></i>
</a> </a>
<ul class="treeview-menu"> <ul class="treeview-menu">
@if(Gate::allows('view', App\Models\CustomField::class) || Gate::allows('view', App\Models\CustomFieldset::class)) @if(Gate::allows('view', App\Models\CustomField::class) || Gate::allows('view', App\Models\CustomFieldset::class))
<li {!! (Request::is('fields*') ? ' class="active"' : '') !!}> <li {!! (Request::is('fields*') ? ' class="active"' : '') !!}>
@ -598,6 +600,7 @@
</a> </a>
</li> </li>
@endif @endif
@can('view', \App\Models\Statuslabel::class) @can('view', \App\Models\Statuslabel::class)
<li {!! (Request::is('statuslabels*') ? ' class="active"' : '') !!}> <li {!! (Request::is('statuslabels*') ? ' class="active"' : '') !!}>
<a href="{{ route('statuslabels.index') }}"> <a href="{{ route('statuslabels.index') }}">
@ -605,6 +608,7 @@
</a> </a>
</li> </li>
@endcan @endcan
@can('view', \App\Models\AssetModel::class) @can('view', \App\Models\AssetModel::class)
<li> <li>
<a href="{{ route('models.index') }}" {{ (Request::is('/assetmodels') ? ' class="active"' : '') }}> <a href="{{ route('models.index') }}" {{ (Request::is('/assetmodels') ? ' class="active"' : '') }}>
@ -612,6 +616,7 @@
</a> </a>
</li> </li>
@endcan @endcan
@can('view', \App\Models\Category::class) @can('view', \App\Models\Category::class)
<li> <li>
<a href="{{ route('categories.index') }}" {{ (Request::is('/categories') ? ' class="active"' : '') }}> <a href="{{ route('categories.index') }}" {{ (Request::is('/categories') ? ' class="active"' : '') }}>
@ -619,6 +624,7 @@
</a> </a>
</li> </li>
@endcan @endcan
@can('view', \App\Models\Manufacturer::class) @can('view', \App\Models\Manufacturer::class)
<li> <li>
<a href="{{ route('manufacturers.index') }}" {{ (Request::is('/manufacturers') ? ' class="active"' : '') }}> <a href="{{ route('manufacturers.index') }}" {{ (Request::is('/manufacturers') ? ' class="active"' : '') }}>
@ -626,6 +632,7 @@
</a> </a>
</li> </li>
@endcan @endcan
@can('view', \App\Models\Supplier::class) @can('view', \App\Models\Supplier::class)
<li> <li>
<a href="{{ route('suppliers.index') }}" {{ (Request::is('/suppliers') ? ' class="active"' : '') }}> <a href="{{ route('suppliers.index') }}" {{ (Request::is('/suppliers') ? ' class="active"' : '') }}>
@ -633,6 +640,7 @@
</a> </a>
</li> </li>
@endcan @endcan
@can('view', \App\Models\Department::class) @can('view', \App\Models\Department::class)
<li> <li>
<a href="{{ route('departments.index') }}" {{ (Request::is('/departments') ? ' class="active"' : '') }}> <a href="{{ route('departments.index') }}" {{ (Request::is('/departments') ? ' class="active"' : '') }}>
@ -640,6 +648,7 @@
</a> </a>
</li> </li>
@endcan @endcan
@can('view', \App\Models\Location::class) @can('view', \App\Models\Location::class)
<li> <li>
<a href="{{ route('locations.index') }}" {{ (Request::is('/locations') ? ' class="active"' : '') }}> <a href="{{ route('locations.index') }}" {{ (Request::is('/locations') ? ' class="active"' : '') }}>
@ -647,6 +656,7 @@
</a> </a>
</li> </li>
@endcan @endcan
@can('view', \App\Models\Company::class) @can('view', \App\Models\Company::class)
<li> <li>
<a href="{{ route('companies.index') }}" {{ (Request::is('/companies') ? ' class="active"' : '') }}> <a href="{{ route('companies.index') }}" {{ (Request::is('/companies') ? ' class="active"' : '') }}>
@ -654,6 +664,7 @@
</a> </a>
</li> </li>
@endcan @endcan
@can('view', \App\Models\Depreciation::class) @can('view', \App\Models\Depreciation::class)
<li> <li>
<a href="{{ route('depreciations.index') }}" {{ (Request::is('/depreciations') ? ' class="active"' : '') }}> <a href="{{ route('depreciations.index') }}" {{ (Request::is('/depreciations') ? ' class="active"' : '') }}>