master.blade.php 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6. <meta name="csrf-token" content="{{ csrf_token() }}">
  7. @stack('meta')
  8. <title>@yield('title', env('APP_NAME'))</title>
  9. <link rel="icon" href="{{ msset(env('FAVICON_PATH')) }}">
  10. @include('partial.site.meta')
  11. <link href="{{ csset('/css/common.css', '220901') }}" rel="stylesheet" type="text/css">
  12. <link href="{{ csset('/css/custom.css') }}" rel="stylesheet" type="text/css">
  13. @include('partial.site.scripts')
  14. @yield('css')
  15. @stack('css')
  16. </head>
  17. <body>
  18. <!-- Main navbar -->
  19. @empty (request('popup'))
  20. @include('layouts.navbar')
  21. @endempty
  22. <!-- /main navbar -->
  23. <!-- Page content -->
  24. <div class="page-content">
  25. @empty($isDbupdate)
  26. <!-- Main sidebar -->
  27. @include('layouts.left-sidebar')
  28. <!-- /main sidebar -->
  29. @endempty
  30. <!-- Main content -->
  31. <div class="content-wrapper">
  32. @include('layouts.js-lang')
  33. <div class="content-inner">
  34. @include('vendor.lara-izitoast.toast')
  35. <div class="pace-demo text-center position-absolute top-50 left-50 ml-2" hidden style="z-index: 9999" id="pace-progress-panel">
  36. <div class="theme_squares">
  37. <div class="pace-progress"></div>
  38. <div class="pace_activity"></div>
  39. </div>
  40. </div>
  41. <div class="p-5 flex-column text-center position-absolute top-50 left-50 justify-content-center align-items-center"
  42. id="spinner-processing"
  43. style="z-index: 9999; display: none;">
  44. <div class="spinner-border text-success" role="status">
  45. <span class="sr-only">Processing...</span>
  46. </div>
  47. <div class="small pt-2 text-success">Processing…</div>
  48. </div>
  49. <!-- Inner content -->
  50. @if (session('error'))
  51. <div class="alert alert-danger alert-dismissible fade show" role="alert">
  52. <strong>{{ session('error') }}</strong>
  53. <button type="button" class="close" data-dismiss="alert" aria-label="Close">
  54. <span aria-hidden="true">&times;</span>
  55. </button>
  56. </div>
  57. @endif
  58. <!-- Content area -->
  59. <div class="content" id="app">
  60. @yield('content')
  61. </div>
  62. <!-- /content area -->
  63. <!-- /inner content -->
  64. <!-- Footer -->
  65. @include('layouts.footer')
  66. <!-- /footer -->
  67. </div>
  68. </div>
  69. <!-- /main content -->
  70. @empty($isDbupdate)
  71. <!-- Right sidebar -->
  72. @include('layouts.right-sidebar')
  73. <!-- /right sidebar -->
  74. @endempty
  75. <div id="element_in_which_to_insert">
  76. @yield('modal')
  77. @stack('modal')
  78. </div>
  79. </div>
  80. <!-- 모달 -->
  81. <script src="{{ csset('/js/modals-controller/modal.js') }}"></script> <!-- moadl All -->
  82. <!-- 절대 지우지 마세요 -->
  83. {{--<iframe name="ifrm" style="display: none"></iframe>--}}
  84. <!-- /page content -->
  85. <script src="{{ csset('/js/setup.js') }}"></script>
  86. <script>
  87. window.env = (@json($_ENV));
  88. window.User = @json(session('user'));
  89. window.CodeTitle = @json($codeTitle ?? '');
  90. window.MainAppName = @json($mainAppName ?? null);
  91. window.GuestAppName = @json($guestAppName ?? null);
  92. </script>
  93. @yield('js')
  94. @stack('js')
  95. </body>
  96. </html>