Load the app and the layout JS files
This commit is contained in:
parent
885dcbf5c8
commit
a95df871b9
5 changed files with 24 additions and 2 deletions
|
@ -50,6 +50,10 @@
|
|||
<script src="<?= asset_url('assets/vendor/@fortawesome-fontawesome-free/fontawesome.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/vendor/@fortawesome-fontawesome-free/solid.min.js') ?>"></script>
|
||||
|
||||
<script src="<?= asset_url('assets/js/app.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/layouts/account_layout.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/utils/general_functions.js') ?>"></script>
|
||||
|
||||
<script>
|
||||
const GlobalVariables = {
|
||||
csrfToken: <?= json_encode($this->security->get_csrf_hash()) ?>,
|
||||
|
|
|
@ -54,9 +54,13 @@
|
|||
<script src="<?= asset_url('assets/vendor/tippy.js/tippy-bundle.umd.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/vendor/trumbowyg/trumbowyg.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/vendor/select2/select2.min.js') ?>"></script>
|
||||
|
||||
<script src="<?= asset_url('assets/js/app.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/layouts/backend.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/layouts/backend_layout.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/utils/general_functions.js') ?>"></script>
|
||||
|
||||
<?php slot('scripts') ?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -100,9 +100,11 @@
|
|||
<script src="<?= asset_url('assets/vendor/@fortawesome-fontawesome-free/fontawesome.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/vendor/@fortawesome-fontawesome-free/solid.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/vendor/tippy.js/tippy-bundle.umd.min.js') ?>"></script>
|
||||
|
||||
<script src="<?= asset_url('assets/js/app.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/layouts/booking_layout.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/utils/general_functions.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/frontend_book_api.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/frontend_book.js') ?>"></script>
|
||||
|
||||
|
||||
<script>
|
||||
$(function () {
|
||||
|
@ -113,5 +115,7 @@
|
|||
|
||||
<?php google_analytics_script() ?>
|
||||
|
||||
<?php slot('scripts') ?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -58,6 +58,9 @@
|
|||
<script src="<?= asset_url('assets/vendor/@fortawesome-fontawesome-free/fontawesome.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/vendor/@fortawesome-fontawesome-free/solid.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/vendor/bootstrap/bootstrap.min.js') ?>"></script>
|
||||
|
||||
<script src="<?= asset_url('assets/js/app.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/layouts/message_layout.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/utils/general_functions.js') ?>"></script>
|
||||
|
||||
<?php google_analytics_script() ?>
|
||||
|
|
|
@ -46,3 +46,10 @@
|
|||
|
||||
<?php section('content') ?>
|
||||
|
||||
|
||||
<?php section('scripts') ?>
|
||||
|
||||
<script src="<?= asset_url('assets/js/pages/frontend_book_api.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/frontend_book.js') ?>"></script>
|
||||
|
||||
<?php section('scripts') ?>
|
||||
|
|
Loading…
Reference in a new issue