fix db tables to have school year
This commit is contained in:
@@ -262,9 +262,9 @@ $show_actions = false; // notified page hides actions by design
|
||||
|
||||
// Initialize Bootstrap tooltips (for "View full" note)
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
if (window.bootstrap) {
|
||||
if (window.bootstrap && bootstrap.Tooltip) {
|
||||
const tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));
|
||||
tooltipTriggerList.forEach(function (el) { new bootstrap.Tooltip(el); });
|
||||
tooltipTriggerList.forEach(function (el) { bootstrap.Tooltip.getOrCreateInstance(el); });
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -41,8 +41,6 @@
|
||||
|
||||
<!-- Bootstrap Bundle JS (for modal, tooltips, etc.) -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<!-- Optional: Your other custom scripts -->
|
||||
<script src="<?= base_url('assets/js/bootstrap.min.js') ?>"></script>
|
||||
<!-- ✅ Your validation logic (depends on jQuery & Select2) -->
|
||||
<script type="module" src="/public/assets/js/validate_student.js"></script>
|
||||
<script src="<?= base_url('assets/js/modal_validation.js') ?>"></script>
|
||||
|
||||
@@ -250,18 +250,19 @@ html, body { overflow-x: hidden; }
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Bootstrap Bundle (with Popper) -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
|
||||
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
if (!window.bootstrap || !bootstrap.Tooltip) return;
|
||||
const tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));
|
||||
tooltipTriggerList.forEach(function(tooltipTriggerEl) {
|
||||
new bootstrap.Tooltip(tooltipTriggerEl);
|
||||
bootstrap.Tooltip.getOrCreateInstance(tooltipTriggerEl);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<!-- Bootstrap Bundle (with Popper) -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
|
||||
|
||||
<!-- Additional JS Libraries -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js"></script>
|
||||
<script src="<?= base_url('lib/wow/wow.min.js') ?>"></script>
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>
|
||||
|
||||
<!-- ✅ Custom JS -->
|
||||
<script src="<?= base_url('assets/js/bootstrap.min.js') ?>"></script>
|
||||
<script src="<?= base_url('assets/js/modal_validation.js') ?>"></script>
|
||||
<script src="<?= base_url('assets/js/validation.js') ?>" defer></script>
|
||||
|
||||
@@ -45,4 +44,4 @@
|
||||
<?= $this->renderSection('scripts') ?>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -118,11 +118,6 @@
|
||||
</div>
|
||||
|
||||
<br>
|
||||
<?php include(__DIR__ . '/../partials/footer.php'); ?>
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
|
||||
|
||||
<!-- JavaScript for Phone and Email Validation -->
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
@@ -283,4 +278,4 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
<?= $this->endSection() ?>
|
||||
<?= $this->endSection() ?>
|
||||
|
||||
@@ -101,9 +101,10 @@
|
||||
<!-- Tooltip activation script (include once near bottom of page) -->
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
if (!window.bootstrap || !bootstrap.Tooltip) return;
|
||||
var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));
|
||||
tooltipTriggerList.forEach(function(tooltipTriggerEl) {
|
||||
new bootstrap.Tooltip(tooltipTriggerEl);
|
||||
bootstrap.Tooltip.getOrCreateInstance(tooltipTriggerEl);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user