-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprimary_care_networks.html
259 lines (227 loc) · 8.55 KB
/
primary_care_networks.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
<!DOCTYPE html>
<html lang="en-gb" dir="ltr">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--
The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags
-->
<title>Mapping Demo</title>
<meta name="author" content="David Caphane" />
<meta name="description" content="Understanding Leaflet Maps" />
<!-- Place "favicon.ico" in the root directory -->
<!-- link rel="icon" href="../../favicon.ico" -->
<!--
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css" integrity="sha256-HxaKz5E/eBbvhGMNwhWRPrAR9i/lG1JeT4mD6hCQ7s4="crossorigin="anonymous" />
-->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.4.1/css/bootstrap-reboot.min.css"
integrity="sha256-pTFzHsh1e+rz97pjNUpygMbwPzZM3iI3jPd9k4PBTko="
crossorigin="anonymous"
/>
<link
href="https://fonts.googleapis.com/css?family=Roboto:400,900"
rel="stylesheet"
/>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/layout.css" />
<link
rel="stylesheet"
type="text/css"
href="css/components/navbar_main.css"
/>
<link
rel="stylesheet"
type="text/css"
href="css/components/navbar_side.css"
/>
<link rel="stylesheet" type="text/css" href="css/components/toTop.css" />
<link rel="stylesheet" type="text/css" href="css/components/loader.css" />
<!-- Page Structure (Layout) -->
<script>
const pageName = "PCNs"; // This is the 'key' name in the function createSiteStructure (see navmain.js)
const elemActive = `nav ${pageName}`.split(" ").join("-");
</script>
<script defer src="scripts\components\navmain.js"></script>
<script defer src="scripts\components\navside.js"></script>
<script defer src="scripts\components\toTop.js"></script>
<!-- leaflet -->
<link
rel="stylesheet"
href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A=="
crossorigin=""
/>
<!-- Make sure you put this AFTER Leaflet's CSS -->
<script
defer
src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA=="
crossorigin=""
></script>
<!-- Leaflet Providers
https://github.com/leaflet-extras/leaflet-providers
http://leaflet-extras.github.io/leaflet-providers/preview/
-->
<script defer src="scripts/leaflet/leaflet-providers.js"></script>
<script
src="https://kit.fontawesome.com/0e64dfdf0b.js"
crossorigin="anonymous"
></script>
<link
rel="stylesheet"
type="text/css"
href="css\leaflet-beautify-marker-icon.css"
/>
<script
defer
src="scripts/leaflet/markers/leaflet-beautify-marker-icon.js"
></script>
<!-- Add full screen option -->
<script
defer
src="https://api.mapbox.com/mapbox.js/plugins/leaflet-fullscreen/v1.0.1/Leaflet.fullscreen.min.js"
></script>
<link
href="https://api.mapbox.com/mapbox.js/plugins/leaflet-fullscreen/v1.0.1/leaflet.fullscreen.css"
rel="stylesheet"
/>
<!-- Home Button -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/leaflet-easybutton@2/src/easy-button.css"
/>
<script
defer
src="https://cdn.jsdelivr.net/npm/leaflet-easybutton@2/src/easy-button.js"
></script>
<!-- Leaflet Sidebar
https://github.com/turbo87/sidebar-v2/
https://github.com/nickpeihl/leaflet-sidebar-v2
<link rel="stylesheet" type="text/css" href="css\leaflet-sidebar.css" />
<script defer src="scripts/leaflet-sidebar.js"></script>
-->
<!-- Links can be accessed via cdn, https://www.jsdelivr.com/package/npm/leaflet-sidebar-v2?path=css -->
<link
rel="stylesheet"
type="text/css"
href="https://cdn.jsdelivr.net/npm/[email protected]/css/leaflet-sidebar.min.css"
/>
<script
defer
src="https://cdn.jsdelivr.net/npm/[email protected]/js/leaflet-sidebar.min.js"
></script>
<!-- Tree layer control
https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree/
-->
<link
rel="stylesheet"
type="text/css"
href="scripts/leaflet/L.Control.Layers.Tree.css"
/>
<script defer src="scripts/leaflet/L.Control.Layers.Tree.js"></script>
<!--script defer src="scripts/leaflet/markers/map_default_markers.js"></script -->
<script defer src="scripts/leaflet/markers/map_beautifyMarker.js"></script>
<script defer src="scripts/primary_care_networks/cht_defaults.js"></script>
<script
defer
src="scripts/primary_care_networks/map_components.js"
></script>
<script defer src="scripts/primary_care_networks/map_pcn_main.js"></script>
<script defer src="scripts/primary_care_networks/map_pcn_sites.js"></script>
<script
defer
src="scripts/primary_care_networks/leaflet_sidebar_pcn.js"
></script>
<style></style>
</head>
<body>
<div class="wrapper">
<section id="hero">
<a href="/" class="logo"> <h1>Primary Care Networks</h1> </a>
</section>
<div class="wrapper-nav">
<nav id="nav-main">
<!-- nav bar main imported from components.js -->
</nav>
</div>
<nav id="article-left"></nav>
<article id="article-right">
<div class="column">
<section id="sec-intro" class="section anchor">
<h2>Introduction</h2>
<p>
Ut consequat commodo qui veniam id pariatur do consequat ullamco
in do pariatur cupidatat anim. Dolore et occaecat cillum ipsum
proident laborum incididunt consequat sit laboris ipsum. Id magna
reprehenderit sit aute laborum ullamco occaecat aute id proident
minim.
</p>
</section>
<section id="sec-time" class="section anchor">
<h2>Practice Sites</h2>
<div id="sectime" class="tiles">
<div class="tile wide content">
<h3>GP Practice - Main Site by PCN</h3>
<div id="mapPCNMain" class="map"></div>
<div
id="sidebarPCNMain"
class="leaflet-sidebar collapsed"
></div>
<footer id="selectedMarker" class="cta">
Select a marker for details
</footer>
</div>
<div class="tile wide content">
<h3>GP Practice Sites</h3>
<div id="mapPCNSite" class="map"></div>
<div
id="sidebarPCNSites"
class="leaflet-sidebar collapsed"
></div>
<footer id="selectedPCN" class="cta">Associated Sites</footer>
</div>
</div>
</section>
<section id="sec-diagnosis" class="section anchor">
<h2>Diagnosis</h2>
<div id="secdiag" class="tiles dcCharts">
<div class="tile content">
<h3>Diagnosis Main</h3>
<div id="mapid_04"></div>
<footer class="cta">Add Description Here</footer>
</div>
<div class="tile content">
<h3>Diagnoses</h3>
<div id="mapid_05"></div>
<footer class="cta">Add Description Here</footer>
</div>
</div>
</section>
<section id="sec-patient" class="section anchor">
<h2>Patient Characteristics</h2>
<div id="secpatient" class="tiles dcCharts">
<div class="tile content">
<h3>Age Band</h3>
<div id="mapid_06"></div>
<footer class="cta">Add Description Here</footer>
</div>
<div class="tile wide content">
<h3>GP Practice</h3>
<div id="mapid_07"></div>
<footer class="cta">Add Description Here</footer>
</div>
</div>
</section>
</div>
<div class="footer"></div>
<!-- Test internal footer -->
</article>
<footer id="footer">
Built using <a href="https://leafletjs.com/">Leaflet</a>
</footer>
</div>
</body>
</html>