header.blade.php 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <header id="topnav" class="defaultscroll sticky">
  2. <div class="container">
  3. <!-- Logo container-->
  4. <div class="col-md-12">
  5. <div class="row">
  6. <div class="col md-4 mt-1" style="margin-left: 10px;">
  7. <a class="logo" href="index.html">
  8. <h3 style="font-family:Ubuntu !important;">Research Admission</h3>
  9. </a>
  10. </div>
  11. <div class="col md-6">
  12. <div class="mt-4 pt-1" style="display:flex; justify-content: end;">
  13. <!-- <i class="fa fa-user me-2" style="color:black !important; font-size: 13px; height: 25px; padding: 3.5px 5.9px; border: 2px solid black; border-radius: 100%;"></i> -->
  14. <p style="color:black; font-weight:600 !important; text-transform: capitalize;">Hello, {{ Auth::user()->first_name }} {{ Auth::user()->last_name }}</p>
  15. <ul class="nav navbar-nav align-items-center ml-auto header_right ps-2">
  16. <li class="nav-item dropdown dropdown-notification">
  17. <div class="dropdown tooltips click_for_notification_list_popup" style="float: right; margin-top: 0px;" title="Notifications" id="notification_part">
  18. <a href="javascript:void(0)">
  19. <i class="fa fa-bell btn1" style="padding: 8px 9px; font-size: 13px; margin-top: -2px;"></i>
  20. @if(count($unreadnotifications) > 0)
  21. <span style="position: absolute; background: #dc3545;border-radius: 50%; margin-left: -15px; margin-top: -8px; color: #fff; font-size: 8.5px;font-family: cursive; width: 15px; height: 15px; text-align-last: center;"><span style="top: 1px; position: relative;">{{ count($unreadnotifications) }}</span></span>
  22. @endif
  23. </a>
  24. </div>
  25. </li>
  26. </ul>
  27. <ul class="nav navbar-nav align-items-center ml-auto header_right ps-2">
  28. <li class="nav-item dropdown dropdown-notification">
  29. <a href="{{ url('std-logout') }}"
  30. onclick="event.preventDefault();
  31. document.getElementById('logout-form').submit();">
  32. <button class="btn btn2">Log Out</button>
  33. </a>
  34. <form id="logout-form" action="{{ url('std-logout') }}" method="POST" class="d-none">
  35. @csrf
  36. </form>
  37. </li>
  38. </ul>
  39. </div>
  40. <!-- End Logo container-->
  41. </div>
  42. </div>
  43. </div>
  44. </div>
  45. <div style="border-top: 1px solid #d2d2d2; border-bottom: 1px solid #d2d2d2; background-color: #463993;">
  46. <div class="container">
  47. <div id="navigation" >
  48. <!-- Navigation Menu-->
  49. <ul class="navigation-menu" style="margin-top: 15px; margin-bottom: -14px; ">
  50. <li><a href="{{ url('/home') }}" class="sub-menu-item {{ active(url('/home')) }}" style="margin-top: -2rem;">Home</a></li>
  51. <li class="has-submenu parent-parent-menu-item">
  52. <a href="{{ url('application') }}" class="sub-menu-item" style="margin-top: -2rem;">Application</a>
  53. </li>
  54. <li class="has-submenu parent-parent-menu-item">
  55. <a href="{{ url('profile') }}" class="sub-menu-item {{active(url('profile'))}}" style="margin-top: -2rem;">Profile & Proposal</a>
  56. </li>
  57. <li class="has-submenu parent-parent-menu-item">
  58. <a href="{{ url('explore') }}" class="sub-menu-item {{active(url('explore'))}}" style="margin-top: -2rem;">Explore</a>
  59. </li>
  60. </ul><!--end navigation menu-->
  61. </div><!--end navigation-->
  62. </div><!--end container-->
  63. </div>
  64. @include('application.layouts.notification_list_popup')
  65. </header>