-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIndex.html
381 lines (328 loc) · 15.7 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
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
<!doctype html>
<html lang="nl" xmlns="http://www.w3.org/1999/html">
<head>
<link href="css/style.css" rel="stylesheet" type="text/css">
<link href="css/w3.css" rel="stylesheet">
<link href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" rel="stylesheet">
<link rel="icon" href="img/favicon.ico" type="image/x-icon"/>
<meta charset="UTF-8">
<meta content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
name="viewport">
<title>Stemwijzer</title>
</head>
<body id="body">
<section id="home">
<div class="w3-container">
<div class="container-inside">
<div class="logo-stemwijzer">
<img alt="logo" class="logo_img" src="img/logo-stemwijzer.svg">
</div>
<!-- Hier maak ik een div voor de titel-->
<div class="homeContext">
<p>StemWijzer Tweede Kamer 2017</p>
<!-- Deze div heb ik toegevoegd voor het bovenste stuk (de button en de grote titel) -->
<div class="description">
<h2 class="tilte">Test uw politieke voorkeur aan de hand van 30 stellingen</h2>
<button class="w3-button w3-black w3-round w3-right" id="startButton"> Start
</button>
</div>
</div>
<!-- Hier maak ik een div aan voor een icon -->
<div class="visualIconDiv">
<img class="icon-visual" src="img/icon-visual.svg" alt="icon-visual">
</div>
<!-- Hier maak ik een div aan voor de intro text -->
<div class="visualDescription">
<p>
Bekijk de toegankelijke versie voor mensen met een visuele beperking
</p>
</div>
<!-- Hier maak ik een div aan voor de privacy icon -->
<div class="privacyIcon">
<img class="privacy-icon" src="img/privacy.svg" alt="privacy-icon">
</div>
<!-- Hier maak ik een div aan voor de cookies text -->
<div class="cookiesDescription">
<p>
De StemWijzer maakt geen gebruik van cookies. Klik hier voor de volledige privacy statement
</p>
</div>
<!-- Hier maak een div aan en in die div zit de beschrijving van de stemmentracker -->
<div class="contextDiv">
<div class="adv__container">
<h2 class="adv__title">
<a href="https://www.stemmentracker.nl/" target="new">
<img class="logo-stemmentracker" src="img/logo-stemmentracker.svg"
alt="stemmentracker"></a>
</h2>
<p class="adv__description">Wat hebben de partijen in het verleden waargemaakt van hun
verkiezingsbeloften? 'Track' uw stem met de Stemmentracker, een website die terugblikt op 30
Tweede Kamerstemmingen van de afgelopen regeerperiode. Met welke partij stemde u mee?</p>
</div>
</div>
</div>
<!-- Hier maak ik een div aan voor de footer. Voor de logo's -->
<section class="footer">
<!-- Hier maak ik een extra div voor de linker kant, zodat 1 logo links staat -->
<div class="footerLeft">
<img alt="stemwijzerLogo" id="stemwijzerLogo" class="w3-bottom" src="img/logo-stemwijzer-white.png">
</div>
<!-- Hier maak ik een extra div voor de rechter kant, zodat 1 logo rechts staat -->
<div class="footerRight">
<img alt="logoProdemos" class="w3-bottom" id="prodemosLogo" src="img/logo-prodemos.svg">
<img alt="logo-1v" id="logo-1v" src="img/logo-1v-small.svg">
</div>
</section>
</div>
<!-- Hier maak ik een div aan voor alle partijen die op mijn home screen staan -->
<section class="partiesContainer">
<div class="parties w3-mobile">
<img alt="1vandaag" src="img/1vandaag.svg" class="eenVandaag">
<h5 class="text">Deze partijen doen mee:</h5>
<div class="party w3-mobile w3-mobile">
<a href="http://vvd.nl" target="_blank">
<img alt="VVD" class="party__logo" src="img/parties/vvd.svg" title="VVD">
</a>
</div>
<div class="party w3-mobile">
<a href="https://www.pvda.nl/verkiezingen/verkiezingsprogramma/" target="_blank">
<img alt="PvdA" class="party__logo" src="img/parties/pvda.svg" title="PvdA">
</a>
</div>
<div class="party w3-mobile">
<a href="http://pvv.nl/" target="_blank">
<img alt="PVV" class="party__logo" src="img/parties/pvv.svg" title="PVV">
</a>
</div>
<div class="party w3-mobile">
<a href="https://www.sp.nl/" target="_blank">
<img alt="SP" class="party__logo" src="img/parties/sp.svg" title="SP">
</a>
</div>
<div class="party w3-mobile">
<a href="https://www.cda.nl/" target="_blank">
<img alt="CDA" class="party__logo" src="img/parties/cda.svg" title="CDA">
</a>
</div>
<div class="party w3-mobile">
<a href="http://d66.nl" target="_blank">
<img alt="D66" class="party__logo" src="img/parties/d66.svg" title="D66">
</a>
</div>
<div class="party w3-mobile">
<a href="https://www.christenunie.nl/" target="_blank">
<img alt="ChristenUnie" class="party__logo" src="img/parties/christenunie.svg"
title="ChristenUnie">
</a>
</div>
<div class="party w3-mobile">
<a href="https://groenlinks.nl/" target="_blank">
<img alt="GroenLinks" class="party__logo" src="img/parties/groenlinks.svg" title="GroenLinks">
</a>
</div>
<div class="party">
<a href="https://www.sgp.nl/" target="_blank">
<img alt="SGP" class="party__logo" src="img/parties/sgp.svg" title="SGP">
</a>
</div>
<div class="party">
<a href="https://www.partijvoordedieren.nl/" target="_blank">
<img alt="Partij voor de Dieren" class="party__logo" src="img/parties/pvdd.svg"
title="Partij voor de Dieren">
</a>
</div>
<div class="party">
<a href="http://50pluspartij.nl/" target="_blank">
<img alt="50Plus" class="party__logo" src="img/parties/50plus.svg" title="50Plus" ;>
</a>
</div>
<div class="party">
<a href="http://www.ondernemerspartij.nl" target="_blank">
<img alt="OndernemersPartij" class="party__logo" src="img/parties/ondernemerspartij.png"
title="OndernemersPartij">
</a>
</div>
<div class="party">
<a href="http://vnl.nu" target="_blank">
<img alt="VNL" class="party__logo" src="img/parties/vnl.svg" title="VNL">
</a>
</div>
<div class="party">
<a href="https://www.bewegingdenk.nl/" target="_blank">
<img alt="DENK" class="party__logo" src="img/parties/denk.svg" title="DENK">
</a>
</div>
<div class="party">
<a href="http://nieuwewegen.nu" target="_blank">
<img alt="Nieuwe Wegen" class="party__logo" src="img/parties/nieuwewegen.png"
title="Nieuwe Wegen">
</a>
</div>
<div class="party">
<a href="https://forumvoordemocratie.nl/" target="_blank">
<img alt="Forum voor Democratie" class="party__logo" src="img/parties/forumvoordemocratie.png"
title="Forum voor Democratie">
</a>
</div>
<div class="party">
<a href="http://www.deburgerbeweging.nl/" target="_blank">
<img alt="De Burger Beweging" class="party__logo" src="img/parties/burgerbeweging (2).png"
title="De Burger Beweging">
</a>
</div>
<div class="party">
<a href="http://www.vrijzinnigepartij.nl" target="_blank">
<img alt="Vrijzinnige Partij" class="party__logo" src="img/parties/vrijzinnigepartij.png"
title="Vrijzinnige Partij">
</a>
</div>
<div class="party">
<a href="https://piratenpartij.nl/" target="_blank">
<img alt="Piratenpartij" class="party__logo" src="img/parties/piratenpartij.svg"
title="Piratenpartij">
</a>
</div>
<div class="party">
<a href="http://www.artikel1.org" target="_blank">
<img alt="Artikel 1" class="party__logo" src="img/parties/artikel1.png" title="Artikel 1">
</a>
</div>
<div class="party">
<a href="http://www.nietstemmers.nl" target="_blank">
<img alt="Niet Stemmers" class="party__logo" src="img/parties/nietstemmers.svg"
title="Niet Stemmers">
</a>
</div>
<div class="party">
<a href="http://www.stemlp.nl" target="_blank">
<img alt="Libertarische Partij" class="party__logo" src="img/parties/libertarischepartij.svg"
title="Libertarische Partij">
</a>
</div>
<div class="party">
<a href="http://lokaalindekamer.nl" target="_blank">
<img alt="Lokaal in de Kamer" class="party__logo" src="img/parties/lokaalindekamer.svg"
title="Lokaal in de Kamer">
</a>
</div>
</div>
<!-- Dit is een div speciaal voor de partijen die niet mee doen -->
<div class="no-parties w3-mobile">
<h5 class="text">Deze partijen doen niet mee:</h5>
<div class="party">
<a href="https://www.geenpijl.nl" target="_blank">
<img alt="Geen pijl" class="party__logo" src="img/parties/geenpeil.png" title="Geen pijl">
</a>
</div>
<div class="party">
<a href="http://www.stemlp.nl" target="_blank">
<img alt="Libertarische Partij" class="party__logo" src="img/parties/jezusleeft.png"
title="Libertarische Partij">
</a>
</div>
<div class="party">
<a href="http://lokaalindekamer.nl" target="_blank">
<img alt="Lokaal in de Kamer" class="party__logo" src="img/parties/stemnl.png"
title="Lokaal in de Kamer">
</a>
</div>
<div class="party">
<a href="http://lokaalindekamer.nl" target="_blank">
<img alt="Lokaal in de Kamer" class="party__logo" src="img/parties/mensspirit.png"
title="Lokaal in de Kamer">
</a>
</div>
<div class="party">
<a href="http://lokaalindekamer.nl" target="_blank">
<img alt="Lokaal in de Kamer" class="party__logo" src="img/parties/vdp.png"
title="Lokaal in de Kamer">
</a>
</div>
</div>
</section>
</section>
<!-- Hier maak ik een div aan met een class en id statement. Dit is voor het stuk waar de vragen tevoorschijn komen -->
<section id="statements" class="statements">
<div id="statement-cont">
<p class="progressText"></p>
<div id="progressBar">
<div class="progressBarFull"></div>
</div>
<!--Deze div is voor de terug button-->
<div class="application_navigation">
<button onclick="previousQuestion()" value="Go back to previous question" class="btn_back">
<i class="fas fa-arrow-left"></i>
</button>
</div>
<div class="section" id="section">
<div class="statement_wrapper">
<h3 id="opinionsTitle"></h3>
<p id="statementDescription"></p>
</div>
<div class="w3-container checkboxContainer">
<label class="partyCheckbox" for="importantCheckbox">Laat dit onderwerp zwaarder meetellen</label>
<input class="checkboxInput" id="importantCheckbox" type="checkbox">
</div>
<!-- Hier maak ik de knoppen aan waar je op moet klikken en geef ik een onclick functie eraan mee -->
<div id="answer-buttons" class="w3-left ">
<button class="w3-button w3-round answerSection" id="pro">Eens
</button>
<button class="w3-button w3-round answerSection" id="none">Geen van beide
</button>
<button class="w3-button w3-round answerSection" id="contra">Oneens
</button>
</div>
<button id="btn_skip" onclick="nextStatement()" class="skip_btn "> Overslaan<i
class="fa fa-arrow-right" id="skip"></i></button>
</div>
</div>
</section>
<!-- Hier maak ik een sectie aan en in die sectie word gevraagd welke partijen je mee wilt nemen -->
<section id="partyPage" class="partyPage">
<div class="partyContext">
<h3 class="title">Welke partijen wilt u meenemen in het resultaat?</h3>
<p class="tekst">U kunt kiezen voor zittende partijen, die nu in de Tweede Kamer vertegenwoordigd zijn.
Daarbij nemen we ook de partijen mee die in de peilingen op minimaal één zetel staan. U kunt alle partijen
meenemen en u kunt een eigen selectie maken van tenminste drie partijen.</p>
<div id="importantSubjects">
<h4>Kies de partijen die u mee wilt nemen in het resultaat</h4>
<button id="seated" class="w3-button w3-round w3-border filterParty">
Selecteer zittende partijen
</button>
<button id="all" class="w3-button w3-round w3-border filterParty">
Selecteer alle partijen
</button>
<button id="bigger" class="w3-button w3-round w3-border filterParty">
Selecteer de grote partijen
</button>
<div class="w3-row w3-center ">
<div class="w3-col s4">
<div class="w3-left-align" id='partyOrder'></div>
</div>
</div>
</div>
<br><br>
<button class="resultButton w3-button w3-round w3-border" id="resultPage">Naar resultaat gaan
</button>
</div>
</section>
<!-- Hier word een container gemaakt voor de resultaten van 1 naar 3 -->
<section id="resultSection">
<div class="placeContainer">
<h3 class="resultTitle">Resultaat</h3>
<div class="firstPlace">
<p id="1st">1: </p>
</div>
<div class="secondPlace">
<p id="2nd">2: </p>
</div>
<div class="thirdPlace">
<p id="3rd">3: </p>
</div>
</div>
</section>
<!--<script type="text/javascript" src="js/testdata.js"></script>-->
<script type="text/javascript" src="js/data.js"></script>
<script src="js/script.js"></script>
</body>
</html>