mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-11-12 10:52:41 +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');
|
$trash = (bool)$request->input('trash');
|
||||||
|
|
||||||
$data['apps'] = Item::all();
|
$data['apps'] = Item::orderBy('title', 'asc')->get();
|
||||||
$data['trash'] = Item::onlyTrashed()->get();
|
$data['trash'] = Item::onlyTrashed()->get();
|
||||||
if($trash) {
|
if($trash) {
|
||||||
return view('items.trash', $data);
|
return view('items.trash', $data);
|
||||||
|
|||||||
@@ -57,7 +57,7 @@
|
|||||||
@yield('content')
|
@yield('content')
|
||||||
<div id="config-buttons">
|
<div id="config-buttons">
|
||||||
@if(!Route::is('dash'))
|
@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
|
@endif
|
||||||
@if(!Request::is(['items', 'items/*']))
|
@if(!Request::is(['items', 'items/*']))
|
||||||
<a id="items" class="config" href="{{ route('items.index') }}"><i class="fas fa-list"></i></a>
|
<a id="items" class="config" href="{{ route('items.index') }}"><i class="fas fa-list"></i></a>
|
||||||
|
|||||||
Reference in New Issue
Block a user