header.blade.php 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <!-- Main navbar -->
  2. <style type="text/css">
  3. .logo{
  4. color: #ffffff !important;
  5. margin: 0px 0px 0px 30px;
  6. }
  7. </style>
  8. <div class="navbar navbar-expand-md navbar-dark bg-indigo navbar-static">
  9. <div class="navbar-brand">
  10. <a href="{{url('/admin')}}" class="d-inline-block">
  11. {{-- <img src="{{ asset('/assets/global/images/logo_light.png')}}" alt=""> --}}
  12. <h3 class="logo"><i class="icon-folder-search mr-1"></i>CourseFINDER</h3>
  13. </a>
  14. </div>
  15. <div class="d-md-none">
  16. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-mobile">
  17. <i class="icon-tree5"></i>
  18. </button>
  19. <button class="navbar-toggler sidebar-mobile-main-toggle" type="button">
  20. <i class="icon-paragraph-justify3"></i>
  21. </button>
  22. </div>
  23. <div class="collapse navbar-collapse" id="navbar-mobile">
  24. <ul class="navbar-nav">
  25. <li class="nav-item">
  26. <a href="#" class="navbar-nav-link sidebar-control sidebar-main-toggle d-none d-md-block">
  27. <i class="icon-paragraph-justify3"></i>
  28. </a>
  29. </li>
  30. </ul>
  31. <ul class="navbar-nav ml-md-auto">
  32. <li class="nav-item">
  33. <a href="{{ url('/admin/logout') }}" class="navbar-nav-link"
  34. onclick="event.preventDefault();
  35. document.getElementById('logout-form').submit();">
  36. <i class="icon-switch2"></i>
  37. <span class="d-md-none ml-2">Logout</span>
  38. </a>
  39. <form id="logout-form" action="{{ url('/admin/logout') }}" method="POST" style="display: none;">
  40. {{ csrf_field() }}
  41. </form>
  42. </li>
  43. </ul>
  44. </div>
  45. </div>
  46. <!-- /main navbar -->