|
|
@ -35,7 +35,27 @@ |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
@else |
|
|
|
@else |
|
|
|
<li class="nav-item dropdown"> |
|
|
|
<li class="nav-item ml-1 d-md-none"> |
|
|
|
|
|
|
|
<a class="nav-link" href="{{ route('logout') }}" |
|
|
|
|
|
|
|
onclick="event.preventDefault(); document.getElementById('logout-form').submit();"> |
|
|
|
|
|
|
|
{{-- this is some hack against CSRF - logout only via POST --}} |
|
|
|
|
|
|
|
<i class="fa-sign-out fa-pr"></i>{{ __('Logout') }} |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="nav-item ml-1 d-md-none"> |
|
|
|
|
|
|
|
<a class="nav-link" href="{{ route('user.edit') }}"> |
|
|
|
|
|
|
|
<i class="fa-sliders fa-pr"></i>{{ __('Settings') }} |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="nav-item ml-1 d-md-none"> |
|
|
|
|
|
|
|
<a class="nav-link" href="{{ route('user.manage-oauth') }}"> |
|
|
|
|
|
|
|
<i class="fa-key-modern fa-pr"></i>{{ __('Security') }} |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="nav-item dropdown mobile-only"> |
|
|
|
<a id="mainNavDropdown" class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" |
|
|
|
<a id="mainNavDropdown" class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" |
|
|
|
aria-haspopup="true" aria-expanded="false" v-pre> |
|
|
|
aria-haspopup="true" aria-expanded="false" v-pre> |
|
|
|
<i class="fa-user-circle-o fa-pr"></i>{{-- |
|
|
|
<i class="fa-user-circle-o fa-pr"></i>{{-- |
|
|
@ -43,14 +63,12 @@ |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
|
|
|
|
|
|
|
|
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="mainNavDropdown"> |
|
|
|
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="mainNavDropdown"> |
|
|
|
|
|
|
|
|
|
|
|
<a class="dropdown-item" href="{{ route('logout') }}" |
|
|
|
<a class="dropdown-item" href="{{ route('logout') }}" |
|
|
|
onclick="event.preventDefault(); document.getElementById('logout-form').submit();"> |
|
|
|
onclick="event.preventDefault(); document.getElementById('logout-form').submit();"> |
|
|
|
{{-- this is some hack against CSRF - logout only via POST --}} |
|
|
|
{{-- this is some hack against CSRF - logout only via POST --}} |
|
|
|
<i class="fa-sign-out fa-pr"></i>{{ __('Logout') }} |
|
|
|
<i class="fa-sign-out fa-pr"></i>{{ __('Logout') }} |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;"> |
|
|
|
|
|
|
|
@csrf |
|
|
|
|
|
|
|
</form> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a class="dropdown-item" href="{{ route('user.edit') }}"> |
|
|
|
<a class="dropdown-item" href="{{ route('user.edit') }}"> |
|
|
|
<i class="fa-sliders fa-pr"></i>{{ __('Settings') }} |
|
|
|
<i class="fa-sliders fa-pr"></i>{{ __('Settings') }} |
|
|
@ -59,7 +77,12 @@ |
|
|
|
<a class="dropdown-item" href="{{ route('user.manage-oauth') }}"> |
|
|
|
<a class="dropdown-item" href="{{ route('user.manage-oauth') }}"> |
|
|
|
<i class="fa-key-modern fa-pr"></i>{{ __('Security') }} |
|
|
|
<i class="fa-key-modern fa-pr"></i>{{ __('Security') }} |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;"> |
|
|
|
|
|
|
|
@csrf |
|
|
|
|
|
|
|
</form> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
@endif |
|
|
|
@endif |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|