-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
346 lines (292 loc) · 17.9 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
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
337
338
339
340
341
342
343
344
345
346
<!DOCTYPE html>
<html><!--HTML5 doctype-->
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta http-equiv="Pragma" content="no-cache">
<script type="text/javascript" charset="utf-8" src="intelxdk.js"></script>
<script type="text/javascript" language="javascript">
// This event handler is fired once the intel libraries are ready
function onDeviceReady() {
//hide splash screen now that our app is ready to run
intel.xdk.device.hideSplashScreen();
setTimeout(function () {
$.ui.launch();
}, 50);
}
//initial event handler to detect when intel is ready to roll
document.addEventListener("intel.xdk.device.ready", onDeviceReady, false);
</script>
<script src="js/appframework.ui.min.js"></script>
<script>
$.ui.autoLaunch = false;
$.ui.useOSThemes = true; //Change this to false to force a device theme
$.ui.blockPageScroll();
$(document).ready(function () {
if ($.ui.useOSThemes && !$.os.ios && $("#afui").get(0).className !== "ios")
$("#afui").removeClass("ios");
});
</script>
<!-- The next line loads our application logic. To know how to make sure the
framework loads correctly tha page before running any code on it check this script. -->
<script type="text/javascript" charset="utf-8" src="js/application.js"></script>
<link href="css/icons.css" rel="stylesheet" type="text/css">
<link href="css/af.ui.css" rel="stylesheet" type="text/css">
</head>
<!-- The id="afui" attribute lets the framework know where the application is. -->
<div id="afui" class="ios">
<div id="header" class="header"></div>
<!-- The id="content" attribute on this div containts the application panels. -->
<div id="content" style="">
<!-- Each single class="panel" div creates a panel in the UI. The selected="selected"
attribute marks the default panel, that is the one that will open when the
application starts. Remember to give panels a proper name (it will be visible
by the user), and a unique HTML id (it will be used in your JS code. -->
<div class="panel" title="Home" data-nav="nav_0" id="main" data-appbuilder-object="page"
style="" selected="selected">
<div class="container" style="width:100%" data-appbuilder-object="container">
<div class="text_item" data-appbuilder-object="text">Sei pronto a incominciare il nostro quiz?</div><a class="button"
href="#question-1" style="position: relative; z-index: 2;" data-appbuilder-object="button"
data-transition="slide" id="start">Start</a>
</div>
</div>
<div class="panel" title="Domanda 1" data-nav="nav_0" id="question-1" style=""
data-appbuilder-object="page">
<div class="container" style="width:100%" data-appbuilder-object="container">
<form id="single-choice" style="width: 100%;min-height: 50px;" data-appbuilder-object="form"
class="input-group">
<div class="text_item" data-appbuilder-object="text">Gli occhi degli esseri umani hanno sempre la stessa dimensione
dal momento della nascita fino all’età adulta?</div>
<div class="radio_element form_element" style="width: 100%; overflow: hidden; padding-bottom: 10px;"
data-appbuilder-object="radio">
<input type="radio" name="radio_1" value="on" id="radio_1_0">
<label for="radio_1_0">Vero</label>
</div>
<div class="radio_element form_element" style="width: 100%; overflow: hidden; padding-bottom: 10px;"
data-appbuilder-object="radio">
<input type="radio" name="radio_1" value="on" id="radio_1_1">
<label for="radio_1_1">Falso</label>
</div>
<div class="container" style="width: 50%; margin: 0 auto;" data-appbuilder-object="container">
<a id="question-1-answer" class="button" href="#question-2" data-appbuilder-object="button"
data-transition="slide">OK</a>
</div>
</form>
</div>
</div>
<div class="panel" title="Domanda 2" data-nav="nav_0" id="question-2" style=""
data-appbuilder-object="page">
<div class="container" style="width:100%" data-appbuilder-object="container">
<form id="single-choice" style="width: 100%;min-height: 50px;" data-appbuilder-object="form"
class="input-group">
<div class="text_item" data-appbuilder-object="text">Statisticamente qual’è l’animale più pericoloso per l’uomo?</div>
<div class="radio_element form_element" style="width: 100%; overflow: hidden; padding-bottom: 10px;"
data-appbuilder-object="radio">
<input type="radio" name="radio_2" value="on" id="radio_2_0">
<label for="radio_2_0">Lo squalo bianco</label>
</div>
<div class="radio_element form_element" style="width: 100%; overflow: hidden; padding-bottom: 10px;"
data-appbuilder-object="radio">
<input type="radio" name="radio_2" value="on" id="radio_2_1">
<label for="radio_2_1">Il cane</label>
</div>
<div class="radio_element form_element" style="width: 100%; overflow: hidden; padding-bottom: 10px;"
data-appbuilder-object="radio">
<input type="radio" name="radio_2" value="on" id="radio_2_2">
<label for="radio_2_2">La mosca</label>
</div>
<div class="container" style="width: 50%; margin: 0 auto;" data-appbuilder-object="container">
<a id="question-2-answer" class="button" href="#question-3" data-appbuilder-object="button"
data-transition="slide">OK</a>
</div>
</form>
</div>
</div>
<div class="panel" title="Domanda 3" data-nav="nav_0" id="question-3" style=""
data-appbuilder-object="page">
<div class="container" style="width:100%" data-appbuilder-object="container">
<form id="single-choice" style="width: 100%; min-height: 50px; position: relative;"
data-appbuilder-object="form" class="input-group">
<div class="text_item" data-appbuilder-object="text">Una termocoppia è:</div>
<div class="radio_element form_element" style="width: 100%; overflow: hidden; padding-bottom: 10px;"
data-appbuilder-object="radio">
<input type="radio" name="radio_3" value="on" id="radio_3_0">
<label for="radio_3_0">Un sensore di tempratura.</label>
</div>
<div class="radio_element form_element" style="width: 100%; overflow: hidden; padding-bottom: 10px;"
data-appbuilder-object="radio">
<input type="radio" name="radio_3" value="on" id="radio_3_1">
<label for="radio_3_1">un generatore termico.</label>
</div>
<div class="radio_element form_element" style="width: 100%; overflow: hidden; padding-bottom: 10px;"
data-appbuilder-object="radio">
<input type="radio" name="radio_3" value="on" id="radio_3_2">
<label for="radio_3_2">Entrambe le precedenti.</label>
</div>
<div class="container" style="width: 50%; margin: 0 auto;" data-appbuilder-object="container">
<a id="question-3-answer" class="button" href="#question-4" data-appbuilder-object="button"
data-transition="slide">OK</a>
</div>
</form>
</div>
</div>
<div class="panel" title="Domanda 4" data-nav="nav_0" id="question-4" style=""
data-appbuilder-object="page">
<div class="container" style="width:100%" data-appbuilder-object="container">
<form id="single-choice" style="width: 100%;min-height: 50px;" data-appbuilder-object="form"
class="input-group">
<div class="text_item" data-appbuilder-object="text">Un materiale dielettrico è:</div>
<div class="radio_element form_element" style="width: 100%; overflow: hidden; padding-bottom: 10px;"
data-appbuilder-object="radio">
<input type="radio" name="radio_4" value="on" id="radio_4_0">
<label for="radio_4_0">un buon conduttore di elettricità.</label>
</div>
<div class="radio_element form_element" style="width: 100%; overflow: hidden; padding-bottom: 10px;"
data-appbuilder-object="radio">
<input type="radio" name="radio_4" value="on" id="radio_4_1">
<label for="radio_4_1">un isolante che può essere polarizzato da un campo elettrico.</label>
</div>
<div class="radio_element form_element" style="width: 100%; overflow: hidden; padding-bottom: 10px;"
data-appbuilder-object="radio">
<input type="radio" name="radio_4" value="on" id="radio_4_2">
<label for="radio_4_2">un cattivo conduttore di elettricità.</label>
</div>
<div class="container" style="width: 50%; margin: 0 auto;" data-appbuilder-object="container">
<a id="question-4-answer" class="button" href="#question-5" data-appbuilder-object="button"
data-transition="slide">OK</a>
</div>
</form>
</div>
</div>
<div class="panel" title="Domanda 5" data-nav="nav_0" id="question-5" style=""
data-appbuilder-object="page">
<div class="container" style="width:100%" data-appbuilder-object="container">
<form id="single-choice" style="width: 100%;min-height: 50px;" data-appbuilder-object="form"
class="input-group">
<div class="text_item" data-appbuilder-object="text">Carcassonne è:</div>
<div class="radio_element form_element" style="width: 100%; overflow: hidden; padding-bottom: 10px;"
data-appbuilder-object="radio">
<input type="radio" name="radio_5" value="on" id="radio_5_0">
<label for="radio_5_0">una città francese della Languedoc-Roussillon.</label>
</div>
<div class="radio_element form_element" style="width: 100%; overflow: hidden; padding-bottom: 10px;"
data-appbuilder-object="radio">
<input type="radio" name="radio_5" value="on" id="radio_5_1">
<label for="radio_5_1">un gioco in scatola.</label>
</div>
<div class="radio_element form_element" style="width: 100%; overflow: hidden; padding-bottom: 10px;"
data-appbuilder-object="radio">
<input type="radio" name="radio_5" value="on" id="radio_5_2">
<label for="radio_5_2">entrambe le precedenti.</label>
</div>
<div class="container" style="width: 50%; margin: 0 auto;" data-appbuilder-object="container">
<a id="question-5-answer" class="button" href="#question-6" data-appbuilder-object="button"
data-transition="slide">OK</a>
</div>
</form>
</div>
</div>
<div class="panel" title="Domanda 6" data-nav="nav_0" id="question-6" style=""
data-appbuilder-object="page">
<div class="container" style="width:100%" data-appbuilder-object="container">
<form id="single-choice" style="width: 100%;min-height: 50px;" data-appbuilder-object="form"
class="input-group">
<div class="text_item" data-appbuilder-object="text">Socotra è:</div>
<div class="radio_element form_element" style="width: 100%; overflow: hidden; padding-bottom: 10px;"
data-appbuilder-object="radio">
<input type="radio" name="radio_6" value="on" id="radio_6_0">
<label for="radio_6_0">un’isola appartenente alla Repubblica dello Yemen.</label>
</div>
<div class="radio_element form_element" style="width: 100%; overflow: hidden; padding-bottom: 10px;"
data-appbuilder-object="radio">
<input type="radio" name="radio_6" value="on" id="radio_6_1">
<label for="radio_6_1">un paese in provincia di Cagliari.</label>
</div>
<div class="radio_element form_element" style="width: 100%; overflow: hidden; padding-bottom: 10px;"
data-appbuilder-object="radio">
<input type="radio" name="radio_6" value="on" id="radio_6_2">
<label for="radio_6_2">un piatto tipico somalo.</label>
</div>
<div class="container" style="width: 50%; margin: 0 auto;" data-appbuilder-object="container">
<a id="question-6-answer" class="button" href="#question-7" data-appbuilder-object="button"
data-transition="slide">OK</a>
</div>
</form>
</div>
</div>
<div class="panel" title="Domanda 7" data-nav="nav_0" id="question-7" style=""
data-appbuilder-object="page">
<div class="container" style="width:100%" data-appbuilder-object="container">
<form id="single-choice" style="width: 100%;min-height: 50px;" data-appbuilder-object="form"
class="input-group">
<div class="text_item" data-appbuilder-object="text">Chi è il maggior produttore di pneumatici al mondo?</div>
<div class="radio_element form_element" style="width: 100%; overflow: hidden; padding-bottom: 10px;"
data-appbuilder-object="radio">
<input type="radio" name="radio_7" value="on" id="radio_7_0">
<label for="radio_7_0">Michelin.</label>
</div>
<div class="radio_element form_element" style="width: 100%; overflow: hidden; padding-bottom: 10px;"
data-appbuilder-object="radio">
<input type="radio" name="radio_7" value="on" id="radio_7_1">
<label for="radio_7_1">Bridgestone.</label>
</div>
<div class="radio_element form_element" style="width: 100%; overflow: hidden; padding-bottom: 10px;"
data-appbuilder-object="radio">
<input type="radio" name="radio_7" value="on" id="radio_7_2">
<label for="radio_7_2">Lego.</label>
</div>
<div class="container" style="width: 50%; margin: 0 auto;" data-appbuilder-object="container">
<a id="question-7-answer" class="button" href="#results" data-appbuilder-object="button"
data-transition="slide">OK</a>
</div>
</form>
</div>
</div>
<div class="panel" title="Punteggio" data-nav="nav_0" id="results" data-appbuilder-object="page"
style="">
<div class="grid" data-appbuilder-object="grid2">
<div class="container col2" data-appbuilder-object="container">
<div class="text_item" data-appbuilder-object="text">Correct answers:</div>
</div>
<div class="container col2" data-appbuilder-object="container">
<div id="answer-count" class="text_item" data-appbuilder-object="text">9/10</div>
</div>
<div class="container col2" data-appbuilder-object="container">
<div class="text_item" data-appbuilder-object="text">Score:</div>
</div>
<div class="container col2" data-appbuilder-object="container">
<div id="answer-percentage" class="text_item" data-appbuilder-object="text">90%</div>
</div>
</div>
</div>
</div>
<header id="header_0" data-appbuilder-object="header" style="" class="">
<a id="backButton" href="#" class="button back" style="visibility: visible; " data-appbuilder-object="button">Back</a>
</header>
<div id="navbar" class="footer">
<a href="#main" class="icon home">Home</a>
</div>
<nav id="nav_0" data-appbuilder-object="nav" style="" class="">
<h1>Indice delle domande</h1>
<ol>
<li><a href="#question-1">Domanda 1</a>
</li>
<li><a href="#question-2">Domanda 2</a>
</li>
<li><a href="#question-3">Domanda 3</a>
</li>
<li><a href="#question-4">Domanda 4</a>
</li>
<li><a href="#question-5">Domanda 5</a>
</li>
<li><a href="#question-6">Domanda 6</a>
</li>
<li><a href="#question-7">Domanda 7</a>
</li>
<li><a href="#results">Risultati</a>
</li>
</ol>
</nav>
</div>
</html>