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