-
Notifications
You must be signed in to change notification settings - Fork 1
/
module2.html
296 lines (248 loc) · 14.3 KB
/
module2.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
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
<!DOCTYPE html>
<html lang="en">
<head>
<title id="PageTitle"></title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-------------------- STYLING DEPENDENCIES ------------------------>
<link rel="stylesheet" href="https://bootswatch.com/4/flatly/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://bootswatch.com/_vendor/popper.js/dist/umd/popper.min.js"></script>
<script src="https://bootswatch.com/_vendor/bootstrap/dist/js/bootstrap.min.js"></script>
<!-------------------- TABLE DISPLAY DEPENDENCIES ------------------>
<script src="https://code.jquery.com/jquery-3.2.1.js" integrity="sha256-DZAnKJ/6XZ9si04Hgrsxu/8s717jcIzLy3oi35EouyE=" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js" integrity="sha256-T0Vest3yCU7pafRw9r+settMBX6JkKN06dqBnpQ8d30="crossorigin="anonymous"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link href="https://unpkg.com/[email protected]/dist/css/bootstrap/tabulator_bootstrap.min.css" rel="stylesheet">
<script type="text/javascript" src="https://unpkg.com/[email protected]/dist/js/tabulator.min.js"></script>
<!-------------------- LOCAL STYLING ------------------------------->
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<!-------------------- NAV BAR ------------------------------------->
<nav class="navbar navbar-expand-lg navbar-dark bg-primary ">
<a id="NavTitle" class="navbar-brand" href="index.html"></a>
<button class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#navbarColor01" aria-controls="navbarColor01" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse" id="navbarColor01">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a id="Item1" class="nav-link" href="index.html"><span class="sr-only"></span></a>
</li>
<li class="nav-item">
<a id="Item2" class="nav-link" href="about.html"></a>
</li>
<li class="nav-item dropdown active">
<a id="Item3" class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false"></a>
<div class="dropdown-menu" x-placement="bottom-start">
<a id="Dropdown1" class="dropdown-item" href="overview.html"></a>
<div class="dropdown-divider"></div>
<a id="Dropdown2" class="dropdown-item" href="module1.html"></a>
<a id="Dropdown3" class="dropdown-item active" href="module2.html"></a>
</div>
</li>
</ul>
</div>
</nav>
<!-------------------- END OF NAV BAR ---------------------->
<!-------------------- START OF MAIN PAGE ------------------>
<div class="container-fluid text-center">
<div class="row content">
<!-------------------- START OF LEFT SIDEBAR --------------->
<div class="col-sm-2 sidenav"></div>
<!-------------------- END OF LEFT SIDEBAR ----------------->
<!-------------------- START OF CENTER CONTENT ------------->
<div class="col-sm-8 text-left">
<div id="M2Title" class="h2"></div>
<!-------------------- SECTION TABS ------------------------>
<ul class="nav nav-tabs">
<li class="nav-item">
<a id="M2S1Tab" class="nav-link active tabs" data-toggle="tab" href="#first"></a>
</li>
<li class="nav-item">
<a id="M2S2Tab" class="nav-link tabs" data-toggle="tab" href="#second"></a>
</li>
<li class="nav-item">
<a id="M2S3Tab" class="nav-link tabs" data-toggle="tab" href="#third"></a>
</li>
<li class="nav-item">
<a id="M2S4Tab" class="nav-link tabs" data-toggle="tab" href="#fourth"></a>
</li>
</ul>
<!-------------------- START OF SECTION TABS --------------->
<div id="myTabContent" class="tab-content">
<!-------------------- SECTION 1 --------------------------->
<div class="tab-pane fade show active" id="first">
<div id="M2S1Title" class="h3 bold underline"></div>
<div id="M2S1Text1" class='body-text'></div>
<div class='tab content button'>
<button type="button" class="btn btn-success" id="M2S1Button1" onclick="reveal('cleaningDiv')"></button>
<button type="button" class="btn btn-success" id="M2S1Button2" onclick="reveal('integrationDiv')"></button>
<button type="button" class="btn btn-success" id="M2S1Button3" onclick="reveal('transformationDiv')"></button>
</div>
<div id='cleaningDiv' class="card text-white bg-primary mb-3 popup">
<div id="M2S1Button1Title" class="card-header bold">
<button type="button" class="close" onclick="reveal('cleaningDiv')" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div id="M2S1Button1Text" class="card-body"></div>
</div>
<div id='integrationDiv' class="card text-white bg-primary mb-3 popup">
<div id="M2S1Button2Title" class="card-header bold">
<button type="button" class="close" onclick="reveal('integrationDiv')" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div id="M2S1Button2Text" class="card-body"></div>
</div>
<div id='transformationDiv' class="card text-white bg-primary mb-3 popup">
<div id="M2S1Button3Title" class="card-header bold">
<button type="button" class="close" onclick="reveal('transformationDiv')" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div id="M2S1Button3Text" class="card-body"></div>
</div>
<div id="M2S1Text2" class='body-text'></div>
</div>
<!-------------------- SECTION 2 --------------------------->
<div class="tab-pane fade" id="second">
<div id="M2S2Title" class="h3 bold underline"></div>
<div id="M2S2Text1" class="body-text"></div>
<div id="M2S2Text2" class="body-text bold"></div>
<div id="M2S2Text3" class="body-text"></div>
<div id="M2S2Text4" class="body-text highlight-2"></div>
<div class='table' id='m2-example-table'></div>
<div id="M2S2Text5" class='body-text'></div>
<div class="button-group">
<button type="button" class="btn btn-success" id="M2S2Button1" onclick="reveal('exploreDiv')"></button>
<button type="button" class="btn btn-success" id="M2S2Button2" onclick="reveal('considerationsDiv')"></button>
<button type="button" class="btn btn-success" id="M2S2Button3" onclick="reveal('optionsDiv')"></button>
</div>
<div id='exploreDiv' class="card text-white bg-primary mb-3 popup">
<div id="M2S2Button1Title" class="card-header bold">
<button type="button" class="close" onclick="reveal('exploreDiv')" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div id="M2S2Button1Text" class="card-body"></div>
</div>
<div id='considerationsDiv' class="card text-white bg-primary mb-3 popup">
<div id="M2S2Button2Title" class="card-header bold">
<button type="button" class="close" onclick="reveal('considerationsDiv')" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div id="M2S2Button2Text" class="card-body"></div>
</div>
<div id='optionsDiv' class="card text-white bg-primary mb-3 popup">
<div id="M2S2Button3Title" class="card-header bold">
<button type="button" class="close" onclick="reveal('optionsDiv')" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div id="M2S2Button3Text" class="card-body"></div>
</div>
<div id='M2S2Text6' class='body-text'></div>
<button id="M2S2Button4" type="button" class="btn btn-info" onclick="window.open('https://open.canada.ca/data/en/dataset/5e9433bf-2334-463a-bd48-03ba53a7051c')"></button>
</div>
<!-------------------- SECTION 3 --------------------------->
<div class="tab-pane fade" id="third">
<div id="M2S3Title" class="h3 bold underline"></div>
<div id="M2S3Text1" class='body-text'></div>
<div class='body-text highlight'>
<div id="M2S3Card1Text"></div>
<button type="button" class="btn btn-success" id="M2S3Card1Button1" onclick="window.open('https://open.canada.ca/data/en/dataset/7b7fd6a0-db05-400a-84be-94430a6d4567')"></button>
<button type="button" class="btn btn-success" id="M2S3Card1Button2" onclick="window.open('https://docs.google.com/spreadsheets/d/1ZGlCNRoCX3HxDWYDLYRL9ACT_ZHVCGFAriFcYcOaEI8/edit?usp=sharing')"></button>
</div>
<div class='body-text highlight'>
<div id="M2S3Card2Text"></div>
<button type="button" class="btn btn-success" id="M2S3Card2Button1" onclick="window.open('https://open.canada.ca/data/en/dataset/7faa991d-7d49-49ee-b1ff-78c2246988c1')"></button>
<button type="button" class="btn btn-success" id="M2S3Card2Button2" onclick="window.open('https://docs.google.com/spreadsheets/d/15qbQkl6nsAUREbkykQq1MZetjjvk8JebKyzlr5JFnyU/edit?usp=sharing')"></button>
</div>
<div class='body-text highlight'>
<div id="M2S3Card3Text"></div>
<button type="button" class="btn btn-success" id="M2S3Card3Button1" onclick="window.open('https://open.canada.ca/data/en/dataset/8ef41d2e-9309-486a-9f9f-bfd11945a959')"></button>
<button type="button" class="btn btn-success" id="M2S3Card3Button2" onclick="window.open('https://docs.google.com/spreadsheets/d/1TQdovVj5-jzD2kOhsB8JHJofzw26wUEl3WmP6Wi9nG8/edit?usp=sharing')"></button>
</div>
</div>
<!-------------------- SECTION 4 --------------------------->
<div class="tab-pane fade" id="fourth">
<div id="M2S4Title" class="h3 bold underline"></div>
<div id="M2S4Text1"></div>
<div id="M2S4Text2" class='body-text highlight-2'></div>
<div class='table' id='quiz2-table'></div>
<div id="quiz"></div>
<button type="button" class="btn btn-success" id="M2S4Button1"></button>
<button type="button" class="btn btn-success" id="M2S4Button2" onclick="reveal('M2S4Answers')"></button>
<div id="results"></div>
<div id='M2S4Answers' class='body-text highlight-2 hide'></div>
</div>
<!-------------------- END OF SECTION 4 -------------------->
</div>
<!-------------------- END OF SECTION TABS ----------------->
<!-------------------- KEY VOCABULARY SECTION -------------->
<hr>
<div class='vocab-section'>
<div id="M2Vocabulary" class="h4 bold"></div>
<button id="M2Vocab1" type="button" class="btn btn-info" data-toggle="modal" data-target="#preprocessing"></button>
<button id="M2Vocab2" type="button" class="btn btn-info" data-toggle="modal" data-target="#quality"></button>
</div>
<hr>
<!-------------------- END OF KEY VOCABULARY --------------->
<!-------------------- START OF BOTTOM NAV------------------>
<div class='bottom-nav'>
<button id='M2PrevModule' class='btn btn-warning one-prev' onclick="window.location.href = 'module1.html';">Previous</button>
</div>
<!-------------------- END OF BOTTOM NAV ------------------->
</div>
<!-------------------- END OF CENTER CONTENT --------------->
<!-------------------- START OF RIGHT SIDEBAR -------------->
<div class="col-sm-2 sidenav"></div>
<!-------------------- END OF RIGHT SIDEBAR ---------------->
</div>
</div>
<!-------------------- END OF MAIN PAGE --------------------->
<!-------------------- FOOTER ------------------------------->
<nav class="navbar navbar-default navbar-fixed-bottom">
<div id="Footer" class="footer"></div>
</nav>
<!-------------------- MODAL DISPLAYS ----------------------->
<div class="modal fade" id="preprocessing" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div id="M2Vocab1Def" class="modal-body"></div>
<div class="modal-footer">
<button id="M2ModalClose1" type="button" class="btn btn-primary" data-dismiss="modal"></button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="quality" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div id="M2Vocab2Def" class="modal-body"></div>
<div class="modal-footer">
<button id="M2ModalClose2" type="button" class="btn btn-primary" data-dismiss="modal"></button>
</div>
</div>
</div>
</div>
<!-------------------- END OF MODAL DISPLAYS ---------------->
<!-------------------- LOCAL JS TO ADD CONTENT -------------->
<script src="js/fill-text.js"></script>
<script src="js/fill-tables.js"></script>
<script src="js/fill-quiz.js"></script>
<script src='js/reveal.js'></script>
<script>
getText("https://opennorth.github.io/public-consultation-data-literacy/data/text/nav.json", "EN");
getText("https://opennorth.github.io/public-consultation-data-literacy/data/text/module2.json", "EN");
getData("https://opennorth.github.io/public-consultation-data-literacy/data/consultation/ntnl-scrt-sub-email.json", "S24");
getData("https://opennorth.github.io/public-consultation-data-literacy/data/consultation/ntnl-scrt-sub-online.json", "S22");
getQuiz("https://opennorth.github.io/public-consultation-data-literacy/data/quiz/quiz2.json", "EN", "mod2");
</script>
</body>
</html>