This commit is contained in:
pbao9
2026-02-02 17:27:33 +07:00
parent 17b02631e4
commit 8125804bac
22 changed files with 1047 additions and 379 deletions
@@ -44,6 +44,9 @@
<!-- CSS for LTR layout-->
@vite(['resources/sass/app.scss'])
<!-- Global Modal CSS -->
@vite(['resources/css/components/micromodal.css'])
<!-- CSS for RTL layout-->
@@ -77,6 +80,9 @@
<!-- common js -->
@vite(['resources/js/pages/template.js'])
<!-- Global Modal JS -->
@vite(['resources/js/components/micromodal.js'])
<!-- end common js -->
<!-- Global Select2 initialization -->
@@ -88,6 +94,16 @@
height: "100%",
});
};
// Global ModalManager initialization
document.addEventListener('DOMContentLoaded', function() {
if (typeof ModalManager !== 'undefined') {
ModalManager.init();
console.log('ModalManager initialized globally');
} else {
console.warn('ModalManager not loaded');
}
});
</script>
@include('administrator.layout.partials.toast')