clrghouz/resources/views/layouts/partials/sidebar.blade.php

40 lines
1.1 KiB
PHP
Raw Normal View History

2021-06-17 09:34:39 +00:00
<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>
2021-08-11 13:45:30 +00:00
<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>
2021-06-17 09:34:39 +00:00
</dl>
<dl>
<dt>System Admin</dt>
<dd><a href="{{ url('ftn/our_systems') }}">This Host Systems</a></dd>
</dl>
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-06-17 09:34:39 +00:00
<dl>
<dt>Expore Networks</dt>
2021-07-02 13:19:50 +00:00
@foreach (\App\Models\Domain::active()
2021-09-27 14:21:21 +00:00
->when((! $user),function($query) { return $query->public(); })
2021-07-02 13:19:50 +00:00
->orderBy('name')->get() as $o)
2021-06-17 09:34:39 +00:00
<dd><a href="{{ url('network',['id'=>$o->id]) }}" title="{{ $o->description }}">{{ $o->name }}</a></dd>
@endforeach
</dl>
2021-06-29 10:43:29 +00:00
<dl>
<dt>Debug</dt>
<dd><a href="{{ url('pkt') }}">Verify Packet</a></dd>
</dl>
2021-06-17 09:34:39 +00:00
</div>