mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-11-03 06:22:39 +09:00
Order list view by title and added different dash icon
This commit is contained in:
@@ -94,7 +94,7 @@ class ItemController extends Controller
|
||||
{
|
||||
$trash = (bool)$request->input('trash');
|
||||
|
||||
$data['apps'] = Item::all();
|
||||
$data['apps'] = Item::orderBy('title', 'asc')->get();
|
||||
$data['trash'] = Item::onlyTrashed()->get();
|
||||
if($trash) {
|
||||
return view('items.trash', $data);
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
@yield('content')
|
||||
<div id="config-buttons">
|
||||
@if(!Route::is('dash'))
|
||||
<a id="dash" class="config" href="{{ route('dash') }}"><img src="/img/yggdrasil.svg" /></a>
|
||||
<a id="dash" class="config" href="{{ route('dash') }}"><i class="fas fa-th"></i></a>
|
||||
@endif
|
||||
@if(!Request::is(['items', 'items/*']))
|
||||
<a id="items" class="config" href="{{ route('items.index') }}"><i class="fas fa-list"></i></a>
|
||||
|
||||
Reference in New Issue
Block a user