-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
214 lines (191 loc) · 9.92 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!-- Responsive -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<!-- End Responsive -->
<link rel="icon" href="./assets/favicon.ico" sizes="32x32" type="image/vnd.microsoft.icon">
<link rel="stylesheet" href="./styles/calcite-web.min.css">
<link rel="stylesheet" href="https://js.arcgis.com/4.15/esri/css/main.css">
<link rel="stylesheet" href="./styles/main.css">
<!-- Load the Chart.js library -->
<script src="./app/Chart.min.js"></script>
<script src="./app/dojo.js"></script>
<script src="https://js.arcgis.com/4.15/"></script>
<script>
require(["Application/init"]);
</script>
</head>
<body class="">
<!-- APP DETAILS -->
<div class="js-modal modal-overlay" data-modal="app-details-dialog">
<div class="modal-content column-14" aria-labelledby="modal" role="dialog">
<div>
<span class="js-modal-toggle esri-interactive icon-ui-close right" aria-label="close-modal"></span>
<h3 id="app-details-title" class="trailer-half text-blue"></h3>
</div>
<div id="app-details-panel" class="app-details-panel panel"></div>
<div class="leader-half">
<img src="./assets/esri_science_of_where.png" class="left">
<div class="text-right">
<button class="btn js-modal-toggle">OK</button>
</div>
</div>
</div>
</div>
<!-- ANALYSIS DETAILS -->
<div id="analysis-details-dialog" class="js-modal modal-overlay" data-modal="analysis-details-dialog">
<div class="modal-content column-12" aria-labelledby="modal" role="dialog">
<div>
<span class="js-modal-toggle esri-interactive icon-ui-close right" aria-label="close-modal"></span>
<h3 class="analysis-details-title trailer-half text-blue"></h3>
</div>
<div class="analysis-details-panel panel"></div>
<div class="leader-half">
<img src="./assets/esri_science_of_where.png" class="left">
<div class="text-right">
<button class="btn js-modal-toggle">OK</button>
</div>
</div>
</div>
</div>
<!-- ERROR DIALOG -->
<div id="error-dialog" class="js-modal modal-overlay" data-modal="error-dialog">
<div class="modal-content column-12" aria-labelledby="modal" role="dialog">
<div>
<span class="js-modal-toggle esri-interactive icon-ui-close right" aria-label="close-modal"></span>
<h3 class="trailer-half text-red">Error</h3>
</div>
<div id="error-panel" class="error-panel panel"></div>
<div class="leader-half">
<img src="./assets/esri_science_of_where.png" class="left">
<div class="text-right">
<button class="btn btn-red js-modal-toggle">OK</button>
</div>
</div>
</div>
</div>
<!-- HEADER PANEL -->
<header id="header-panel" class="panel-no-padding panel-no-border padding-left-1 padding-right-1">
<!-- APP TITLE -->
<span id="app-title-node" class="top-nav-title header-label tablet-hide phone-hide"></span>
<!-- RIGHT ALIGNED -->
<nav id="header-panel-right" class="top-nav-list">
<!-- VARIABLE SELECT -->
<div id="variables-node" class="inline-block">
<div class="input-group column-6 tablet-column-4 phone-column-6">
<label for="variableSelect" class="input-group-button">
<span>Variable </span>
</label>
<select id="variableSelect" class="input-group-input">
<option value="Hospitalized" selected>Hospitalized</option>
<option value="ICU">ICU Patients</option>
<option value="Ventilated">Ventilated</option>
</select>
<span class="input-group-button">
<button id="reset-btn" class="btn btn-clear-white header-label margin-left-quarter">reset</button>
</span>
</div>
</div>
<!-- LEGEND -->
<div class="dropdown js-dropdown margin-left-1">
<button class="btn btn-transparent header-label dropdown-btn js-dropdown-toggle" tabindex="0"
aria-haspopup="true" aria-expanded="false">
Map Legend
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 32 32" class="svg-icon">
<path d="M28 9v5L16 26 4 14V9l12 12L28 9z" />
</svg>
</button>
<nav class="dropdown-menu dropdown-right" role="menu">
<div id="legend-container"></div>
</nav>
</div>
<!-- APP DETAILS -->
<span class="top-nav-link icon-ui-description header-label js-modal-toggle margin-left-1 esri-interactive"
data-modal="app-details-dialog"></span>
</nav>
</header>
<div id="main-container" class="panel panel-white panel-padding-half panel-no-border">
<!-- TOP CONTAINER -->
<div id="analysis-container" class="panel panel-white panel-no-padding panel-no-border">
<!-- LEFT PANEL -->
<div id="left-analysis-panel" class="analysis-panel panel panel-white panel-no-padding panel-no-border">
<div class="analysis-info-panel panel panel-no-border padding-leader-quarter padding-trailer-quarter">
<div class="analysis-title-node font-size-1 icon-ui-description esri-interactive btn-disabled"
title="More information..."></div>
<div class="analysis-stats-node">
<div class="analysis-stats-beds-node font-size-1 avenir-demi text-center">0 beds</div>
<div class="analysis-stats-capacity-node font-size-1 avenir-demi text-center">0% capacity</div>
</div>
</div>
<div class="analysis-view-panel panel panel-no-border">
<div class="analysis-indicator hide">
<svg class="indicator-svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 200 300">
<defs>
<linearGradient id="indicator-linear-gradient-left" x1="0.5" y1="1" x2="0.5" y2="0">
<stop class="prop_start" offset="0%" stop-opacity="1" stop-color="#C0C0C0" />
<stop class="prop_v1" offset="1%" stop-opacity="1" stop-color="#C0C0C0" />
<stop class="prop_v2" offset="1%" stop-opacity="0" stop-color="#C0C0C0" />
<stop class="prop_end" offset="100%" stop-opacity="0.4" stop-color="#C0C0C0" />
</linearGradient>
</defs>
<path fill="url(#indicator-linear-gradient-left)"
d="M19.29,0A19.24,19.24,0,0,0,0,19.29V280.71A19.24,19.24,0,0,0,19.29,300H180.71A19.24,19.24,0,0,0,200,280.71V19.29A19.24,19.24,0,0,0,180.71,0ZM24.5,15h151a10.91,10.91,0,0,1,10.93,10.93V126.71h-25c-2.36-14.28-18.1-26.51-40.55-31.49A40,40,0,0,0,97.5,22.86h0a40,40,0,0,0-40,40h0a40,40,0,0,0,17.41,33c-21,5.36-35.52,17.19-37.76,30.84H13.57V25.93A10.91,10.91,0,0,1,24.5,15ZM85,162.57h30v35h35v30H115v35H85v-35H50v-30H85Z"
stroke="#C0C0C0" stroke-width="1" />
</svg>
</div>
<div class="loader is-active padding-leader-3 padding-trailer-3">
<div class="loader-bars"></div>
<div class="loader-text">Loading...</div>
</div>
</div>
</div>
<!-- RIGHT PANEL -->
<div id="right-analysis-panel" class="analysis-panel panel panel-white panel-no-padding panel-no-border">
<div class="analysis-info-panel panel panel-no-border padding-leader-quarter padding-trailer-quarter">
<div class="analysis-title-node font-size-1 icon-ui-description esri-interactive btn-disabled"
title="More information..."></div>
<div class="analysis-stats-node">
<div class="analysis-stats-beds-node font-size-1 avenir-demi text-center">0 beds</div>
<div class="analysis-stats-capacity-node font-size-1 avenir-demi text-center">0% capacity</div>
</div>
</div>
<div class="analysis-view-panel panel panel-no-border">
<div class="analysis-indicator hide">
<svg class="indicator-svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 200 300">
<defs>
<linearGradient id="indicator-linear-gradient-right" x1="0.5" y1="1" x2="0.5" y2="0">
<stop class="prop_start" offset="0%" stop-opacity="1" stop-color="#C0C0C0" />
<stop class="prop_v1" offset="1%" stop-opacity="1" stop-color="#C0C0C0" />
<stop class="prop_v2" offset="1%" stop-opacity="0" stop-color="#C0C0C0" />
<stop class="prop_end" offset="100%" stop-opacity="0.4" stop-color="#C0C0C0" />
</linearGradient>
</defs>
<path fill="url(#indicator-linear-gradient-right)"
d="M19.29,0A19.24,19.24,0,0,0,0,19.29V280.71A19.24,19.24,0,0,0,19.29,300H180.71A19.24,19.24,0,0,0,200,280.71V19.29A19.24,19.24,0,0,0,180.71,0ZM24.5,15h151a10.91,10.91,0,0,1,10.93,10.93V126.71h-25c-2.36-14.28-18.1-26.51-40.55-31.49A40,40,0,0,0,97.5,22.86h0a40,40,0,0,0-40,40h0a40,40,0,0,0,17.41,33c-21,5.36-35.52,17.19-37.76,30.84H13.57V25.93A10.91,10.91,0,0,1,24.5,15ZM85,162.57h30v35h35v30H115v35H85v-35H50v-30H85Z"
stroke="#C0C0C0" stroke-width="1" />
</svg>
</div>
<div class="loader is-active padding-leader-3 padding-trailer-3">
<div class="loader-bars"></div>
<div class="loader-text">Loading...</div>
</div>
</div>
</div>
</div>
<!-- CHART PANEL -->
<div id="chart-panel"
class="panel panel-white panel-no-border padding-leader-quarter padding-trailer-quarter leader-half"></div>
<!-- SLIDER PANEL -->
<div id="slider-panel" class="panel panel-white panel-no-padding padding-trailer-1 panel-no-border padding-left-1">
<div id="slider-container"></div>
</div>
</div>
</body>
</html>