40 lines
1.1 KiB
PHP
40 lines
1.1 KiB
PHP
<div id="sidebar-scroller">
|
|
FTN Networks
|
|
@auth
|
|
<dl>
|
|
<dt>Network Admin</dt>
|
|
<dd><a href="{{ url('ftn/domain') }}">Domains</a></dd>
|
|
<dd><a href="{{ url('ftn/system') }}">Systems</a></dd>
|
|
<dd><a href="{{ url('ftn/zone') }}">Zones</a></dd>
|
|
<dd><a href="{{ url('ftn/echoarea') }}">Echoareas</a></dd>
|
|
<dd><a href="{{ url('ftn/filearea') }}">Fileareas</a></dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>System Admin</dt>
|
|
<dd><a href="{{ url('ftn/our_systems') }}">This Host Systems</a></dd>
|
|
</dl>
|
|
|
|
@can('admin')
|
|
<dl>
|
|
<dt>Users</dt>
|
|
<dd><a href="{{ url('user/addedit') }}">Create</a></dd>
|
|
<dd><a href="{{ url('user/list') }}">List</a></dd>
|
|
</dl>
|
|
@endcan
|
|
@endauth
|
|
|
|
<dl>
|
|
<dt>Expore Networks</dt>
|
|
@foreach (\App\Models\Domain::active()
|
|
->when((! $user),function($query) { return $query->public(); })
|
|
->orderBy('name')->get() as $o)
|
|
<dd><a href="{{ url('network',['id'=>$o->id]) }}" title="{{ $o->description }}">{{ $o->name }}</a></dd>
|
|
@endforeach
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Debug</dt>
|
|
<dd><a href="{{ url('pkt') }}">Verify Packet</a></dd>
|
|
</dl>
|
|
</div> |