-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
85 lines (83 loc) · 2.03 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
<!DOCTYPE html>
<html>
<head>
<script src="./tool.js">
</script>
<style>
div {
padding: 1%
}
@media only screen and (max-width:1000px) {
input[type=submit] {
padding: 40px 40px;
}
* {
font-size: 15px;
}
}
* {
font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
h1, h3 {
padding-left: 1%;
}
p {
padding-left: 2%;
}
input[type=submit] {
padding: 16px 32px;
cursor: pointer;
}
</style>
</head>
<h1>ATS/ERS PFT Guidelines (2021)</h1>
<body>
<div>
Enter FEV<sub>1</sub>: <input id="fev1"> (between 0 and 1)
</div>
<div>
Enter FVC: <input id="fvc"> (between 0 and 1)
</div>
<div>
Enter TLC: <input id="tlc"> (between 0 and 1)
</div>
<div>
Enter FRC: <input id="frc"> (between 0 and 1)
</div>
<div>
Enter RV: <input id="rv"> (between 0 and 1)
</div>
<div>
Enter D<sub>LCO</sub>: <input id="dlco"> (between 0 and 1)
</div>
<div>
Enter V<sub>A</sub>:
<select id="va">
<option value="" disabled selected>Select...</option>
<option value="low">Low</option>
<option value="normal">Normal</option>
</select>
</div>
<div>
Enter K<sub>CO</sub>:
<select id="kco">
<option value="" disabled selected>Select...</option>
<option value="low/normal">Low/Normal</option>
<option value="high">High</option>
</select>
</div>
<div>
<input type="submit" value="Submit" onclick="runTool()">
<input type="submit" value="Reset Form" onclick="resetFields()">
</div>
<h3 id="spir_header"></h3>
<p id="spir">
</p>
<h3 id="lungvol_header"></h3>
<p id="lungvol">
</p>
<h3 id="diffcap_header"></h3>
<p id="diffcap">
</p>
</body>
</html>