/
index.html
97 lines (91 loc) · 2.77 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="/web/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/web/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/web/favicon-16x16.png"
/>
<link rel="manifest" href="/web/site.webmanifest" />
<link rel="mask-icon" href="/web/safari-pinned-tab.svg" color="#5bbad5" />
<link rel="shortcut icon" href="/web/favicon.ico" />
<meta name="theme-color" content="#ffffff" />
<title>Drug ref sets</title>
<link rel="stylesheet" href="/web/style.css" />
</head>
<body>
<div class="banner">
<span class="title">NHS drug refsets</span>
<select id="version">
<option disabled selected>Please select SNOMED version</option>
</select>
</div>
<div id="version-wrapper" style="text-align: center; font-size: 18px"></div>
<div class="tab">
<button class="tablinks" onclick="openTab('Refsets')">Refsets</button>
<button class="tablinks" onclick="openTab('Codes')">Codes</button>
</div>
<div class="wrapper" style="display: none">
<div id="ref-set-wrapper" style="text-align: center">
<input
type="text"
id="inp"
oninput="filter_list()"
placeholder="Search for the ref set..."
class="form-control"
/>
<div class="list scrollable scrollable-refs">
<ul class="list-group"></ul>
</div>
</div>
<div id="ref-set-codes" style="display: none" class="tab-content">
<div class="header">
<h3></h3>
<div
style="
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
"
>
<span id="message"></span>
<div id="buttons">
<button id="show-inactive" style="width: 120px">
Show inactive
</button>
<button id="copy" style="width: 120px">Copy active only</button>
<button id="copy-all" style="width: 120px">Copy all</button>
</div>
</div>
</div>
<div class="scrollable scrollable-defs">
<table id="defs-table" class="hide-inactive">
<thead>
<tr>
<td>Code</td>
<td>Description</td>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
</div>
<script src="/web/script.js" defer></script>
</body>
</html>