cd83b93f1052acbc12c2b3e833c34b8b12ba3f52.php 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <!-- Main Header -->
  2. <header class="main-header" style="<?php if(\Illuminate\Support\Facades\Redis::EXISTS("RemoteSso:".$_SERVER['HTTP_HOST'].":".Admin::user()->id)): ?> display: none; <?php endif; ?>">
  3. <!-- Logo -->
  4. <a href="<?php echo e(admin_url('/'), false); ?>" class="logo">
  5. <!-- mini logo for sidebar mini 50x50 pixels -->
  6. <span class="logo-mini"><?php echo config('admin.logo-mini', config('admin.name')); ?></span>
  7. <!-- logo for regular state and mobile devices -->
  8. <span class="logo-lg"><?php echo config('admin.logo', config('admin.name')); ?></span>
  9. </a>
  10. <!-- Header Navbar -->
  11. <nav class="navbar navbar-static-top" role="navigation">
  12. <!-- Sidebar toggle button-->
  13. <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
  14. <span class="sr-only">Toggle navigation</span>
  15. </a>
  16. <ul class="nav navbar-nav hidden-sm visible-lg-block">
  17. <?php echo Admin::getNavbar()->render('left'); ?>
  18. </ul>
  19. <!-- Navbar Right Menu -->
  20. <div class="navbar-custom-menu">
  21. <ul class="nav navbar-nav">
  22. <?php echo Admin::getNavbar()->render(); ?>
  23. <!-- User Account Menu -->
  24. <li class="dropdown user user-menu">
  25. <!-- Menu Toggle Button -->
  26. <a href="#" class="dropdown-toggle" data-toggle="dropdown">
  27. <!-- The user image in the navbar-->
  28. <img src="<?php echo e(Admin::user()->avatar, false); ?>" class="user-image" alt="User Image">
  29. <!-- hidden-xs hides the username on small devices so only the image appears. -->
  30. <span class="hidden-xs"><?php echo e(Admin::user()->name, false); ?></span>
  31. </a>
  32. <ul class="dropdown-menu">
  33. <!-- The user image in the menu -->
  34. <li class="user-header">
  35. <img src="<?php echo e(Admin::user()->avatar, false); ?>" class="img-circle" alt="User Image">
  36. <p>
  37. <?php echo e(Admin::user()->name, false); ?>
  38. <small>Member since admin <?php echo e(Admin::user()->created_at, false); ?></small>
  39. </p>
  40. </li>
  41. <li class="user-footer">
  42. <div class="pull-left">
  43. <a href="<?php echo e(admin_url('auth/setting'), false); ?>" class="btn btn-default btn-flat"><?php echo e(trans('admin.setting'), false); ?></a>
  44. </div>
  45. <div class="pull-right">
  46. <a href="<?php echo e(admin_url('auth/logout'), false); ?>" class="btn btn-default btn-flat"><?php echo e(trans('admin.logout'), false); ?></a>
  47. </div>
  48. </li>
  49. </ul>
  50. </li>
  51. <!-- Control Sidebar Toggle Button -->
  52. </ul>
  53. </div>
  54. </nav>
  55. </header>
  56. <?php /**PATH C:\phpstudy_pro\WWW\cydsyy-api\vendor\encore\laravel-admin\src/../resources/views/partials/header.blade.php ENDPATH**/ ?>