Sin descripción
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

auth.blade.php 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <!-- Top navbar -->
  2. <nav class="navbar navbar-top navbar-expand-md navbar-dark" id="navbar-main">
  3. <div class="container-fluid">
  4. <!-- Brand -->
  5. <a class="h4 mb-0 text-white text-uppercase d-none d-lg-inline-block" href="{{ route('home') }}">{{ __('Dashboard') }}</a>
  6. <!-- Form -->
  7. <form class="navbar-search navbar-search-dark form-inline mr-3 d-none d-md-flex ml-lg-auto">
  8. <div class="form-group mb-0">
  9. <div class="input-group input-group-alternative">
  10. <div class="input-group-prepend">
  11. <span class="input-group-text"><i class="fas fa-search"></i></span>
  12. </div>
  13. <input class="form-control" placeholder="Search" type="text">
  14. </div>
  15. </div>
  16. </form>
  17. <!-- User -->
  18. <ul class="navbar-nav align-items-center d-none d-md-flex">
  19. <li class="nav-item dropdown">
  20. <a class="nav-link pr-0" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  21. <div class="media align-items-center">
  22. <span class="avatar avatar-sm rounded-circle">
  23. <img alt="Image placeholder" src="{{ asset('argon') }}/img/theme/team-4-800x800.jpg">
  24. </span>
  25. <div class="media-body ml-2 d-none d-lg-block">
  26. <span class="mb-0 text-sm font-weight-bold">{{ auth()->user()->name }}</span>
  27. </div>
  28. </div>
  29. </a>
  30. <div class="dropdown-menu dropdown-menu-arrow dropdown-menu-right">
  31. <div class=" dropdown-header noti-title">
  32. <h6 class="text-overflow m-0">{{ __('Welcome!') }}</h6>
  33. </div>
  34. <a href="{{ route('profile.edit') }}" class="dropdown-item">
  35. <i class="ni ni-single-02"></i>
  36. <span>{{ __('My profile') }}</span>
  37. </a>
  38. <a href="#" class="dropdown-item">
  39. <i class="ni ni-settings-gear-65"></i>
  40. <span>{{ __('Settings') }}</span>
  41. </a>
  42. <a href="#" class="dropdown-item">
  43. <i class="ni ni-calendar-grid-58"></i>
  44. <span>{{ __('Activity') }}</span>
  45. </a>
  46. <a href="#" class="dropdown-item">
  47. <i class="ni ni-support-16"></i>
  48. <span>{{ __('Support') }}</span>
  49. </a>
  50. <div class="dropdown-divider"></div>
  51. <a href="{{ route('logout') }}" class="dropdown-item" onclick="event.preventDefault();
  52. document.getElementById('logout-form').submit();">
  53. <i class="ni ni-user-run"></i>
  54. <span>{{ __('Logout') }}</span>
  55. </a>
  56. </div>
  57. </li>
  58. </ul>
  59. </div>
  60. </nav>