mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-03-10 08:30:13 +01:00
Update admin-bar.blade.php
This commit is contained in:
parent
a340b7b7b0
commit
9d6c4226fa
@ -90,6 +90,14 @@ if(Auth::user()->id !== $userinfo->id){
|
||||
<span class="display-name">admin</span></a></li>
|
||||
<li><a class="ab-item" href="{{ url('/studio/page') }}">Edit My Profile</a></li>
|
||||
<li><a class="ab-item" onclick="submitForm()" style="cursor:pointer">Log Out</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a class="screen-reader-shortcut" onclick="submitForm()" style="cursor:pointer">Log Out</a>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
function submitForm() {
|
||||
document.getElementById('logoutForm').submit();
|
||||
@ -98,13 +106,5 @@ if(Auth::user()->id !== $userinfo->id){
|
||||
<form id="logoutForm" action="{{ route('logout') }}" method="post">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
</form>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a class="screen-reader-shortcut" href="{{ route('logout') }}">Log Out</a>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
Loading…
x
Reference in New Issue
Block a user