Show queue commands, add My Systems to sidebar menu
This commit is contained in:
parent
9762b8c2f4
commit
349ad32fc8
@ -31,7 +31,6 @@ return [
|
|||||||
'notifications:table',
|
'notifications:table',
|
||||||
'optimize:*',
|
'optimize:*',
|
||||||
'package:discover',
|
'package:discover',
|
||||||
'queue:*',
|
|
||||||
'route:*',
|
'route:*',
|
||||||
'serve',
|
'serve',
|
||||||
'schedule:*',
|
'schedule:*',
|
||||||
|
@ -1,13 +1,22 @@
|
|||||||
<div id="sidebar-scroller">
|
<div id="sidebar-scroller">
|
||||||
FTN Networks
|
FTN Networks
|
||||||
|
|
||||||
|
@auth
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Expore Networks</dt>
|
<dt>My Systems</dt>
|
||||||
|
@foreach ($user->systems->sortBy('name') as $o)
|
||||||
|
<dd><a href="{{ url('ftn/system/addedit',['id'=>$o->id]) }}">{{ $o->name }}</a></dd>
|
||||||
|
@endforeach
|
||||||
|
</dl>
|
||||||
|
@endauth
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt>Explore Networks</dt>
|
||||||
@foreach (\App\Models\Domain::select(['id','name'])
|
@foreach (\App\Models\Domain::select(['id','name'])
|
||||||
->when(((! $user) || (! $user->isAdmin())),function($query) { return $query->public()->active(); })
|
->when(((! $user) || (! $user->isAdmin())),function($query) { return $query->public()->active(); })
|
||||||
->orderBy('name')->get() as $o)
|
->orderBy('name')->get() as $o)
|
||||||
@if ($o->managed())
|
@if ($o->managed())
|
||||||
<dd><a href="{{ url('network',['id'=>$o->id]) }}" title="{{ $o->description }}">{{ $o->name }}</a></dd>
|
<dd><a href="{{ url('network',['id'=>$o->id]) }}">{{ $o->name }}</a></dd>
|
||||||
@endif
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
</dl>
|
</dl>
|
||||||
@ -40,6 +49,6 @@
|
|||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Debug</dt>
|
<dt>Debug</dt>
|
||||||
<dd><a href="{{ url('pkt') }}">Verify Packet</a></dd>
|
<dd><a href="{{ url('pkt') }}">View Packet</a></dd>
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue
Block a user