暫無描述
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.

sidebar.blade.php 7.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. <nav class="navbar navbar-vertical fixed-left navbar-expand-md navbar-light bg-white" id="sidenav-main">
  2. <div class="container-fluid">
  3. <!-- Toggler -->
  4. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#sidenav-collapse-main" aria-controls="sidenav-main" aria-expanded="false" aria-label="Toggle navigation">
  5. <span class="navbar-toggler-icon"></span>
  6. </button>
  7. <!-- Brand -->
  8. <a class="navbar-brand pt-0" href="{{ route('home') }}">
  9. <img src="{{ asset('argon') }}/img/brand/blue.png" class="navbar-brand-img" alt="...">
  10. </a>
  11. <!-- User -->
  12. <ul class="nav align-items-center d-md-none">
  13. <li class="nav-item dropdown">
  14. <a class="nav-link" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  15. <div class="media align-items-center">
  16. <span class="avatar avatar-sm rounded-circle">
  17. <img alt="Image placeholder" src="{{ asset('argon') }}/img/theme/team-1-800x800.jpg">
  18. </span>
  19. </div>
  20. </a>
  21. <div class="dropdown-menu dropdown-menu-arrow dropdown-menu-right">
  22. <div class=" dropdown-header noti-title">
  23. <h6 class="text-overflow m-0">{{ __('Welcome!') }}</h6>
  24. </div>
  25. <a href="{{ route('profile.edit') }}" class="dropdown-item">
  26. <i class="ni ni-single-02"></i>
  27. <span>{{ __('My profile') }}</span>
  28. </a>
  29. <a href="#" class="dropdown-item">
  30. <i class="ni ni-settings-gear-65"></i>
  31. <span>{{ __('Settings') }}</span>
  32. </a>
  33. <a href="#" class="dropdown-item">
  34. <i class="ni ni-calendar-grid-58"></i>
  35. <span>{{ __('Activity') }}</span>
  36. </a>
  37. <a href="#" class="dropdown-item">
  38. <i class="ni ni-support-16"></i>
  39. <span>{{ __('Support') }}</span>
  40. </a>
  41. <div class="dropdown-divider"></div>
  42. <a href="{{ route('logout') }}" class="dropdown-item" onclick="event.preventDefault();
  43. document.getElementById('logout-form').submit();">
  44. <i class="ni ni-user-run"></i>
  45. <span>{{ __('Logout') }}</span>
  46. </a>
  47. </div>
  48. </li>
  49. </ul>
  50. <!-- Collapse -->
  51. <div class="collapse navbar-collapse" id="sidenav-collapse-main">
  52. <!-- Collapse header -->
  53. <div class="navbar-collapse-header d-md-none">
  54. <div class="row">
  55. <div class="col-6 collapse-brand">
  56. <a href="{{ route('home') }}">
  57. <img src="{{ asset('argon') }}/img/brand/blue.png">
  58. </a>
  59. </div>
  60. <div class="col-6 collapse-close">
  61. <button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#sidenav-collapse-main" aria-controls="sidenav-main" aria-expanded="false" aria-label="Toggle sidenav">
  62. <span></span>
  63. <span></span>
  64. </button>
  65. </div>
  66. </div>
  67. </div>
  68. <!-- Form -->
  69. <form class="mt-4 mb-3 d-md-none">
  70. <div class="input-group input-group-rounded input-group-merge">
  71. <input type="search" class="form-control form-control-rounded form-control-prepended" placeholder="{{ __('Search') }}" aria-label="Search">
  72. <div class="input-group-prepend">
  73. <div class="input-group-text">
  74. <span class="fa fa-search"></span>
  75. </div>
  76. </div>
  77. </div>
  78. </form>
  79. <!-- Navigation -->
  80. <ul class="navbar-nav">
  81. <li class="nav-item">
  82. <a class="nav-link" href="{{ route('home') }}">
  83. <i class="ni ni-tv-2 text-primary"></i> {{ __('Dashboard') }}
  84. </a>
  85. </li>
  86. <li class="nav-item">
  87. <a class="nav-link active" href="#navbar-examples" data-toggle="collapse" role="button" aria-expanded="true" aria-controls="navbar-examples">
  88. <i class="fab fa-laravel" style="color: #f4645f;"></i>
  89. <span class="nav-link-text" style="color: #f4645f;">{{ __('Laravel Examples') }}</span>
  90. </a>
  91. <div class="collapse show" id="navbar-examples">
  92. <ul class="nav nav-sm flex-column">
  93. <li class="nav-item">
  94. <a class="nav-link" href="{{ route('profile.edit') }}">
  95. {{ __('User profile') }}
  96. </a>
  97. </li>
  98. <li class="nav-item">
  99. <a class="nav-link" href="{{ route('user.index') }}">
  100. {{ __('User Management') }}
  101. </a>
  102. </li>
  103. </ul>
  104. </div>
  105. </li>
  106. <li class="nav-item">
  107. <a class="nav-link" href="#">
  108. <i class="ni ni-planet text-blue"></i> {{ __('Icons') }}
  109. </a>
  110. </li>
  111. <li class="nav-item">
  112. <a class="nav-link" href="#">
  113. <i class="ni ni-pin-3 text-orange"></i> {{ __('Maps') }}
  114. </a>
  115. </li>
  116. <li class="nav-item">
  117. <a class="nav-link" href="#">
  118. <i class="ni ni-key-25 text-info"></i> {{ __('Login') }}
  119. </a>
  120. </li>
  121. <li class="nav-item">
  122. <a class="nav-link" href="#">
  123. <i class="ni ni-circle-08 text-pink"></i> {{ __('Register') }}
  124. </a>
  125. </li>
  126. <li class="nav-item mb-5" style="position: absolute; bottom: 0;">
  127. <a class="nav-link" href="https://www.creative-tim.com/product/argon-dashboard-pro-laravel" target="_blank">
  128. <i class="ni ni-cloud-download-95"></i> Upgrade to PRO
  129. </a>
  130. </li>
  131. </ul>
  132. <!-- Divider -->
  133. <hr class="my-3">
  134. <!-- Heading -->
  135. <h6 class="navbar-heading text-muted">Documentation</h6>
  136. <!-- Navigation -->
  137. <ul class="navbar-nav mb-md-3">
  138. <li class="nav-item">
  139. <a class="nav-link" href="https://demos.creative-tim.com/argon-dashboard/docs/getting-started/overview.html">
  140. <i class="ni ni-spaceship"></i> Getting started
  141. </a>
  142. </li>
  143. <li class="nav-item">
  144. <a class="nav-link" href="https://demos.creative-tim.com/argon-dashboard/docs/foundation/colors.html">
  145. <i class="ni ni-palette"></i> Foundation
  146. </a>
  147. </li>
  148. <li class="nav-item">
  149. <a class="nav-link" href="https://demos.creative-tim.com/argon-dashboard/docs/components/alerts.html">
  150. <i class="ni ni-ui-04"></i> Components
  151. </a>
  152. </li>
  153. </ul>
  154. </div>
  155. </div>
  156. </nav>