Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
500 lines (476 loc) · 17.4 KB
/
Copy pathindex.html
File metadata and controls
500 lines (476 loc) · 17.4 KB
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
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
<!DOCTYPE html>
<html lang="fi">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover"
/>
<meta name="color-scheme" content="light dark" />
<meta name="theme-color" content="#1A3A6B" />
<title>Fiilismittari / Mood Meter</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="tausta" aria-hidden="true">
<span class="lampo lampo-1"></span>
<span class="lampo lampo-2"></span>
<span class="lampo lampo-3"></span>
</div>
<div class="sovellus">
<!-- ============================ ALOITUSNÄKYMÄ ============================ -->
<section
id="naytto-aloitus"
class="naytto aktiivinen"
aria-labelledby="aloitus-otsikko"
>
<div class="kortti aloitus-kortti">
<header class="aloitus-otsake">
<img
src="logos.png"
alt="AIMlearning ja Centria-ammattikorkeakoulu"
class="logo"
/>
<h1 id="aloitus-otsikko" class="otsikko">Fiilismittari</h1>
<p class="otsikko-alaotsikko">Mood Meter</p>
<p class="johdanto">
Kerro hetki fiiliksestäsi — alle minuutti, täysin anonyymi.
<span class="johdanto-en"
>Tell us how you feel — under a minute, completely
anonymous.</span
>
</p>
</header>
<div class="valinta-lohko">
<h2 class="lohko-otsikko">
1. Valitse kieli
<span class="lohko-otsikko-en">/ Choose language</span>
</h2>
<div
class="kieli-ruudukko"
role="radiogroup"
aria-label="Kieli / Language"
>
<button
type="button"
class="kielikortti valittu"
data-kieli="fi"
role="radio"
aria-checked="true"
>
<svg
class="lippu"
viewBox="0 0 24 15"
aria-hidden="true"
focusable="false"
>
<rect width="24" height="15" fill="#ffffff"></rect>
<rect y="5.5" width="24" height="4" fill="#003580"></rect>
<rect x="6" width="4" height="15" fill="#003580"></rect>
</svg>
<span class="kielikortti-nimi">Suomi</span>
<span class="kielikortti-ala">Finnish</span>
<span class="valintamerkki" aria-hidden="true">
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="3.2"
stroke-linecap="round"
stroke-linejoin="round"
focusable="false"
>
<path d="M5 13l4 4L19 7"></path>
</svg>
</span>
</button>
<button
type="button"
class="kielikortti"
data-kieli="en"
role="radio"
aria-checked="false"
>
<svg
class="lippu"
viewBox="0 0 24 15"
aria-hidden="true"
focusable="false"
>
<rect width="24" height="15" fill="#012169"></rect>
<path
d="M0 0 L24 15 M24 0 L0 15"
stroke="#ffffff"
stroke-width="3"
></path>
<path
d="M0 0 L24 15 M24 0 L0 15"
stroke="#C8102E"
stroke-width="1.4"
></path>
<path
d="M12 0 V15 M0 7.5 H24"
stroke="#ffffff"
stroke-width="5"
></path>
<path
d="M12 0 V15 M0 7.5 H24"
stroke="#C8102E"
stroke-width="3"
></path>
</svg>
<span class="kielikortti-nimi">English</span>
<span class="kielikortti-ala">Englanti</span>
<span class="valintamerkki" aria-hidden="true">
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="3.2"
stroke-linecap="round"
stroke-linejoin="round"
focusable="false"
>
<path d="M5 13l4 4L19 7"></path>
</svg>
</span>
</button>
</div>
</div>
<div class="valinta-lohko">
<h2 class="lohko-otsikko">
2. Valitse kysely
<span class="lohko-otsikko-en">/ Choose survey</span>
</h2>
<div
class="tyyppi-ruudukko"
role="radiogroup"
aria-label="Kyselyn tyyppi / Survey type"
>
<button
type="button"
class="tyyppikortti valittu"
data-versio="perus"
role="radio"
aria-checked="true"
>
<span class="tyyppikortti-ikoni" aria-hidden="true">
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="1.8"
stroke-linecap="round"
stroke-linejoin="round"
focusable="false"
>
<circle cx="12" cy="12" r="9"></circle>
<path d="M8.5 14.4a4.6 4.6 0 0 0 7 0"></path>
<path d="M9 9.5h.01M15 9.5h.01"></path>
</svg>
</span>
<span class="tyyppikortti-otsikko">Perus / Basic</span>
<span class="tyyppikortti-kuvaus">Nopea fiilismittari</span>
<span class="valintamerkki" aria-hidden="true">
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="3.2"
stroke-linecap="round"
stroke-linejoin="round"
focusable="false"
>
<path d="M5 13l4 4L19 7"></path>
</svg>
</span>
</button>
<button
type="button"
class="tyyppikortti"
data-versio="amk"
role="radio"
aria-checked="false"
>
<span class="tyyppikortti-ikoni" aria-hidden="true">
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="1.8"
stroke-linecap="round"
stroke-linejoin="round"
focusable="false"
>
<path d="M2 9l10-5 10 5-10 5L2 9z"></path>
<path d="M6 11.2v5c0 1.5 2.7 3 6 3s6-1.5 6-3v-5"></path>
</svg>
</span>
<span class="tyyppikortti-otsikko">AMK / Student</span>
<span class="tyyppikortti-kuvaus"
>Opiskelijan arki ja jaksaminen</span
>
<span class="valintamerkki" aria-hidden="true">
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="3.2"
stroke-linecap="round"
stroke-linejoin="round"
focusable="false"
>
<path d="M5 13l4 4L19 7"></path>
</svg>
</span>
</button>
<button
type="button"
class="tyyppikortti"
data-versio="tyoton"
role="radio"
aria-checked="false"
>
<span class="tyyppikortti-ikoni" aria-hidden="true">
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="1.8"
stroke-linecap="round"
stroke-linejoin="round"
focusable="false"
>
<rect x="3" y="7" width="18" height="13" rx="2"></rect>
<path
d="M9 7V5.2A2.2 2.2 0 0 1 11.2 3h1.6A2.2 2.2 0 0 1 15 5.2V7"
></path>
<path d="M3 12.6h18"></path>
</svg>
</span>
<span class="tyyppikortti-otsikko">Työtön / Unemployed</span>
<span class="tyyppikortti-kuvaus">Työnhaku ja tulevaisuus</span>
<span class="valintamerkki" aria-hidden="true">
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="3.2"
stroke-linecap="round"
stroke-linejoin="round"
focusable="false"
>
<path d="M5 13l4 4L19 7"></path>
</svg>
</span>
</button>
<button
type="button"
class="tyyppikortti"
data-versio="yritys"
role="radio"
aria-checked="false"
>
<span class="tyyppikortti-ikoni" aria-hidden="true">
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="1.8"
stroke-linecap="round"
stroke-linejoin="round"
focusable="false"
>
<path
d="M4 21V5.2A2.2 2.2 0 0 1 6.2 3h6.6A2.2 2.2 0 0 1 15 5.2V21"
></path>
<path d="M15 21V10.2h2.8A2.2 2.2 0 0 1 20 12.4V21"></path>
<path d="M3 21h18"></path>
<path d="M7.4 7h3.2M7.4 11h3.2M7.4 15h3.2"></path>
</svg>
</span>
<span class="tyyppikortti-otsikko">Yritys / Business</span>
<span class="tyyppikortti-kuvaus">Vierailukokemus</span>
<span class="valintamerkki" aria-hidden="true">
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="3.2"
stroke-linecap="round"
stroke-linejoin="round"
focusable="false"
>
<path d="M5 13l4 4L19 7"></path>
</svg>
</span>
</button>
</div>
</div>
<button
type="button"
id="aloita-nappi"
class="nappi nappi-ensisijainen nappi-iso"
>
Aloita kysely / Start survey
</button>
</div>
</section>
<!-- ============================= KYSYMYSNÄKYMÄ ============================= -->
<section
id="naytto-kysely"
class="naytto"
aria-labelledby="kysymys-otsikko"
>
<div class="kortti kysely-kortti">
<header class="kysely-ylapalkki">
<button
type="button"
id="koti-nappi"
class="kuvake-nappi"
aria-label="Alkuvalikko / Home"
>
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
aria-hidden="true"
focusable="false"
>
<path d="M3 10.4 12 3l9 7.4"></path>
<path d="M5.4 9.4V21h13.2V9.4"></path>
</svg>
</button>
<div class="edistyminen">
<div
class="edistyminen-palkki"
id="edistyminen-palkki"
aria-hidden="true"
></div>
<span
class="edistyminen-teksti"
id="edistyminen-teksti"
aria-live="polite"
>Kysymys 1 / 6</span
>
</div>
<div class="ylapalkki-oikea">
<span class="chip" id="versio-chip">Perus / Basic</span>
<span class="chip chip-kieli" id="kieli-chip">FI</span>
<button
type="button"
id="fullscreen-nappi"
class="kuvake-nappi"
aria-label="Koko näyttö / Fullscreen"
>
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
aria-hidden="true"
focusable="false"
>
<path d="M4 9V4h5"></path>
<path d="M20 15v5h-5"></path>
<path d="M15 4h5v5"></path>
<path d="M9 20H4v-5"></path>
</svg>
</button>
</div>
</header>
<h2
id="kysymys-otsikko"
class="kysymys-otsikko"
aria-live="polite"
></h2>
<div id="kysymys-sisalto" class="kysymys-sisalto"></div>
<footer class="kysely-alapalkki">
<button type="button" id="edellinen-nappi" class="nappi nappi-avo">
← Edellinen / Previous
</button>
<button
type="button"
id="alkuvalikko-nappi"
class="nappi nappi-linkki"
>
Alkuvalikko / Home
</button>
</footer>
</div>
</section>
<!-- ============================== KIITOSNÄKYMÄ ============================== -->
<section
id="naytto-kiitos"
class="naytto"
aria-labelledby="kiitos-otsikko"
>
<div class="kortti kiitos-kortti">
<div class="rasti-ympyra" aria-hidden="true">
<svg class="rasti-svg" viewBox="0 0 52 52" focusable="false">
<circle class="rasti-keha" cx="26" cy="26" r="24"></circle>
<path class="rasti-viiva" d="M14.5 27.2 22 34.5 37.5 16.5"></path>
</svg>
</div>
<h2 id="kiitos-otsikko" class="kiitos-otsikko">
Kiitos palautteestasi!
</h2>
<p class="kiitos-alaotsikko">Thank you for your feedback!</p>
<p class="kiitos-teksti">Vastauksesi on tallennettu anonyymisti.</p>
<p class="kiitos-teksti kiitos-teksti-en">
Your response has been recorded anonymously.
</p>
<p class="kiitos-maara" id="kiitos-maara">
Vastasit 6 kysymykseen / You answered 6 questions
</p>
<img
src="logos.png"
alt="AIMlearning ja Centria-ammattikorkeakoulu"
class="logo kiitos-logo"
/>
<p class="rahoitus">
Tämä kysely on toteutettu Euroopan unionin osarahoittamassa
AIMlearning-hankkeessa.
<span class="rahoitus-en"
>This survey has been implemented in the EU co-funded AIMlearning
project.</span
>
</p>
<div class="laskuri" id="laskuri">
<svg
class="laskuri-rengas"
viewBox="0 0 44 44"
aria-hidden="true"
focusable="false"
>
<circle class="rengas-tausta" cx="22" cy="22" r="18"></circle>
<circle
class="rengas-edistyminen"
id="rengas-edistyminen"
cx="22"
cy="22"
r="18"
></circle>
</svg>
<span class="laskuri-teksti" id="laskuri-teksti"
>Palaa alkuun 8 s / Back to start 8 s</span
>
</div>
<button
type="button"
id="alusta-nappi"
class="nappi nappi-ensisijainen"
>
Aloita alusta / Start over
</button>
</div>
</section>
</div>
<script src="script.js"></script>
</body>
</html>