laravelEcomm/resources/views/components/adminfooter.blade.php

100 lines
4.3 KiB
PHP

<!-- partial:partials/_footer.html -->
<footer class="footer">
<div class="d-sm-flex justify-content-center justify-content-sm-between">
<span class="text-muted text-center text-sm-left d-block d-sm-inline-block">Copyright © 2021.
Premium <a href="https://www.bootstrapdash.com/" target="_blank">Bootstrap admin
template</a> from BootstrapDash. All rights reserved.</span>
<span class="float-none float-sm-right d-block mt-1 mt-sm-0 text-center">Hand-crafted & made
with <i class="ti-heart text-danger ml-1"></i></span>
</div>
<div class="d-sm-flex justify-content-center justify-content-sm-between">
<span class="text-muted text-center text-sm-left d-block d-sm-inline-block">Distributed by <a
href="https://www.themewagon.com/" target="_blank">Themewagon</a></span>
</div>
</footer>
<!-- partial -->
</div>
<!-- main-panel ends -->
</div>
<!-- page-body-wrapper ends -->
</div>
<!-- container-scroller -->
<!-- plugins:js -->
<script src="Dashboard/vendors/js/vendor.bundle.base.js"></script>
<!-- endinject -->
<!-- Plugin js for this page -->
<script src="Dashboard/vendors/chart.js/Chart.min.js"></script>
<script src="Dashboard/vendors/datatables.net/jquery.dataTables.js"></script>
<script src="Dashboard/vendors/datatables.net-bs4/dataTables.bootstrap4.js"></script>
<script src="Dashboard/js/dataTables.select.min.js"></script>
<!-- End plugin js for this page -->
<!-- inject:js -->
<script src="Dashboard/js/off-canvas.js"></script>
<script src="Dashboard/js/hoverable-collapse.js"></script>
<script src="Dashboard/js/template.js"></script>
<script src="Dashboard/js/settings.js"></script>
<script src="Dashboard/js/todolist.js"></script>
<!-- endinject -->
<!-- Custom js for this page-->
<script src="Dashboard/js/dashboard.js"></script>
<script src="Dashboard/js/Chart.roundedBarCharts.js"></script>
<!-- End custom js for this page-->
<!-- datatables-->
<script src="Dashboard/js/jquery.dataTables.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.table').DataTable();
});
</script>
<!-- end datatables-->
</body>
{{-- <script>
$(document).ready(function() {
// Disable form submissions if there are invalid fields
$('form.needs-validation').on('submit', function(event) {
event.preventDefault(); // Prevent the default form submission
var form = $(this);
if (form[0].checkValidity() === false) {
event.stopPropagation();
form.addClass('was-validated');
} else {
// If the form is valid, submit it via AJAX
$.ajax({
type: form.attr('method'), // GET or POST
url: form.attr('action'), // The form action URL
data: form.serialize(), // Serialize the form data
success: function(response) {
// Handle the successful form submission
Swal.fire({
icon: 'success',
title: 'Success',
text: 'Form submitted successfully!',
});
console.log(response);
// You can update the page content or redirect here
},
error: function(xhr, status, error) {
// Handle the error response
Swal.fire({
icon: 'error',
title: 'Error',
text: 'Form submission failed. Please try again.',
});
console.error(xhr.responseText);
}
});
}
form.addClass('was-validated');
});
});
</script> --}}
</html>