-
Notifications
You must be signed in to change notification settings - Fork 1
/
module1.html
336 lines (286 loc) · 15.5 KB
/
module1.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
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
<!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 active" href="module1.html"></a>
<a id="Dropdown3" class="dropdown-item" 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="M1Title" class="h2"></div>
<!-------------------- SECTION TABS ------------------------>
<ul class="nav nav-tabs">
<li class="nav-item">
<a id="M1S1Tab" class="nav-link active tabs" data-toggle="tab" href="#first"></a>
</li>
<li class="nav-item">
<a id="M1S2Tab" class="nav-link tabs" data-toggle="tab" href="#second"></a>
</li>
<li class="nav-item">
<a id="M1S3Tab" class="nav-link tabs" data-toggle="tab" href="#third"></a>
</li>
<li class="nav-item">
<a id="M1S4Tab" 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="M1S1Title" class="h3 bold underline"></div>
<div id="M1S1Text1" class='body-text'></div>
<div class="button-group">
<button type="button" class="btn btn-success" id="M1S1Button1" onclick="reveal('notesDiv')"></button>
<button type="button" class="btn btn-success" id="M1S1Button2" onclick="reveal('spreadsheetDiv')"></button>
<button type="button" class="btn btn-success" id="M1S1Button3" onclick="reveal('transcriptDiv')"></button>
</div>
<div id='notesDiv' class="card text-white bg-primary mb-3 popup">
<div id="M1S1Button1Title"class="card-header bold">
<button type="button" class="close" onclick="reveal('notesDiv')" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="card-body">
<p id="M1S1Button1Text"class="card-text"></p>
<div class=card-image><img src='images/notes.jpg' alt='Image of handwritten notes'></div>
</div>
</div>
<div id='spreadsheetDiv' class="card text-white bg-primary mb-3 popup">
<div id="M1S1Button2Title"class="card-header bold">
<button type="button" class="close" onclick="reveal('spreadsheetDiv')" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="card-body">
<p id="M1S1Button2Text"class="card-text"></p>
<div class=card-image><img src='images/spreadsheet.PNG' alt='Image of a spreadsheet of data'></div>
</div>
</div>
<div id='transcriptDiv' class="card text-white bg-primary mb-3 popup">
<div id="M1S1Button3Title"class="card-header bold">
<button type="button" class="close" onclick="reveal('transcriptDiv')" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="card-body">
<p id="M1S1Button3Text" class="card-text"></p>
<div class=card-image><img src='images/transcript.png' alt='Image of a transcript'></div>
</div>
</div>
<div id ='M1S1Text2' class='body-text'></div>
</div>
<!-------------------- SECTION 2 --------------------------->
<div class="tab-pane fade" id="second">
<div id="M1S2Title" class="h3 bold underline"></div>
<div id="M1S2Text1" class='body-text'></div>
<div class='box'>
<div class='vertical'>
<div class="card text-white bg-primary mb-3 m2">
<div id="M1S2Card1Title" class="card-header bold"></div>
<div class='card-body'>
<p id="M1S2Card1Text" class="card-text"></p>
<button type="button" class="btn btn-warning" onclick='reveal("more-qual")' id='M1S2Card1Button'></button>
<div class='sub' id='more-qual'>
<div class="card border-primary mb-3 m2">
<div id="M1S2Card1Sub1Title" class="card-header bold"></div>
<div id="M1S2Card1Sub1Text" class='card-body'></div>
</div>
<div class="card border-primary mb-3 m2">
<div id="M1S2Card1Sub2Title" class="card-header bold"></div>
<div id="M1S2Card1Sub2Text" class='card-body'></div>
</div>
</div>
</div>
</div>
</div>
<div class='vertical'>
<div class="card text-white bg-primary mb-3 m2">
<div id="M1S2Card2Title" class="card-header bold"></div>
<div class='card-body'>
<p id="M1S2Card2Text" class="card-text"></p>
<button type="button" class="btn btn-warning" onclick='reveal("more-quant")' id='M1S2Card2Button'></button>
<div class='sub' id='more-quant'>
<div class="card border-info mb-3 m2">
<div id="M1S2Card2Sub1Title" class="card-header bold"></div>
<div id="M1S2Card2Sub1Text" class='card-body'></div>
</div>
<div class="card border-info mb-3 m2">
<div id="M1S2Card2Sub2Title" class="card-header bold"></div>
<div id="M1S2Card2Sub2Text" class='card-body'></div>
</div>
</div>
</div>
</div>
</div>
<div class='vertical'>
<div class="card text-white bg-primary mb-3 m2">
<div id="M1S2Card3Title" class="card-header bold"></div>
<div id="M1S2Card3Text" class='card-body'></div>
</div>
</div>
</div>
<div id="M1S2Text2" class='body-text'></div>
</div>
<!-------------------- SECTION 3 --------------------------->
<div class="tab-pane fade" id="third">
<div id="M1S3Title" class="h3 bold underline"></div>
<div id="M1S3Text1" class='body-text'></div>
<div id="M1S3Text2" class='body-text highlight-2'></div>
<div class='table' id="example-table"></div>
<div class='button group'>
<button type="button" class="btn btn-success btn-sm data-type" id='M1S3Button1'></button>
<button type="button" class="btn btn-success btn-sm data-type" id='M1S3Button2'></button>
<button type="button" class="btn btn-success btn-sm data-type" id='M1S3Button3'></button>
<button type="button" class="btn btn-success btn-sm data-type" id='M1S3Button4'></button>
<button type="button" class="btn btn-success btn-sm data-type" id='M1S3Button5'></button>
</div>
<div id="M1S3Text3" class='body-text'></div>
</div>
<!-------------------- SECTION 4 --------------------------->
<div class="tab-pane fade" id="fourth">
<div id="M1S4Title" class="h3 bold underline"></div>
<div id="M1S4Text1" class="body-text"></div>
<div id="M1S4Text2" class='body-text highlight-2'></div>
<div class='table' id='quiz1-table'></div>
<div id="quiz"></div>
<button type="button" id="M1S4Button1" class="btn btn-success"></button>
<button type="button" class="btn btn-success" id="M1S4Button2" onclick="reveal('M1S4Answers')"></button>
<div id="results"></div>
<div id='M1S4Answers' 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="M1Vocabulary" class="h4 bold"></div>
<button id="M1Vocab1" type="button" class="btn btn-info" data-toggle="modal" data-target="#data"></button>
<button id="M1Vocab2" type="button" class="btn btn-info" data-toggle="modal" data-target="#quantitative"></button>
<button id="M1Vocab3" type="button" class="btn btn-info" data-toggle="modal" data-target="#qualitative"></button>
<button id="M1Vocab4" type="button" class="btn btn-info" data-toggle="modal" data-target="#md"></button>
</div>
<hr>
<!-------------------- END OF KEY VOCABULARY --------------->
<!-------------------- START OF BOTTOM NAV------------------>
<div class='bottom-nav'>
<button id='M1PrevButton' class='btn btn-warning' onclick="window.location.href = 'overview.html';"></button>
<button id='M1NextModule' class='btn btn-warning' onclick="window.location.href = 'module2.html';"></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="data" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div id="M1Vocab1Def" class="modal-body"></div>
<div class="modal-footer">
<button id="M1ModalClose1" type="button" class="btn btn-primary" data-dismiss="modal"></button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="quantitative" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div id="M1Vocab2Def" class="modal-body"></div>
<div class="modal-footer">
<button id="M1ModalClose2" type="button" class="btn btn-primary" data-dismiss="modal"></button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="qualitative" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div id="M1Vocab3Def" class="modal-body"></div>
<div class="modal-footer">
<button id="M1ModalClose3" type="button" class="btn btn-primary" data-dismiss="modal"></button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="md" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div id="M1Vocab4Def" class="modal-body"></div>
<div class="modal-footer">
<button id="M1ModalClose4" 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/module1.json", "EN");
getData("https://opennorth.github.io/public-consultation-data-literacy/data/consultation/parks-consultation.json", "S13");
getData("https://opennorth.github.io/public-consultation-data-literacy/data/consultation/gen-eng-subset.json", "S14");
getQuiz("https://opennorth.github.io/public-consultation-data-literacy/data/quiz/quiz1.json", "EN", "mod1");
</script>
</body>
</html>