-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
113 lines (113 loc) · 3.58 KB
/
index.html
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!doctype HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CacheIR Health Report</title>
<meta name="" content="CacheIR Health Report">
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>
<div class="website-title">
<a href="info.html">CACHEIR HEALTH REPORT</a>
</div>
</h1>
<div>
<form id="input-form">
<label for="file">JSON FILE</label>
<input type=file id="file"><br><br>
<input class="button" id="submit" type="submit" value="SUBMIT">
<input class="button" id="clear" type="reset" value="CLEAR">
</form>
</div>
<div id="filter-group">
<select class="button filter" id="happiness-filter">
<option id="clear-filter">HAPPINESS FILTER: 🚫</option>
<option id="sad">HAPPINESS FILTER: 🤬</option>
<option id="medium-sad">HAPPINESS FILTER: ☹️</option>
<option id="medium-happy">HAPPINESS FILTER: 😐</option>
<option id="happy">HAPPINESS FILTER: 😀</option>
</select>
<input id="cacheirop-filter-input" placeholder="CacheIR Op Filter"></input>
<div>
<button id="apply-cacheir-filter" onclick="applyCacheIROpFilter()">Apply</button>
<button id="clear-cacheir-filter" onclick="clearCacheIROpFilter()">Clear</button>
</div>
</div>
<br>
<div id="status"></div>
<br>
<table class="selectable" id="script-table">
<thead>
<tr>
<th data-sort-method='none'>SCRIPT</th>
<th data-sort-method='none'>LINE</th>
<th data-sort-method='none'>COLUMN</th>
<th data-sort-method='number' class="sortable">HIT COUNT ↕️</th>
<th data-sort-method='none'>CONTEXT</th>
<th data-sort-method='none'>HEALTH</th>
</tr>
</thead>
<tbody></tbody>
</table>
<table class="selectable" id="op-table">
<thead>
<tr>
<th>CACHEIR OP</th>
<th>LINE</th>
<th>COLUMN</th>
<th>HEALTH</th>
<th>MODE</th>
<th>FAILURE COUNT</th>
</tr>
</thead>
<tbody></tbody>
</table>
<table class="selectable" id="stub-table">
<thead>
<tr>
<th id="jsOp-id"></th>
</tr>
<tr>
<th>HEALTH</th>
<th>HIT COUNT</th>
</tr>
</thead>
<tbody></tbody>
</table>
<table id="cacheIR-table">
<thead>
<tr>
<th>OP</th>
<th>HEALTH</th>
</tr>
</thead>
<tbody></tbody>
</table>
<table id="shapeinfo-table">
<thead>
<tr>
<th>LAST PROPERTY</th>
<th>TOTAL PROPERTIES</th>
<th>FILENAME</th>
<th>LINE</th>
<th>COLUMN</th>
</tr>
</thead>
<tbody></tbody>
</table>
<table id="stubfield-table">
<thead>
<tr>
<th>FIELD TYPE</th>
<th>SAW DISTINCT FIELD VALUES?</th>
</tr>
</thead>
<tbody></tbody>
</table>
</body>
<script src="report.js"></script>
<script src="lib/tablesort/tablesort.js"></script>
<script src="lib/tablesort/sorts/tablesort.number.js"></script>
<script>new Tablesort(document.getElementById("script-table"), { descending: true });</script>
</html>