-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.test.html
221 lines (210 loc) · 18.4 KB
/
index.test.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Moties en stemmingen 2023</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
</head>
<body>
<div id="moties" class="container py-4 px-3 mx-5 my-5">
<h1>Moties en stemmingen 2023</h1>
<div class="card my-1 motie-card border-success">
<div class="card-header text-bg-success motie-titel">
Regels ten behoeve van de hersteloperatie toeslagen (Wet hersteloperatie toeslagen)
</div>
<div class="card-body">
<h6 class="card-subtitle mb-2 motie-onderwerp">Gewijzigde motie van de leden Grinwis en Arib over de redelijk gemaakte kosten voor een schade-expert vergoeden aan gedupeerde ouders (t.v.v. 36151-19)</h6>
<h7 class="card-subtitle mb-2 text-body-secondary motie-datum">2022-10-05T08:57:35.12+02:00</h7><br/>
<h7 class="card-subtitle mb-2 text-body-secondary motie-indieners">Indieners: P.A. Grinwis (ChristenUnie); K. Arib (PvdA);</h7>
</div>
<ul class="list-group list-group-flush">
<li class="list-group-item d-flex">
<div class="flex-grow-1">
<div class="progress-stacked d-fill">
<div class="progress motie-voor" role="progressbar" aria-label="SegmentVoor" aria-valuenow="1" aria-valuemin="0" aria-valuemax="100" style="width: 99%">
<div class="progress-bar progress-bar-striped bg-success">147</div>
</div>
<div class="progress motie-tegen" role="progressbar" aria-label="SegmentTegen" aria-valuenow="1" aria-valuemin="0" aria-valuemax="100" style="width: 1%">
<div class="progress-bar progress-bar-striped bg-danger">3</div>
</div>
</div>
</div>
<div class="ps-2 motie-resultaat">
Aangenomen
<span class="vote-icon vote-voor" style="display: inline-flex; flex: 0 0 auto; width: 1.1em; height: 1.1em; border-radius: 50%; align-items: center; justify-content: center; background-color: rgb(36, 143, 0);"><svg class="vote-checkbox" viewBox="12 12 24 24" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" style="display: inline-block; width: 0.8em; height: 0.8em; color: rgb(255, 255, 255); fill: currentColor;"><path d="M22 33l14-14-2.82-2.82L22 27.34l-6.18-6.16L13 24z"></path></svg></span>
</div>
</li>
<li class="list-group-item">
<div class="container text-left">
<div class="row row-cols-2 row-cols-md-5 motie-stemming">
<div class="col" style="white-space: nowrap;">
<span class="vote-icon vote-voor" style="display: inline-flex; flex: 0 0 auto; width: 1.1em; height: 1.1em; border-radius: 50%; align-items: center; justify-content: center; background-color: rgb(36, 143, 0);"><svg class="vote-checkbox" viewBox="12 12 24 24" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" style="display: inline-block; width: 0.8em; height: 0.8em; color: rgb(255, 255, 255); fill: currentColor;"><path d="M22 33l14-14-2.82-2.82L22 27.34l-6.18-6.16L13 24z"></path></svg></span>
BBB
</div>
<div class="col" style="white-space: nowrap;">
<span class="vote-icon vote-voor" style="display: inline-flex; flex: 0 0 auto; width: 1.1em; height: 1.1em; border-radius: 50%; align-items: center; justify-content: center; background-color: rgb(36, 143, 0);"><svg class="vote-checkbox" viewBox="12 12 24 24" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" style="display: inline-block; width: 0.8em; height: 0.8em; color: rgb(255, 255, 255); fill: currentColor;"><path d="M22 33l14-14-2.82-2.82L22 27.34l-6.18-6.16L13 24z"></path></svg></span>
BIJ1
</div>
<div class="col" style="white-space: nowrap;">
<span class="vote-icon vote-voor" style="display: inline-flex; flex: 0 0 auto; width: 1.1em; height: 1.1em; border-radius: 50%; align-items: center; justify-content: center; background-color: rgb(36, 143, 0);"><svg class="vote-checkbox" viewBox="12 12 24 24" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" style="display: inline-block; width: 0.8em; height: 0.8em; color: rgb(255, 255, 255); fill: currentColor;"><path d="M22 33l14-14-2.82-2.82L22 27.34l-6.18-6.16L13 24z"></path></svg></span>
CDA
</div>
<div class="col" style="white-space: nowrap;">
<span class="vote-icon vote-voor" style="display: inline-flex; flex: 0 0 auto; width: 1.1em; height: 1.1em; border-radius: 50%; align-items: center; justify-content: center; background-color: rgb(36, 143, 0);"><svg class="vote-checkbox" viewBox="12 12 24 24" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" style="display: inline-block; width: 0.8em; height: 0.8em; color: rgb(255, 255, 255); fill: currentColor;"><path d="M22 33l14-14-2.82-2.82L22 27.34l-6.18-6.16L13 24z"></path></svg></span>
ChristenUnie
</div>
<div class="col" style="white-space: nowrap;">
<span class="vote-icon vote-voor" style="display: inline-flex; flex: 0 0 auto; width: 1.1em; height: 1.1em; border-radius: 50%; align-items: center; justify-content: center; background-color: rgb(36, 143, 0);"><svg class="vote-checkbox" viewBox="12 12 24 24" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" style="display: inline-block; width: 0.8em; height: 0.8em; color: rgb(255, 255, 255); fill: currentColor;"><path d="M22 33l14-14-2.82-2.82L22 27.34l-6.18-6.16L13 24z"></path></svg></span>
D66
</div>
<div class="col" style="white-space: nowrap;">
<span class="vote-icon vote-voor" style="display: inline-flex; flex: 0 0 auto; width: 1.1em; height: 1.1em; border-radius: 50%; align-items: center; justify-content: center; background-color: rgb(36, 143, 0);"><svg class="vote-checkbox" viewBox="12 12 24 24" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" style="display: inline-block; width: 0.8em; height: 0.8em; color: rgb(255, 255, 255); fill: currentColor;"><path d="M22 33l14-14-2.82-2.82L22 27.34l-6.18-6.16L13 24z"></path></svg></span>
DENK
</div>
<div class="col" style="white-space: nowrap;">
<span class="vote-icon vote-voor" style="display: inline-flex; flex: 0 0 auto; width: 1.1em; height: 1.1em; border-radius: 50%; align-items: center; justify-content: center; background-color: rgb(36, 143, 0);"><svg class="vote-checkbox" viewBox="12 12 24 24" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" style="display: inline-block; width: 0.8em; height: 0.8em; color: rgb(255, 255, 255); fill: currentColor;"><path d="M22 33l14-14-2.82-2.82L22 27.34l-6.18-6.16L13 24z"></path></svg></span>
Fractie Den Haan
</div>
<div class="col" style="white-space: nowrap;">
<span class="vote-icon vote-voor" style="display: inline-flex; flex: 0 0 auto; width: 1.1em; height: 1.1em; border-radius: 50%; align-items: center; justify-content: center; background-color: rgb(36, 143, 0);"><svg class="vote-checkbox" viewBox="12 12 24 24" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" style="display: inline-block; width: 0.8em; height: 0.8em; color: rgb(255, 255, 255); fill: currentColor;"><path d="M22 33l14-14-2.82-2.82L22 27.34l-6.18-6.16L13 24z"></path></svg></span>
FVD
</div>
<div class="col" style="white-space: nowrap;">
<span class="vote-icon vote-voor" style="display: inline-flex; flex: 0 0 auto; width: 1.1em; height: 1.1em; border-radius: 50%; align-items: center; justify-content: center; background-color: rgb(36, 143, 0);"><svg class="vote-checkbox" viewBox="12 12 24 24" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" style="display: inline-block; width: 0.8em; height: 0.8em; color: rgb(255, 255, 255); fill: currentColor;"><path d="M22 33l14-14-2.82-2.82L22 27.34l-6.18-6.16L13 24z"></path></svg></span>
GroenLinks
</div>
<div class="col" style="white-space: nowrap;">
<span class="vote-icon vote-voor" style="display: inline-flex; flex: 0 0 auto; width: 1.1em; height: 1.1em; border-radius: 50%; align-items: center; justify-content: center; background-color: rgb(36, 143, 0);"><svg class="vote-checkbox" viewBox="12 12 24 24" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" style="display: inline-block; width: 0.8em; height: 0.8em; color: rgb(255, 255, 255); fill: currentColor;"><path d="M22 33l14-14-2.82-2.82L22 27.34l-6.18-6.16L13 24z"></path></svg></span>
Groep Van Haga
</div>
<div class="col" style="white-space: nowrap;">
<span class="vote-icon vote-voor" style="display: inline-flex; flex: 0 0 auto; width: 1.1em; height: 1.1em; border-radius: 50%; align-items: center; justify-content: center; background-color: rgb(36, 143, 0);"><svg class="vote-checkbox" viewBox="12 12 24 24" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" style="display: inline-block; width: 0.8em; height: 0.8em; color: rgb(255, 255, 255); fill: currentColor;"><path d="M22 33l14-14-2.82-2.82L22 27.34l-6.18-6.16L13 24z"></path></svg></span>
Gündogan
</div>
<div class="col" style="white-space: nowrap;">
<span class="vote-icon vote-tegen" style="display: inline-flex; flex: 0 0 auto; width: 1.1em; height: 1.1em; border-radius: 50%; align-items: center; justify-content: center; background-color: rgb(143, 0, 0)"><svg class="vote-cross" viewBox="4 4 16 16" xmlns="http://www.w3.org/2000/svg" style="display: inline-block; width: 0.8em; height: 0.8em; color: rgb(255, 255, 255); fill: currentColor;"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path></svg></span>
JA21
</div>
<div class="col" style="white-space: nowrap;">
<span class="vote-icon vote-voor" style="display: inline-flex; flex: 0 0 auto; width: 1.1em; height: 1.1em; border-radius: 50%; align-items: center; justify-content: center; background-color: rgb(36, 143, 0);"><svg class="vote-checkbox" viewBox="12 12 24 24" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" style="display: inline-block; width: 0.8em; height: 0.8em; color: rgb(255, 255, 255); fill: currentColor;"><path d="M22 33l14-14-2.82-2.82L22 27.34l-6.18-6.16L13 24z"></path></svg></span>
Omtzigt
</div>
<div class="col" style="white-space: nowrap;">
<span class="vote-icon vote-voor" style="display: inline-flex; flex: 0 0 auto; width: 1.1em; height: 1.1em; border-radius: 50%; align-items: center; justify-content: center; background-color: rgb(36, 143, 0);"><svg class="vote-checkbox" viewBox="12 12 24 24" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" style="display: inline-block; width: 0.8em; height: 0.8em; color: rgb(255, 255, 255); fill: currentColor;"><path d="M22 33l14-14-2.82-2.82L22 27.34l-6.18-6.16L13 24z"></path></svg></span>
PvdA
</div>
<div class="col" style="white-space: nowrap;">
<span class="vote-icon vote-voor" style="display: inline-flex; flex: 0 0 auto; width: 1.1em; height: 1.1em; border-radius: 50%; align-items: center; justify-content: center; background-color: rgb(36, 143, 0);"><svg class="vote-checkbox" viewBox="12 12 24 24" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" style="display: inline-block; width: 0.8em; height: 0.8em; color: rgb(255, 255, 255); fill: currentColor;"><path d="M22 33l14-14-2.82-2.82L22 27.34l-6.18-6.16L13 24z"></path></svg></span>
PvdD
</div>
<div class="col" style="white-space: nowrap;">
<span class="vote-icon vote-voor" style="display: inline-flex; flex: 0 0 auto; width: 1.1em; height: 1.1em; border-radius: 50%; align-items: center; justify-content: center; background-color: rgb(36, 143, 0);"><svg class="vote-checkbox" viewBox="12 12 24 24" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" style="display: inline-block; width: 0.8em; height: 0.8em; color: rgb(255, 255, 255); fill: currentColor;"><path d="M22 33l14-14-2.82-2.82L22 27.34l-6.18-6.16L13 24z"></path></svg></span>
PVV
</div>
<div class="col" style="white-space: nowrap;">
<span class="vote-icon vote-voor" style="display: inline-flex; flex: 0 0 auto; width: 1.1em; height: 1.1em; border-radius: 50%; align-items: center; justify-content: center; background-color: rgb(36, 143, 0);"><svg class="vote-checkbox" viewBox="12 12 24 24" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" style="display: inline-block; width: 0.8em; height: 0.8em; color: rgb(255, 255, 255); fill: currentColor;"><path d="M22 33l14-14-2.82-2.82L22 27.34l-6.18-6.16L13 24z"></path></svg></span>
SGP
</div>
<div class="col" style="white-space: nowrap;">
<span class="vote-icon vote-voor" style="display: inline-flex; flex: 0 0 auto; width: 1.1em; height: 1.1em; border-radius: 50%; align-items: center; justify-content: center; background-color: rgb(36, 143, 0);"><svg class="vote-checkbox" viewBox="12 12 24 24" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" style="display: inline-block; width: 0.8em; height: 0.8em; color: rgb(255, 255, 255); fill: currentColor;"><path d="M22 33l14-14-2.82-2.82L22 27.34l-6.18-6.16L13 24z"></path></svg></span>
SP
</div>
<div class="col" style="white-space: nowrap;">
<span class="vote-icon vote-voor" style="display: inline-flex; flex: 0 0 auto; width: 1.1em; height: 1.1em; border-radius: 50%; align-items: center; justify-content: center; background-color: rgb(36, 143, 0);"><svg class="vote-checkbox" viewBox="12 12 24 24" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" style="display: inline-block; width: 0.8em; height: 0.8em; color: rgb(255, 255, 255); fill: currentColor;"><path d="M22 33l14-14-2.82-2.82L22 27.34l-6.18-6.16L13 24z"></path></svg></span>
Volt
</div>
<div class="col" style="white-space: nowrap;">
<span class="vote-icon vote-voor" style="display: inline-flex; flex: 0 0 auto; width: 1.1em; height: 1.1em; border-radius: 50%; align-items: center; justify-content: center; background-color: rgb(36, 143, 0);"><svg class="vote-checkbox" viewBox="12 12 24 24" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" style="display: inline-block; width: 0.8em; height: 0.8em; color: rgb(255, 255, 255); fill: currentColor;"><path d="M22 33l14-14-2.82-2.82L22 27.34l-6.18-6.16L13 24z"></path></svg></span>
VVD
</div>
</div>
</div>
</li>
</ul>
</div>
<div class="card my-1 motie-card">
<div class="card-header motie-titel">
Titel
</div>
<div class="card-body">
<h6 class="card-subtitle mb-2 motie-onderwerp">Onderwerp</h6>
<h7 class="card-subtitle mb-2 text-body-secondary motie-datum">Datum</h7><br/>
<h7 class="card-subtitle mb-2 text-body-secondary motie-indieners">Indieners</h7>
</div>
<ul class="list-group list-group-flush">
<li class="list-group-item d-flex">
<div class="flex-grow-1">
<div class="progress-stacked d-fill">
<div class="progress motie-voor" role="progressbar" aria-label="SegmentVoor" aria-valuenow="1" aria-valuemin="0" aria-valuemax="100" style="width: 0%">
<div class="progress-bar progress-bar-striped bg-success">0</div>
</div>
<div class="progress motie-tegen" role="progressbar" aria-label="SegmentTegen" aria-valuenow="1" aria-valuemin="0" aria-valuemax="100" style="width: 0%">
<div class="progress-bar progress-bar-striped bg-danger">0</div>
</div>
</div>
</div>
<div class="ps-2 motie-resultaat">
Resultaat
</div>
</li>
<li class="list-group-item">
<div class="container text-left">
<div class="row row-cols-2 row-cols-md-5 motie-stemming">
Fracties
</div>
</div>
</li>
</ul>
</div>
</div>
</body>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<script src="node_modules/odata/dist/umd/o.js"></script>
<script>
const motieCardTemplate = `
<div class="card my-1 motie-card">
<div class="card-header motie-titel">
Titel
</div>
<div class="card-body">
<h6 class="card-subtitle mb-2 motie-onderwerp">Onderwerp</h6>
<h7 class="card-subtitle mb-2 text-body-secondary motie-datum">Datum</h7><br/>
<h7 class="card-subtitle mb-2 text-body-secondary motie-indieners">Indieners</h7>
</div>
<ul class="list-group list-group-flush">
<li class="list-group-item d-flex">
<div class="flex-grow-1">
<div class="progress-stacked d-fill">
<div class="progress motie-voor" role="progressbar" aria-label="SegmentVoor" aria-valuenow="1" aria-valuemin="0" aria-valuemax="100" style="width: 0%">
<div class="progress-bar progress-bar-striped bg-success">0</div>
</div>
<div class="progress motie-tegen" role="progressbar" aria-label="SegmentTegen" aria-valuenow="1" aria-valuemin="0" aria-valuemax="100" style="width: 0%">
<div class="progress-bar progress-bar-striped bg-danger">0</div>
</div>
</div>
</div>
<div class="ps-2 motie-resultaat">
Resultaat
</div>
</li>
<li class="list-group-item">
<div class="container text-left">
<div class="row row-cols-2 row-cols-md-5 motie-stemming">
Fracties
</div>
</div>
</li>
</ul>
</div>`;
const symbolVoor = ``;
const symbolTegen = ``;
const moties = document.querySelector('#moties');
window.addEventListener('load', function () {
for (var i = 0; i < 10; i += 1) {
moties.insertAdjacentHTML('beforeend', motieCardTemplate);
moties.lastElementChild.querySelector('.motie-titel').innerHTML = `Motie ${i}`;
}
});
</script>
</html>