|
|
|
@ -7,36 +7,23 @@ |
|
|
|
|
--}}datatable.directory |
|
|
|
|
</a> |
|
|
|
|
|
|
|
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" |
|
|
|
|
<button class="navbar-toggler noscript-hide" type="button" data-toggle="collapse" |
|
|
|
|
data-target="#mainNavContent" aria-controls="mainNavContent" |
|
|
|
|
aria-expanded="false" aria-label="{{ __('Toggle navigation') }}"> |
|
|
|
|
<span class="sr-only">Toggle navigation</span> |
|
|
|
|
<span class="navbar-toggler-icon"></span> |
|
|
|
|
</button> |
|
|
|
|
|
|
|
|
|
<div class="collapse navbar-collapse" id="mainNavContent"> |
|
|
|
|
<div class="collapse navbar-collapse noscript-hide" id="mainNavContent"> |
|
|
|
|
<ul class="navbar-nav ml-auto"> |
|
|
|
|
<!-- Authentication Links --> |
|
|
|
|
@guest() |
|
|
|
|
<li class="nav-item"> |
|
|
|
|
<a class="nav-link" href="{{ route('login') }}"> |
|
|
|
|
@icon(fa-sign-in pr-1) |
|
|
|
|
{{ __('Login') }} |
|
|
|
|
</a> |
|
|
|
|
|
|
|
|
|
@if(config('app.allow_regs')) |
|
|
|
|
<li class="nav-item"> |
|
|
|
|
<a class="nav-link" href="{{ route('register') }}"> |
|
|
|
|
@icon(fa-user-plus pr-1) |
|
|
|
|
{{ __('Register') }} |
|
|
|
|
</a> |
|
|
|
|
@endif |
|
|
|
|
|
|
|
|
|
@include('layouts.guest-buttons') |
|
|
|
|
@else |
|
|
|
|
{{-- Logged in --}} |
|
|
|
|
@include('layouts.nav-buttons', ['dropdown' => false]) |
|
|
|
|
|
|
|
|
|
<li class="nav-item dropdown mobile-only"> |
|
|
|
|
<li class="nav-item dropdown no-mobile"> |
|
|
|
|
<a id="mainNavDropdown" class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" |
|
|
|
|
aria-haspopup="true" aria-expanded="false" v-pre> |
|
|
|
|
@icon(fa-user-circle-o fa-pr){{-- |
|
|
|
@ -54,5 +41,15 @@ |
|
|
|
|
@endif |
|
|
|
|
</ul> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<noscript> |
|
|
|
|
<ul class="navbar-nav ml-auto"> |
|
|
|
|
@guest |
|
|
|
|
@include('layouts.guest-buttons') |
|
|
|
|
@else |
|
|
|
|
@include('layouts.nav-buttons', ['dropdown' => false, 'noscript' => true]) |
|
|
|
|
@endif |
|
|
|
|
</ul> |
|
|
|
|
</noscript> |
|
|
|
|
</div> |
|
|
|
|
</nav> |
|
|
|
|