Move sidebar to it's own blade

This commit is contained in:
Deon George 2021-06-17 19:34:39 +10:00
parent f9310566a0
commit 1e7c05cb90
4 changed files with 28 additions and 31 deletions

View File

@ -343,14 +343,9 @@ ul#navlist-desktop {
dl {
margin:1em -1px 0 1px
}
dt a {
dt {
color:#5ff
}
dt a:hover,
dt a:active {
color:#fff;
background-color:#0aa
}
dd {
margin-left: 0;
margin-bottom: 0;

View File

@ -40,6 +40,7 @@ If you have more than 1 BBS, then the Clearing House can receive all your mail f
<ul>
<li>Supports BINKP network transfers</li>
<li>Supports EMSI network transfers</li>
<li>Manages ECHO areas and FILE areas <sup>To be implemented</sup></li
<li>Supports PING and TRACE responses <sup>To be implemented</sup></li>
<li>Nodelist Management <sup>To be implemented</sup></li>
<li>Network Applications <sup>To be implemented</sup></li>

View File

@ -0,0 +1,25 @@
<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>

View File

@ -69,30 +69,6 @@
--}}
<div id="sidebar">
<div id="sidebar-scroller">
FTN Networks
@auth
<dl>
<dt><a href="#" >Network Admin</a></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><a href="#" >Users</a></dt>
<dd><a href="{{ url('user/add') }}" >Create</a></dd>
<dd><a href="{{ url('user/list') }}">List</a></dd>
</dl>
@endcan
@endauth
<dl>
<dt><a href="#" >Expore Networks</a></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>
@include('layouts.partials.sidebar')
</div>
</div>