master.blade.php 3.6 KB

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