update
This commit is contained in:
@@ -15,11 +15,8 @@
|
||||
|
||||
<title>Thế Giới Số Admin | Service Management Portal</title>
|
||||
|
||||
<!-- color-modes:js -->
|
||||
@vite(['resources/js/pages/color-modes.js'])
|
||||
|
||||
<script>
|
||||
(function () {
|
||||
(function () {
|
||||
const theme = localStorage.getItem('theme') || (window.matchMedia('(prefers-color-scheme: dark)').matches ?
|
||||
'dark' : 'light');
|
||||
document.documentElement.setAttribute('data-bs-theme', theme);
|
||||
@@ -36,17 +33,14 @@
|
||||
<link rel="shortcut icon" href="{{ asset('/favicon.ico') }}">
|
||||
|
||||
<!-- plugin css -->
|
||||
<link href="{{ asset('build/plugins/perfect-scrollbar/perfect-scrollbar.css') }}" rel="stylesheet" />
|
||||
@foreach (config('assets.static.css') as $css)
|
||||
<link href="{{ asset($css) }}" rel="stylesheet" />
|
||||
@endforeach
|
||||
|
||||
@stack('plugin-styles')
|
||||
|
||||
<!-- CSS for LTR layout-->
|
||||
@vite(['resources/sass/app.scss'])
|
||||
|
||||
<!-- Global Modal CSS -->
|
||||
@vite(['resources/css/components/micromodal.css'])
|
||||
|
||||
<!-- CSS for RTL layout-->
|
||||
<!-- Vite Assets (CSS & JS) -->
|
||||
@vite(array_merge(config('assets.vite.css'), config('assets.vite.js')))
|
||||
|
||||
@stack('style')
|
||||
</head>
|
||||
@@ -65,24 +59,16 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- base js -->
|
||||
@vite(['resources/js/app-vite.js'])
|
||||
<script src="{{ asset('build/plugins/bootstrap/bootstrap.bundle.min.js') }}"></script>
|
||||
<script src="{{ asset('build/plugins/lucide/lucide.min.js') }}"></script>
|
||||
<script src="{{ asset('build/plugins/perfect-scrollbar/perfect-scrollbar.min.js') }}"></script>
|
||||
<!-- base js (static) -->
|
||||
@foreach (config('assets.static.js') as $js)
|
||||
<script src="{{ asset($js) }}"></script>
|
||||
@endforeach
|
||||
<!-- end base js -->
|
||||
|
||||
<!-- plugin js -->
|
||||
@stack('plugin-scripts')
|
||||
<!-- end plugin js -->
|
||||
|
||||
<!-- common js -->
|
||||
@vite(['resources/js/pages/template.js'])
|
||||
|
||||
<!-- Global Modal JS -->
|
||||
@vite(['resources/js/components/micromodal.js'])
|
||||
<!-- end common js -->
|
||||
|
||||
<!-- Global Select2 initialization -->
|
||||
<script>
|
||||
window.initSelect2 = function() {
|
||||
@@ -92,7 +78,7 @@
|
||||
height: "100%",
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
// Global ModalManager initialization
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
if (typeof ModalManager !== 'undefined') {
|
||||
|
||||
Reference in New Issue
Block a user