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

26 lines
739 B
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-06-17 09:34:39 +00:00
<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/addedit') }}" >Create</a></dd>
2021-06-17 09:34:39 +00:00
<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>