-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproduct_table.tpl
49 lines (46 loc) · 1.91 KB
/
product_table.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/dataTables.bootstrap.css">
<link rel="stylesheet" href="css/responsive.bootstrap.min.css">
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="row">
<div class="col-md-12">
<div class="box-header">
<h3 class="box-title">Data Table With Full Features</h3>
</div>
<div class="box-body">
<table id="example1" style="width: 100%;" class=" table-responsive table-bordered table-striped dt-responsive" cellspacing="0">
<thead>
<tr style="height: 30px;">
<th>Edit</th>
<th>ID</th>
<th>Name</th>
<th>Stock</th>
<th>S.Price</th>
<th>B.Price</th>
<th>P.Date</th>
<th></th>
<th></th>
</tr>
</thead>
{php}list_inventory();{/php}
</table>
</div>
</div>
</div>
<script src="js/jquery-2.2.3.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.dataTables.min.js"></script>
<script src="js/dataTables.bootstrap.min.js"></script>
<script src="js/dataTables.responsive.min.js"></script>
<script src="js/responsive.bootstrap.min.js"></script>
<script>
$(function () {
$("#example1").DataTable();
});
</script>
</body>
</html>