clrghouz/resources/views/layouts/partials/sidebar.blade.php
2021-06-17 19:34:39 +10:00

25 lines
677 B
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/zone') }}" >Zones</a></dd>
<dd><a href="{{ url('ftn/node') }}" >Nodes</a></dd>
</dl>
@can('admin')
<dl>
<dt>Users</dt>
<dd><a href="{{ url('user/add') }}" >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()->public()->get() as $o)
<dd><a href="{{ url('network',['id'=>$o->id]) }}" title="{{ $o->description }}">{{ $o->name }}</a></dd>
@endforeach
</dl>
</div>