forked from joeyshuttleworth/qc_viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathviewer.html
77 lines (68 loc) · 2.55 KB
/
viewer.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>QC Viewer</title>
<meta name="description" content="">
<meta name="author" content="SitePoint">
<meta property="og:title" content="">
<meta property="og:type" content="website">
<meta property="og:description" content="">
<meta property="og:image" content="image.png">
<link rel="icon" href="/favicon.ico">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="stylesheet" href="main.css">
</head>
<body>
<div style="display: flex; flexwrap: wrap">
<div id="left_column">
<table id='qc_grid'></table>
<!-- file input field -->
<input type="file"
id="qc_file_selection"
accept=".json"
onchange="onQCFileSelect(event)">
<!-- <input onclick="loadQCFile"
type="button"
value="Load file">
-->
<div>
<select name="protocol" id="protocol_selection", onchange="updateViewer(event)">
<option value="select protocol">select protocol</option>
</select>
</div>
</div>
<div id="criteria_div">
<div id="passing_criteria_container">
<p>Show which wells fail any of the criteria: </p>
<div id="passing_criteria_selection">
</div>
<input type="button" onclick="clearPassingSelection()" value="deselect all">
<input type="button" onclick="selectAllPassing()" value="select all">
</div>
<div id="ignore_criteria_container">
<p> Grey-out wells which fail any of the criteria: </p>
<div id="ignore_criteria_selection">
</div>
<input type="button" onclick="clearIgnoreSelection()" value="deselect all">
<input type="button" onclick="selectAllIgnore()" value="select all">
</div>
</div>
<div>
<div id="success-rate-div">
<p id="no_wells_passing">NA</p> <p>of</p> <p id="no_wells">NA</p> <p>wells passing</p>
</div>
</div>
</div>
<div>
<h3> Wells passing are </h3>
<p id="passed_wells" ></p>
<h3> Wells failing are </h3>
<p id="failed_wells" ></p>
</div>
<!-- your content here... -->
<script src="scripts/viewer.js"></script>
</body>
</html>