|
@@ -86,38 +86,33 @@
|
|
</div>
|
|
</div>
|
|
<div class="d-flex align-items-center">
|
|
<div class="d-flex align-items-center">
|
|
<p class="text-white my-0 mr-2 small">Hello, <b title="Cell# {{$pro->cell_number}}">{{ $pro->name_first }}!</b></p>
|
|
<p class="text-white my-0 mr-2 small">Hello, <b title="Cell# {{$pro->cell_number}}">{{ $pro->name_first }}!</b></p>
|
|
- <form action="{{ route('logout') }}" method="post" target="_top">
|
|
|
|
- @csrf
|
|
|
|
- <button class="btn btn-sm btn-link text-light">
|
|
|
|
- <i class="fas fa-sign-out-alt"></i>
|
|
|
|
- <span class="small"></span>Log Out
|
|
|
|
- </button>
|
|
|
|
- </form>
|
|
|
|
|
|
+ <a native target="_top" href="{{ env('AUTH_URL') }}/logout" class="btn btn-sm btn-link text-light">
|
|
|
|
+ <i class="fas fa-sign-out-alt"></i>
|
|
|
|
+ Log Out
|
|
|
|
+ </a>
|
|
</div>
|
|
</div>
|
|
@if($pro->pro_type == 'ADMIN')
|
|
@if($pro->pro_type == 'ADMIN')
|
|
<div class="mr-2 d-inline-block">|</div>
|
|
<div class="mr-2 d-inline-block">|</div>
|
|
<div class="d-flex align-items-center">
|
|
<div class="d-flex align-items-center">
|
|
- <a href="{{route('log-in-as')}}" class="text-white">Log In As</a>
|
|
|
|
|
|
+ <a href="{{route('log-in-as')}}" class="btn btn-sm btn-link text-light p-0">Log In As</a>
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endif
|
|
|
|
|
|
@if($performer->logged_in_as_pro_from_admin_pro_app_session_id)
|
|
@if($performer->logged_in_as_pro_from_admin_pro_app_session_id)
|
|
|
|
+ <div class="mx-2 d-inline-block">|</div>
|
|
<form action="{{route('back-to-admin-pro')}}" method="post" target="_top">
|
|
<form action="{{route('back-to-admin-pro')}}" method="post" target="_top">
|
|
@csrf
|
|
@csrf
|
|
- <button class="btn btn-sm btn-link text-light">
|
|
|
|
- <i class="fas fa-sign-out-alt"></i>
|
|
|
|
|
|
+ <button class="btn btn-sm btn-link text-light p-0">
|
|
<span class="small"></span>Back to Admin
|
|
<span class="small"></span>Back to Admin
|
|
</button>
|
|
</button>
|
|
</form>
|
|
</form>
|
|
@endif
|
|
@endif
|
|
|
|
|
|
@if($pro->pro_type == 'ADMIN')
|
|
@if($pro->pro_type == 'ADMIN')
|
|
- <div class="ml-2 d-inline-block">|</div>
|
|
|
|
- <div class="ml-2 ">
|
|
|
|
- <a native target="_top" class="text-light" href="{{env('ADMIN_PORTAL_URL', 'https://pro.securecpu.com')}}/pro_log_in_with_session_key/{{$performer->session_key}}" title="">
|
|
|
|
- Go to Admin Portal
|
|
|
|
- </a>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="mx-2 d-inline-block">|</div>
|
|
|
|
+ <a native target="_top" class="btn btn-sm btn-link text-light p-0" href="{{env('ADMIN_PORTAL_URL', 'https://pro.securecpu.com')}}/pro_log_in_with_session_key/{{$performer->session_key}}" title="">
|
|
|
|
+ Admin Portal
|
|
|
|
+ </a>
|
|
@endif
|
|
@endif
|
|
|
|
|
|
</div>
|
|
</div>
|
|
@@ -295,4 +290,4 @@
|
|
|
|
|
|
</body>
|
|
</body>
|
|
|
|
|
|
-</html>
|
|
|
|
|
|
+</html>
|