navbar.blade.php 5.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <header class="app-header">
  2. <a class="app-header__logo" href="{{ url('/') }}">{{ config('app.name', 'Laravel') }}</a>
  3. <!-- Sidebar toggle button-->
  4. <a class="app-sidebar__toggle" href="#" data-toggle="sidebar" aria-label="Hide Sidebar"></a>
  5. <!-- Navbar Right Menu-->
  6. <ul class="app-nav">
  7. <li class="app-search">
  8. <input class="form-control app-search__input style-bg-search" type="search" placeholder="جستجو">
  9. <button class="app-search__button"><i class="fa fa-search"></i></button>
  10. </li>
  11. <!--Notification Menu-->
  12. <li class="dropdown"><a class="app-nav__item" href="#" data-toggle="dropdown" aria-label="Show notifications"><i class="fa fa-bell-o fa-lg"></i></a>
  13. <ul class="app-notification dropdown-menu dropdown-menu-right" style="text-align: right;">
  14. <li class="app-notification__title">You have 4 new notifications.</li>
  15. <div class="app-notification__content">
  16. <li><a class="app-notification__item" href="javascript:;"><span class="app-notification__icon"><span class="fa-stack fa-lg"><i class="fa fa-circle fa-stack-2x text-primary"></i><i class="fa fa-envelope fa-stack-1x fa-inverse"></i></span></span>
  17. <div>
  18. <p class="app-notification__message">Lisa sent you a mail</p>
  19. <p class="app-notification__meta">2 min ago</p>
  20. </div></a></li>
  21. <li><a class="app-notification__item" href="javascript:;"><span class="app-notification__icon"><span class="fa-stack fa-lg"><i class="fa fa-circle fa-stack-2x text-danger"></i><i class="fa fa-hdd-o fa-stack-1x fa-inverse"></i></span></span>
  22. <div>
  23. <p class="app-notification__message">Mail server not working</p>
  24. <p class="app-notification__meta">5 min ago</p>
  25. </div></a></li>
  26. <li><a class="app-notification__item" href="javascript:;"><span class="app-notification__icon"><span class="fa-stack fa-lg"><i class="fa fa-circle fa-stack-2x text-success"></i><i class="fa fa-money fa-stack-1x fa-inverse"></i></span></span>
  27. <div>
  28. <p class="app-notification__message">Transaction complete</p>
  29. <p class="app-notification__meta">2 days ago</p>
  30. </div></a></li>
  31. <div class="app-notification__content">
  32. <li><a class="app-notification__item" href="javascript:;"><span class="app-notification__icon"><span class="fa-stack fa-lg"><i class="fa fa-circle fa-stack-2x text-primary"></i><i class="fa fa-envelope fa-stack-1x fa-inverse"></i></span></span>
  33. <div>
  34. <p class="app-notification__message">Lisa sent you a mail</p>
  35. <p class="app-notification__meta">2 min ago</p>
  36. </div></a></li>
  37. <li><a class="app-notification__item" href="javascript:;"><span class="app-notification__icon"><span class="fa-stack fa-lg"><i class="fa fa-circle fa-stack-2x text-danger"></i><i class="fa fa-hdd-o fa-stack-1x fa-inverse"></i></span></span>
  38. <div>
  39. <p class="app-notification__message">Mail server not working</p>
  40. <p class="app-notification__meta">5 min ago</p>
  41. </div></a></li>
  42. <li><a class="app-notification__item" href="javascript:;"><span class="app-notification__icon"><span class="fa-stack fa-lg"><i class="fa fa-circle fa-stack-2x text-success"></i><i class="fa fa-money fa-stack-1x fa-inverse"></i></span></span>
  43. <div>
  44. <p class="app-notification__message">Transaction complete</p>
  45. <p class="app-notification__meta">2 days ago</p>
  46. </div></a></li>
  47. </div>
  48. </div>
  49. <li class="app-notification__footer"><a href="#">See all notifications.</a></li>
  50. </ul>
  51. </li>
  52. <!-- User Menu-->
  53. <li class="dropdown">
  54. <a class="app-nav__item" href="#" data-toggle="dropdown" aria-label="Open Profile Menu"><i class="fa fa-user fa-lg"></i></a>
  55. <ul class="dropdown-menu settings-menu dropdown-menu-right" style="text-align: right;">
  56. <li><a class="dropdown-item" href="#"><i class="fa fa-cog fa-lg mr-2"></i>تنظیمات</a></li>
  57. <li><a class="dropdown-item" href="{{ route('account.edit', auth()->user()) }}"><i class="fa fa-user fa-lg mr-2"></i>حساب‌کاربری</a></li>
  58. <li>
  59. <a class="dropdown-item" href="{{ route('logout') }}"
  60. onclick="event.preventDefault();document.getElementById('logout-form').submit();">
  61. <i class="fa fa-sign-out fa-lg mr-2"></i>{{ __('خروج') }}
  62. </a>
  63. <form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
  64. @csrf
  65. </form>
  66. </li>
  67. </ul>
  68. </li>
  69. </ul>
  70. </header>