remove tabbing on user quick navigation sidebar

This commit is contained in:
Jakob Schrettenbrunner 2017-03-18 21:32:00 +01:00
parent 02ab70ecfb
commit 117ce5e51a

View file

@ -231,35 +231,30 @@
Copyright &copy; 2015 - {{ date('Y') }} <a href="https://pterodactyl.io/">Pterodactyl Software</a>. Copyright &copy; 2015 - {{ date('Y') }} <a href="https://pterodactyl.io/">Pterodactyl Software</a>.
</footer> </footer>
<aside class="control-sidebar control-sidebar-dark"> <aside class="control-sidebar control-sidebar-dark">
<ul class="nav nav-tabs nav-justified control-sidebar-tabs">
<li><a href="#control-sidebar-servers-tab" data-toggle="tab"><i class="fa fa-server"></i></a></li>
</ul>
<div class="tab-content"> <div class="tab-content">
<div class="tab-pane active" id="control-sidebar-servers-tab"> <ul class="control-sidebar-menu">
<ul class="control-sidebar-menu"> @foreach (Auth::user()->serverAccessCollection(null, []) as $s)
@foreach (Auth::user()->serverAccessCollection(null, []) as $s) <li>
<li> <a
<a @if(isset($server) && isset($node))
@if(isset($server) && isset($node)) @if($server->uuidShort === $s->uuidShort)
@if($server->uuidShort === $s->uuidShort) class="active"
class="active"
@endif
@endif @endif
href="{{ route('server.index', $s->uuidShort) }}"> @endif
@if($s->owner_id === Auth::user()->id) href="{{ route('server.index', $s->uuidShort) }}">
<i class="menu-icon fa fa-user bg-blue"></i> @if($s->owner_id === Auth::user()->id)
@else <i class="menu-icon fa fa-user bg-blue"></i>
<i class="menu-icon fa fa-user-o bg-gray"></i> @else
@endif <i class="menu-icon fa fa-user-o bg-gray"></i>
<div class="menu-info"> @endif
<h4 class="control-sidebar-subheading">{{ $s->name }}</h4> <div class="menu-info">
<p>{{ $s->username }}</p> <h4 class="control-sidebar-subheading">{{ $s->name }}</h4>
</div> <p>{{ $s->username }}</p>
</a> </div>
</li> </a>
@endforeach </li>
</ul> @endforeach
</div> </ul>
</div> </div>
</aside> </aside>
<div class="control-sidebar-bg"></div> <div class="control-sidebar-bg"></div>