2021-06-17 19:34:39 +10:00
|
|
|
<div id="sidebar-scroller">
|
|
|
|
FTN Networks
|
2022-11-25 17:44:03 +07:00
|
|
|
|
2023-07-06 11:52:11 +10:00
|
|
|
@auth
|
|
|
|
<dl>
|
|
|
|
<dt>My Systems</dt>
|
|
|
|
@foreach ($user->systems->sortBy('name') as $o)
|
2023-10-05 22:15:53 +11:00
|
|
|
<dd><a href="{{ url('system/addedit',['id'=>$o->id]) }}">{{ $o->name }}</a></dd>
|
2023-07-06 11:52:11 +10:00
|
|
|
@endforeach
|
|
|
|
</dl>
|
|
|
|
@endauth
|
|
|
|
|
2022-11-25 17:44:03 +07:00
|
|
|
<dl>
|
2023-07-06 11:52:11 +10:00
|
|
|
<dt>Explore Networks</dt>
|
2022-11-25 17:44:03 +07:00
|
|
|
@foreach (\App\Models\Domain::select(['id','name'])
|
|
|
|
->when(((! $user) || (! $user->isAdmin())),function($query) { return $query->public()->active(); })
|
2024-04-13 22:41:58 +10:00
|
|
|
->orderBy('name')
|
|
|
|
->get() as $o)
|
|
|
|
@if ($o->isManaged())
|
2023-10-05 22:59:59 +11:00
|
|
|
<dd><a href="{{ url('domain/view',['id'=>$o->id]) }}">{{ $o->name }}</a></dd>
|
2022-12-17 14:00:41 +11:00
|
|
|
@endif
|
2022-11-25 17:44:03 +07:00
|
|
|
@endforeach
|
|
|
|
</dl>
|
|
|
|
|
2021-06-17 19:34:39 +10:00
|
|
|
@auth
|
2022-12-11 21:46:08 +11:00
|
|
|
@if ($user->isZC())
|
|
|
|
<dl>
|
|
|
|
<dt>Network Admin</dt>
|
2023-10-05 22:42:41 +11:00
|
|
|
<dd><a href="{{ url('domain') }}">Domains</a></dd>
|
2023-10-05 22:15:53 +11:00
|
|
|
<dd><a href="{{ url('system') }}">Systems</a></dd>
|
2023-10-05 22:27:25 +11:00
|
|
|
<dd><a href="{{ url('zone') }}">Zones</a></dd>
|
2023-10-05 22:49:57 +11:00
|
|
|
<dd><a href="{{ url('echoarea') }}">Echoareas</a></dd>
|
|
|
|
<dd><a href="{{ url('filearea') }}">Fileareas</a></dd>
|
2022-12-11 21:46:08 +11:00
|
|
|
</dl>
|
2021-06-17 19:34:39 +10:00
|
|
|
|
2022-12-11 21:46:08 +11:00
|
|
|
<dl>
|
|
|
|
<dt>System Admin</dt>
|
2023-10-05 22:15:53 +11:00
|
|
|
<dd><a href="{{ url('system/ours') }}">This Host Systems</a></dd>
|
2022-12-11 21:46:08 +11:00
|
|
|
</dl>
|
|
|
|
@endif
|
2021-07-04 21:47:23 +10:00
|
|
|
|
2021-06-17 19:34:39 +10:00
|
|
|
@can('admin')
|
|
|
|
<dl>
|
|
|
|
<dt>Users</dt>
|
2021-08-14 11:11:20 +10:00
|
|
|
<dd><a href="{{ url('user/addedit') }}">Create</a></dd>
|
2023-10-05 23:28:18 +11:00
|
|
|
<dd><a href="{{ url('user') }}">List</a></dd>
|
2021-06-17 19:34:39 +10:00
|
|
|
</dl>
|
|
|
|
@endcan
|
|
|
|
@endauth
|
2021-07-04 21:47:23 +10:00
|
|
|
|
2021-06-29 20:43:29 +10:00
|
|
|
<dl>
|
|
|
|
<dt>Debug</dt>
|
2023-07-06 11:52:11 +10:00
|
|
|
<dd><a href="{{ url('pkt') }}">View Packet</a></dd>
|
2021-06-29 20:43:29 +10:00
|
|
|
</dl>
|
2021-06-17 19:34:39 +10:00
|
|
|
</div>
|