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
|
2024-05-28 13:21:54 +00:00
|
|
|
@if($user->systems->count())
|
|
|
|
<dl>
|
|
|
|
<dt>My Systems</dt>
|
|
|
|
@foreach ($user->systems->sortBy('name') as $o)
|
|
|
|
<dd><a href="{{ url('system/addedit',['id'=>$o->id]) }}">{{ $o->name }}</a></dd>
|
|
|
|
@endforeach
|
|
|
|
</dl>
|
|
|
|
@endif
|
2023-07-06 01:52:11 +00:00
|
|
|
@endauth
|
|
|
|
|
2024-05-28 13:21:54 +00:00
|
|
|
@if(($x=\App\Models\Domain::select(['id','name'])
|
|
|
|
->when(((! $user) || (! $user->isAdmin())),fn($query)=>$query->public()->active())
|
|
|
|
->orderBy('name')
|
|
|
|
->get())
|
|
|
|
->count())
|
|
|
|
<dl>
|
|
|
|
<dt>Explore Networks</dt>
|
|
|
|
@foreach ($x as $o)
|
|
|
|
@if ($o->isManaged())
|
|
|
|
<dd><a href="{{ url('domain/view',['id'=>$o->id]) }}">{{ $o->name }}</a></dd>
|
|
|
|
@endif
|
|
|
|
@endforeach
|
|
|
|
</dl>
|
|
|
|
@endif
|
2022-11-25 10:44:03 +00:00
|
|
|
|
2021-06-17 09:34:39 +00:00
|
|
|
@auth
|
2024-05-28 13:21:54 +00:00
|
|
|
@can('zc')
|
2022-12-11 10:46:08 +00:00
|
|
|
<dl>
|
|
|
|
<dt>Network Admin</dt>
|
2023-10-05 11:42:41 +00:00
|
|
|
<dd><a href="{{ url('domain') }}">Domains</a></dd>
|
2023-10-05 11:15:53 +00:00
|
|
|
<dd><a href="{{ url('system') }}">Systems</a></dd>
|
2023-10-05 11:27:25 +00:00
|
|
|
<dd><a href="{{ url('zone') }}">Zones</a></dd>
|
2023-10-05 11:49:57 +00:00
|
|
|
<dd><a href="{{ url('echoarea') }}">Echoareas</a></dd>
|
|
|
|
<dd><a href="{{ url('filearea') }}">Fileareas</a></dd>
|
2022-12-11 10:46:08 +00:00
|
|
|
</dl>
|
2024-05-28 13:21:54 +00:00
|
|
|
@endcan
|
2021-06-17 09:34:39 +00:00
|
|
|
|
2024-05-09 11:22:30 +00:00
|
|
|
@can('admin')
|
2022-12-11 10:46:08 +00:00
|
|
|
<dl>
|
|
|
|
<dt>System Admin</dt>
|
2023-10-05 11:15:53 +00:00
|
|
|
<dd><a href="{{ url('system/ours') }}">This Host Systems</a></dd>
|
2022-12-11 10:46:08 +00:00
|
|
|
</dl>
|
2021-07-04 11:47:23 +00:00
|
|
|
|
2021-06-17 09:34:39 +00:00
|
|
|
<dl>
|
|
|
|
<dt>Users</dt>
|
2021-08-14 01:11:20 +00:00
|
|
|
<dd><a href="{{ url('user/addedit') }}">Create</a></dd>
|
2024-04-25 05:27:45 +00:00
|
|
|
<dd><a href="{{ url('user/list') }}">List</a></dd>
|
2021-06-17 09:34:39 +00:00
|
|
|
</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>
|