2021-06-17 09:34:39 +00:00
|
|
|
<div id="sidebar-scroller">
|
|
|
|
FTN Networks
|
2022-11-25 10:44:03 +00:00
|
|
|
|
2023-07-06 01:52:11 +00:00
|
|
|
@auth
|
|
|
|
<dl>
|
|
|
|
<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
|
|
|
|
|
2022-11-25 10:44:03 +00:00
|
|
|
<dl>
|
2023-07-06 01:52:11 +00:00
|
|
|
<dt>Explore Networks</dt>
|
2022-11-25 10:44:03 +00:00
|
|
|
@foreach (\App\Models\Domain::select(['id','name'])
|
|
|
|
->when(((! $user) || (! $user->isAdmin())),function($query) { return $query->public()->active(); })
|
|
|
|
->orderBy('name')->get() as $o)
|
2022-12-17 03:00:41 +00:00
|
|
|
@if ($o->managed())
|
2023-07-06 01:52:11 +00:00
|
|
|
<dd><a href="{{ url('network',['id'=>$o->id]) }}">{{ $o->name }}</a></dd>
|
2022-12-17 03:00:41 +00:00
|
|
|
@endif
|
2022-11-25 10:44:03 +00:00
|
|
|
@endforeach
|
|
|
|
</dl>
|
|
|
|
|
2021-06-17 09:34:39 +00:00
|
|
|
@auth
|
2022-12-11 10:46:08 +00:00
|
|
|
@if ($user->isZC())
|
|
|
|
<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>
|
2021-06-17 09:34:39 +00:00
|
|
|
|
2022-12-11 10:46:08 +00:00
|
|
|
<dl>
|
|
|
|
<dt>System Admin</dt>
|
|
|
|
<dd><a href="{{ url('ftn/our_systems') }}">This Host Systems</a></dd>
|
|
|
|
</dl>
|
|
|
|
@endif
|
2021-07-04 11:47:23 +00:00
|
|
|
|
2021-06-17 09:34:39 +00:00
|
|
|
@can('admin')
|
|
|
|
<dl>
|
|
|
|
<dt>Users</dt>
|
2021-08-14 01:11:20 +00:00
|
|
|
<dd><a href="{{ url('user/addedit') }}">Create</a></dd>
|
2021-06-17 09:34:39 +00:00
|
|
|
<dd><a href="{{ url('user/list') }}">List</a></dd>
|
|
|
|
</dl>
|
|
|
|
@endcan
|
|
|
|
@endauth
|
2021-07-04 11:47:23 +00:00
|
|
|
|
2021-06-29 10:43:29 +00:00
|
|
|
<dl>
|
|
|
|
<dt>Debug</dt>
|
2023-07-06 01:52:11 +00:00
|
|
|
<dd><a href="{{ url('pkt') }}">View Packet</a></dd>
|
2021-06-29 10:43:29 +00:00
|
|
|
</dl>
|
2021-06-17 09:34:39 +00:00
|
|
|
</div>
|