-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
62 lines (56 loc) · 2.19 KB
/
index.html
File metadata and controls
62 lines (56 loc) · 2.19 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Flight Data Table</title>
<link rel="stylesheet" href="style.css">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-3P2ZVPWD56"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-3P2ZVPWD56');
</script>
</head>
<body>
<div class="toolbar">
<div class="page-nav">
<button id="prev-page">←</button>
<input type="number" id="current-page" min="1" value="1" inputmode="numeric" pattern="\d*">
<span>of <span id="total-pages"></span> </span>
<button id="next-page">→</button>
</div>
</div>
<h1>Flight Data Table</h1>
<div class="filters">
<input type="text" id="extraction-number-filter" placeholder="Extraction Date">
<input type="text" id="depart-date-filter" placeholder="Depart Date">
<input type="text" id="airline-code-filter" placeholder="Airline Code">
<input type="text" id="depart-time-filter" placeholder="Depart Time">
<button id="apply-filters">Apply Filters</button>
<button id="download-csv">Download</button>
</div>
<table id="flight-data-table">
<thead></thead>
<tbody id="flight-data-tbody"></tbody>
</table>
<div id="modal" class="modal">
<div class="modal-content">
<span class="close" onclick="closeModal()">×</span>
<div id="record-details"></div>
<div id="more-price-data">
<canvas id="myChart"></canvas>
<table id="more-price-data-table"><thead> <tr>
<th> Extraction Date </th>
<th> Price </th>
<tbody id="more-price-data-tbody"></tbody>
</tr> </thead> </table>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.js"></script>
<script src="index.js"></script>
</body>
</html>