nav-bar-form-component.blade.php_230123 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <ul class="navbar-nav align-items-center d-flex flex-column flex-md-row">
  2. <li class="mx-0 mr-md-2 mb-2 mb-md-0 w-100 w-md-auto">
  3. <a href="/" target="_blank">{{ $form['FormVars']['Title']['Home'] }}</a>
  4. </li>
  5. <li class="mx-0 mr-md-2 mb-2 mb-md-0 w-100 w-md-auto">
  6. <button type="button" class="btn btn-outline-primary w-100 w-md-auto" onclick="clear_cache()">{{ $form['FormVars']['Title']['ClearCache'] }}</button>
  7. </li>
  8. <li class="mx-0 mr-md-2 mb-2 mb-md-0 nav-item dropdown dropdown-user">
  9. <a href="{{ route('user-logout') }}"><i class="icon-switch2"></i>&nbsp;{{ $form['FormVars']['Title']['Logout'] }}</a>
  10. </li>
  11. <!-- sort 메뉴 -->
  12. <li class="nav_sort mx-0 mr-md-2 mb-2 mb-md-0 nav-item dropdown">
  13. <button type="button" class="btn dropdown-toggle" id="navSortButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  14. <i class="fas fa-th-large text-black"></i>
  15. </button>
  16. <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navSortButton">
  17. <div>
  18. @forelse($sortMenuPage as $sortMenu)
  19. <a class="dropdown-item" href="{{ route('change-sort-menu', $sortMenu['Id']) }}">
  20. <span class="icon" style="background-color: {{ '#' . $sortMenu['C3'] }}">
  21. <i class="{{ $sortMenu['C5'] }}"></i>
  22. </span>
  23. {{ DataConverter::format_func_sort_type('sort_type', $sortMenu['C2']) }}
  24. </a>
  25. @empty
  26. @endforelse
  27. {{-- <a class="dropdown-item" href="#">--}}
  28. {{-- <span class="icon bg-blue"><i class="fas fa-sitemap"></i></span>--}}
  29. {{-- 메뉴1--}}
  30. {{-- </a>--}}
  31. {{-- <a class="dropdown-item" href="#">--}}
  32. {{-- <span class="icon bg-green"><i class="fas fa-layer-group"></i></span>--}}
  33. {{-- 메뉴2-일이삼사오육칠팔--}}
  34. {{-- </a>--}}
  35. {{-- <a class="dropdown-item" href="#">--}}
  36. {{-- <span class="icon bg-warning"><i class="fab fa-sellsy"></i></span>--}}
  37. {{-- 메뉴<br/>--}}
  38. {{-- 일이삼사오육칠팔--}}
  39. {{-- </a>--}}
  40. {{-- <a class="dropdown-item" href="#">--}}
  41. {{-- <span class="icon bg-indigo"><i class="fas fa-sitemap"></i></span>--}}
  42. {{-- 메뉴4--}}
  43. {{-- </a>--}}
  44. {{-- <a class="dropdown-item" href="#">--}}
  45. {{-- <span class="icon bg-pink"><i class="fas fa-layer-group"></i></span>--}}
  46. {{-- 메뉴5--}}
  47. {{-- </a>--}}
  48. {{-- <a class="dropdown-item" href="#">--}}
  49. {{-- <span class="icon bg-yellow"><i class="fab fa-sellsy"></i></span>--}}
  50. {{-- 메뉴6--}}
  51. {{-- </a>--}}
  52. {{-- <a class="dropdown-item" href="#">--}}
  53. {{-- <span class="icon bg-blue"><i class="fas fa-sitemap"></i></span>--}}
  54. {{-- 메뉴7--}}
  55. {{-- </a>--}}
  56. {{-- <a class="dropdown-item" href="#">--}}
  57. {{-- <span class="icon bg-green"><i class="fas fa-layer-group"></i></span>--}}
  58. {{-- 메뉴8 - 메뉴가 추가됩니다.--}}
  59. {{-- </a>--}}
  60. </div>
  61. </div>
  62. </li>
  63. <!--// sort 메뉴 끝 -->
  64. </ul>
  65. @once
  66. @push('js')
  67. <script>
  68. function clear_cache() {
  69. confirm_message_shw_and_delete(function() {
  70. window.location.href = '{{ route('user.clear.cache') }}';
  71. })
  72. }
  73. </script>
  74. @endpush
  75. @endonce