Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
41 lines (30 loc) · 1.37 KB
/
Copy pathindex.html
File metadata and controls
41 lines (30 loc) · 1.37 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Example App</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./css/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<div>
<h2>Product Table</h2>
<p>Key in your input to filter the table:</p>
<input type="text" id="myinput" placeholder="Search..." title="Type in something">
<p>Click on the header of a column to sort the table:</p>
<table id="resizeMe" class="table">
<thead>
<tr>
<th><span id="name" class="w3-button table-column">Name <i class="caret"></span></th>
<th><span id="quantity" class="w3-button table-column">Quantity <i class="caret"></span></th>
<th><span id="price" class="w3-button table-column">Price <i class="caret"></span></th>
<th><span id="expiry" class="w3-button table-column">Expiry Date <i class="caret"></span></th>
</tr>
</thead>
<tbody id="mytable"></tbody>
</table>
</div>
</body>
<script src="./js/common.js"></script>
</html>