Ver Fonte

Topnav cleanup

Vijayakrishnan há 4 anos atrás
pai
commit
b41219d17b
1 ficheiros alterados com 9 adições e 7 exclusões
  1. 9 7
      resources/views/layouts/template.blade.php

+ 9 - 7
resources/views/layouts/template.blade.php

@@ -87,7 +87,7 @@
                 </div>
             </div>
             <div class="d-flex align-items-center">
-                <p class="text-white my-0 small">Hello, <b title="Cell# {{$pro->cell_number}}">{{ $pro->name_first }}!</b></p>
+                <p class="text-white my-0 small">Hi, <b title="Cell# {{$pro->cell_number}}">{{ $pro->name_first }}!</b></p>
                 <a native target="_top" href="{{ config('stag.authUrl') }}/logout" class="small text-white ml-2">
                     <i class="fas fa-sign-out-alt"></i>
                     Log Out
@@ -95,25 +95,25 @@
             </div>
 
             @if($pro->pro_type == 'ADMIN')
-            <div class="ml-2 d-inline-block">|</div>
+            <div class="ml-1 d-inline-block text-secondary">|</div>
             <div class="d-flex align-items-center">
-                <a href="{{route('log-in-as')}}" class="small text-white ml-2">Log In As</a>
+                <a href="{{route('log-in-as')}}" class="small text-white ml-1">Log In As</a>
             </div>
             @endif
 
             @if($performer->logged_in_as_pro_from_admin_pro_app_session_id)
-            <div class="ml-2 d-inline-block">|</div>
+            <div class="ml-1 d-inline-block text-secondary">|</div>
             <form action="{{route('back-to-admin-pro')}}" method="post" target="_top">
                 @csrf
-                <button class="small text-white ml-2">
+                <button class="small text-white ml-1">
                     <span class="small"></span>Admin
                 </button>
             </form>
             @endif
 
             @if($pro->pro_type == 'ADMIN')
-            <div class="ml-2 d-inline-block">|</div>
-            <a native target="_top" class="small text-white ml-2" href="{{env('ADMIN_PORTAL_URL', 'https://fe.scholar.securecpu.com')}}/pro_log_in_with_session_key/{{$performer->session_key}}" title="">
+            <div class="ml-1 d-inline-block text-secondary">|</div>
+            <a native target="_top" class="small text-white ml-1" href="{{env('ADMIN_PORTAL_URL', 'https://fe.scholar.securecpu.com')}}/pro_log_in_with_session_key/{{$performer->session_key}}" title="">
                 Admin
             </a>
             @endif
@@ -293,6 +293,8 @@
         })();
     </script>
 
+    {{-- if pro is working on a client and is not in tht client --}}
+
 </body>
 
 </html>