"Updated AdminController, added update and delete product functionality, modified products.blade.php, and added datatables to adminheader and adminfooter"
This commit is contained in:
@ -41,6 +41,16 @@
|
||||
<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>
|
||||
|
@ -30,6 +30,19 @@
|
||||
<link rel="stylesheet" href="Dashboard/css/vertical-layout-light/style.css">
|
||||
<!-- endinject -->
|
||||
<link rel="shortcut icon" href="Dashboard/images/favicon.png" />
|
||||
|
||||
<!-- datatables -->
|
||||
<!-- DataTables CSS -->
|
||||
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.11.4/css/dataTables.bootstrap4.min.css">
|
||||
|
||||
<!-- jQuery -->
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
||||
|
||||
<!-- DataTables JS -->
|
||||
<script type="text/javascript" src="https://cdn.datatables.net/1.11.4/js/jquery.dataTables.min.js"></script>
|
||||
<script type="text/javascript" src="https://cdn.datatables.net/1.11.4/js/dataTables.bootstrap4.min.js"></script>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
Reference in New Issue
Block a user