-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.html
444 lines (359 loc) · 19.3 KB
/
home.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
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
<!DOCTYPE html>
<html lang="nl" dir="ltr">
<!-- Mirrored from opendata.nijmegen.nl/datasets/query/-/filters/theme%3ABestuur/page/1 by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 08 Apr 2024 13:55:28 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8" /><!-- /Added by HTTrack -->
<head>
<title>1 Filter, Pagina 1 | Datasets | OpenData.Nijmegen.nl</title>
<link rel="preload" as="style"
href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,700&display=swap">
<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin="anonymous">
<link rel="preload" as="font" href="https://componenten.nijmegen.nl/v5.0.5/materialdesignicons-webfont.6dab8170.woff2"
type="font/woff2" crossorigin="anonymous">
<link rel="preload" as="font" href="https://componenten.nijmegen.nl/v5.0.5/materialdesignicons-webfont.c803ff2e.woff"
type="font/woff" crossorigin="anonymous">
<link rel="preload" as="font" href="https://componenten.nijmegen.nl/v5.0.5/oranda_bold_bt.04c85cb2.woff2"
type="font/woff2" crossorigin="anonymous">
<link rel="preload" as="font" href="https://componenten.nijmegen.nl/v5.0.5/oranda_bold_bt.8e266873.woff"
type="font/woff" crossorigin="anonymous">
<link rel="preload" as="font" href="https://componenten.nijmegen.nl/v5.0.5/oranda_bt.bde3d05f.woff2" type="font/woff2"
crossorigin="anonymous">
<link rel="preload" as="font" href="https://componenten.nijmegen.nl/v5.0.5/oranda_bt.05235f9a.woff" type="font/woff"
crossorigin="anonymous">
<meta charset="utf-8" />
<meta name="Generator" content="Drupal 9 (https://www.drupal.org)" />
<meta name="MobileOptimized" content="width" />
<meta name="HandheldFriendly" content="true" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link type="application/opensearchdescription+xml" rel="search" href="https://opendata.nijmegen.nl/osdd.xml" />
<script type="application/ld+json">{
"@context": "https://schema.org",
"@graph": [
{
"@type": "WebSite",
"@id": "https://opendata.nijmegen.nl",
"name": "OpenData.Nijmegen.nl",
"url": "https://opendata.nijmegen.nl",
"potentialAction": {
"@type": "SearchAction",
"target": {
"@type": "EntryPoint",
"urlTemplate": "https://opendata.nijmegen.nl/datasets/query/{query}/filters/-/page/1"
},
"query": "https://opendata.nijmegen.nl/datasets/query/{query}/filters/-/page/1",
"query-input": "required name=query"
},
"publisher": {
"@type": "GovernmentOrganization",
"@id": "https://nijmegen.nl",
"name": "Gemeente Nijmegen",
"url": "https://nijmegen.nl"
}
}
]
}</script>
<script type="application/ld+json">{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [{
"@type": "ListItem",
"position": "1",
"name": "Home",
"item": "https://opendata.nijmegen.nl/"
},{
"@type": "ListItem",
"position": "2",
"name": "Datasets",
"item": "https://opendata.nijmegen.nl/datasets"
},{
"@type": "ListItem",
"position": "3",
"name": "Pagina 1 | Datasets",
"item": "https://opendata.nijmegen.nl/datasets/query/-"
},{
"@type": "ListItem",
"position": "4",
"name": "1 Filter, Pagina 1 | Datasets",
"item": "https://opendata.nijmegen.nl/datasets/query/-/filters/theme%3ABestuur/page/1"
}]}</script>
<link rel="icon" href="https://opendata.nijmegen.nl/themes/custom/odn_theme/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="stylesheet" media="all" href="https://opendata.nijmegen.nl/sites/default/files/css/css_87GMcmxT1ib8ziQiU2KUAnTDFtZQV6iP-KGslA9LigM.css" />
<link rel="stylesheet" media="all" href="https://componenten.nijmegen.nl/v5.0.5/css/bootstrap.min.css" crossorigin="anonymous" integrity="sha512-bnCn1haQjQGPoq90nqpOWUiu9i60sex8WQI639yU2yElzx0pfG0hpaJrKuJTJD3bZ3lEUw+HRGEHrWm6TGsKSg==" />
<link rel="stylesheet" media="all" href="https://componenten.nijmegen.nl/v5.0.5/nijmegen.css" crossorigin="anonymous" integrity="sha512-K0XNI60CEghmZVqnSfPk/VlcZeJzQe4erheMYC0Eww9Gb7Z1l2tYI6KfjNX+vV/8M/jJNi1cJlfoCAfa6kgGkw==" />
<link rel="stylesheet" media="all" href="https://opendata.nijmegen.nl/themes/custom/odn_theme/css/overrides.css?sabzd6" />
</head>
<body class="path-datasets">
<a href="#main-content" class="visually-hidden focusable skip-link">
Overslaan en naar de inhoud gaan
</a>
<div class="dialog-off-canvas-main-canvas" data-off-canvas-main-canvas>
<nav class="navbar fixed-top navbar-expand-lg scrolling-navbar navbar-primary">
<div class="container">
<button class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#navbar-collapse"
aria-controls="navbar-collapse" aria-expanded="false">
<span class="sr-only">Menu</span>
<span class="navbar-toggler-icon" aria-hidden="true"></span>
</button>
<a class="navbar-brand" href="https://opendata.nijmegen.nl/">
<span class="sr-only">Hoofdpagina</span>
<div class="navbar-brand-container">
<img src="https://componenten.nijmegen.nl/v5.0.5/img/beeldmerklabelwit.svg" class="logo-labeled"
alt="Logo Nijmegen">
<img src="https://componenten.nijmegen.nl/v5.0.5/img/beeldmerkwit.svg" class="logo" aria-hidden="true" alt="">
</div>
</a>
<div class="collapse navbar-collapse" id="navbar-collapse">
<div>
<nav role="navigation" aria-labelledby="block-mainnavigation-menu" id="block-mainnavigation">
<h2 class="visually-hidden" id="block-mainnavigation-menu">Main navigation</h2>
<ul class="navbar-nav mr-auto nijmegen-smooth-scroll">
<li class="nav-item">
<a href="index.html" class="nav-link" data-drupal-link-system-path="datasets">Woogle</a>
</li>
<li class="nav-item">
<a href="index.html" class="nav-link" data-drupal-link-system-path="node/2">Over dit portaal</a>
</li>
</ul>
</nav>
</div>
</div>
<div class="navbar__search">
<button class="navbar__search-button" id="navbar-open-search">
<span class="sr-only">Open zoekveld</span><span class="mdi mdi-magnify" aria-hidden="true"></span>
</button>
<form action="https://opendata.nijmegen.nl/datasets/query/-/filters/theme%3ABestuur/page/1" method="post" id="xs-dataset-search-form" accept-charset="UTF-8" class="autocomplete autocomplete__form" role="search">
<input placeholder="Zoeken" id="suggest-search-query" autocomplete="off" aria-controls="autocomplete-results" aria-autocomplete="both" aria-label="Zoekveld" aria-describedby="autocomplete-help-text" class="autocomplete__input form-control form-text mb-3" data-drupal-selector="edit-query" type="text" name="query" value="" size="20" maxlength="128" /><input class="d-none button js-form-submit form-submit form-control mb-3" data-drupal-selector="edit-submit" type="submit" id="edit-submit" name="op" value="Zoeken" /><input autocomplete="off" data-drupal-selector="form-xzpxfsnb4lvq-cwxjfaxxixvvdtuicgeakd8tex-de0" type="hidden" name="form_build_id" value="form-XZpXfsNb4lvq-cWxJFAxXIXVvdTuIcgEAkd8tex-dE0" class="form-control mb-3" /><input data-drupal-selector="edit-xs-dataset-search-form" type="hidden" name="form_id" value="xs_dataset_search_form" class="form-control mb-3" /><button aria-label="Search button" type="submit" id="odn-search-button" class="autocomplete__search-button form-submit js-form-submit" data-drupal-selector="edit-search"><span class="mdi mdi-magnify" aria-hidden="true"></span></button>
<button aria-label="Clear input" title="Clear input" type="submit" class="autocomplete__clear-button autocomplete__button--hide" data-drupal-selector="edit-clear-input"><span class="mdi mdi-close" aria-hidden="true"></span></button>
<ul aria-label="Zoekresultaten" id="autocomplete-results" class="autocomplete__result-list" data-drupal-selector="edit-autocomplete-results"></ul>
<span id="autocomplete-help-text" class="sr-only">
Als er zoekresultaten gevonden zijn kunt u de pijltjes toetsen omhoog en naar beneden gebruiken om een resultaat
te selecteren. Toets enter om te navigeren naar het geselecteerde resultaat. Met de escape toets kunt u de
invoer wissen.</span>
<div id="autocomplete-search-results-announcer" aria-live="assertive" aria-atomic="true" class="sr-only"></div>
</form>
<script id="autocomplete-result-template" type="text/template">
<li class="autocomplete__result-item" role="option">
<a href="" class="autocomplete__result-link" id="" tabindex="-1"></a>
</li>
</script>
<script id="autocomplete-section-header-template" type="text/template">
<li class="autocomplete__section-header" aria-hidden="true">
</li>
</script>
<button class="navbar__search-close-button" id="navbar-close-search" aria-label="Sluit zoekveld">
close
</button>
</div>
</div>
</nav>
<main class="container mt-5 mb-5 pt-5">
<div>
<div data-drupal-messages-fallback class="hidden"></div><div id="block-breadcrumb">
<section id="breadcrumb" class="mb-3">
</section>
</div>
<div id="block-mainpagecontent">
<div class="row justify-content-center">
<div id="block-datasetspertheme">
<div class="row mt-5 mb-5" id="categoriesRow">
<div class="col-12 mb-3">
<h2 class="h3">WOO Categorieën</h2>
</div>
<!-- Dynamic content will be inserted here -->
</div>
</div>
</div>
</div>
</div>
</main>
<div id="block-admincontrols">
</div>
<section id="contact" class="bg-grey mt-5" aria-label="Contact informatie">
<div class="container pt-4 pb-1">
<h3>Direct contact</h3>
<div class="row pb-4">
<div class="col-lg-6">
<div class="flx-col">
<div class="ce-textpic ce-center ce-above">
<div class="ce-bodytext">
<p class="bg-grey-contrast">
Telefoonnummer: <a href="tel:14024" title="Telefoonnummer">14 024</a>.Bereikbaar op werkdagen van 8.30 - 17:00 uur<br>
Bellen vanuit het buitenland: <a href="tel:+31243299000" title="Bellen vanuit het buitenland">0031 24 329 90 00</a><br>
Adres Stadswinkel: Mariënburg 30, 6511 PS Nijmegen
</p>
</div>
</div>
<div class="ce-textpic ce-center ce-above">
<div class="ce-bodytext">
<p>
<a class="btn btn-primary waves-effect" href="https://nijmegen.nl/" target="_blank"
rel="noreferrer noopener">
Nijmegen.nl
</a>
</p>
</div>
</div>
</div>
</div>
<div class="col-lg-6 d-lg-block">
<div class="ce-image ce-center ce-above">
<div class="ce-gallery" data-ce-columns="1" data-ce-images="1">
<div class="text-sm-center">
<img alt="Contact foto" class="img-fluid" width="545" height="236"
src="https://opendata.nijmegen.nl/themes/custom/odn_theme/images/Contact_Foto.jpg">
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="page-footer">
<div class="footer-content">
<div class="container">
<div class="row">
<div class="hidden-md-down col-lg-6">
<div class="row">
<div class="hidden-md-down col-lg-5">
<h2 class="title" id="block-useraccountmenu-menu">Gebruikersmenu</h2>
<ul class="link-list">
<li>
<a href="https://opendata.nijmegen.nl/user/openid-login">Inloggen</a>
</li>
</ul>
<hr class="divider"/>
<ul class="link-list">
<li>
<a href="https://opendata.nijmegen.nl/api">
API
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-12 col-lg-6">
<div class="row">
<div class="hidden-md-down col-lg-5">
</div>
<div class="col-xs-12 col-md-6 col-lg-7">
<h2 class="title">Contactgegevens</h2>
<ul class="link-list contact-list">
<li>
<span class="mdi mdi-map-marker" aria-hidden="true"></span>
<span class="sr-only">Bekijke onze locatie:</span>
<a href="https://www.google.nl/maps/place/Stadswinkel, Mariënburg 30">
Stadswinkel, Mariënburg 30
</a>
</li>
<li>
<span class="mdi mdi-phone" aria-hidden="true"></span>
<span class="sr-only">Bel ons:</span>
<a href="tel:14 024">
14 024
</a>
</li>
<li>
<span class="mdi mdi-email" aria-hidden="true"></span>
<span class="sr-only">Mail ons:</span>
<a href="mailto:[email protected]">
</a>
</li>
<li>
<span class="mdi mdi-facebook" aria-hidden="true"></span>
<span class="sr-only">Vind ons op facebook:</span>
<a href="https://www.facebook.com/gemeentenijmegen">
Gemeente Nijmegen
</a>
</li>
<li>
<span class="mdi mdi-twitter" aria-hidden="true"></span>
<span class="sr-only">Follow us on Twitter:</span>
<a href="https://twitter.com/gem_nijmegen">
@nijmegen
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer-copyright text-center">
<div class="container-fluid">
<img src="https://componenten.nijmegen.nl/v5.0.5/img/beeldmerkwit.svg" height="32" width="25" class="logo-labeled"
alt="Logo Gemeente Nijmegen">
Gemeente Nijmegen
</div>
</div>
</footer>
</div>
<script type="application/json" data-drupal-selector="drupal-settings-json">{"path":{"baseUrl":"\/","scriptPath":null,"pathPrefix":"","currentPath":"datasets\/query\/-\/filters\/theme:Bestuur\/page\/1","currentPathIsAdmin":false,"isFront":false,"currentLanguage":"nl"},"pluralDelimiter":"\u0003","suppressDeprecationErrors":true,"csp":{"nonce":"efDrIqhDqIO8wfbtdt2b3w"},"xs_dataset":{"autocomplete":{"url":{"dataset":"\/api\/suggest\/datasets\/QUERY_PLACEHOLDER"}},"search":{"url":"\/datasets\/query\/QUERY_PLACEHOLDER"}},"ajaxTrustedUrl":{"form_action_p_pvdeGsVG5zNF_XLGPTvYSKCf43t8qZYSwcfZl2uzM":true},"user":{"uid":0,"permissionsHash":"70d0933dadf885f712fa0279e77bf8d549cc48d9fe7752c772a505cb2004283e"}}</script>
<script src="https://opendata.nijmegen.nl/sites/default/files/js/js_nl_iQOUYMdWN9qQsr-6EIBblzVW4gIdDGqg_Z1irQT4.js"></script>
<script src="https://componenten.nijmegen.nl/v5.0.5/js/popper.min.js" crossorigin="anonymous" integrity="sha512-lWJ53t3FjWFXcLO7CWRG8vJABfUOuSuMZspt8g2nDyx/ft/B+Zb5jBSjED4Qyze4tp2DqVECV9fHo3j1bzpChw=="></script>
<script src="https://componenten.nijmegen.nl/v5.0.5/js/bootstrap.min.js" crossorigin="anonymous" integrity="sha512-uIuDDliVdzuBgB2Ocut6cVdPSGZ6/my59sSOQlwnGi1qtuyyDVzj+8fr/HUr84mBlCs3zGBttci2JSALm8WMNg=="></script>
<script src="https://componenten.nijmegen.nl/v5.0.5/js/mdb.min.js" crossorigin="anonymous" integrity="sha512-HTOV7Smd7fT2VtLuwZP+BQ4riX9YHbVMGJ22X1wMcHSNx4JIkE/1KS6ux4S78pdf8orN82idrE36YHccsaHnTA=="></script>
<script src="https://componenten.nijmegen.nl/v5.0.5/nijmegen.js" crossorigin="anonymous" integrity="sha512-KkE5TuZeqDODnITLD2dEQyQIXUzXEXFYb3k83ZBWLilbQci5dHIBpxx9VmLRFgAUUTkjQqfXI8YgIn3kUfAetg=="></script>
<script src="https://opendata.nijmegen.nl/sites/default/files/js/js_p3--eamvCTwhf-_eemI2q80qrYGszhkbgEgN2Ow6VWA.js"></script>
<script src="https://siteimproveanalytics.com/js/siteanalyze_6006118.js" async></script>
<script src="https://opendata.nijmegen.nl/sites/default/files/js/js_WIjuGQNgDclX4rx0qDxjFQdBTAJ2rFkL3ywGYIeI3ps.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function() {
const jsonDataUrl = './json/nijmegen.json';
// Mapping of dc_type codes to user-friendly names
const typeNames = {
'2k': 'Beschikking',
'2c': 'Vergaderstuk decentrale overheid',
'2i': 'Dossier na Woo/Wob-verzoek',
'1e': 'Bereikbaarheidsgegevens',
'1e-i': 'Verwijsindex'
};
fetch(jsonDataUrl)
.then(response => response.json())
.then(data => {
const dossiers = data.infobox.foi_dossiers;
const publisherId = data.resource; // Dynamic publisher ID from JSON
const typeCounts = dossiers.reduce((acc, dossier) => {
const typeCode = dossier.dc_type;
const type = typeNames[typeCode] || typeCode; // Use friendly name if available, else use code
if (acc[type]) {
acc[type]++;
} else {
acc[type] = 1;
}
return acc;
}, {});
const categoriesRow = document.getElementById('categoriesRow');
Object.keys(typeCounts).forEach(type => {
// Find the first key that matches the type to get the original dc_type code
const originalTypeCode = Object.keys(typeNames).find(key => typeNames[key] === type) || type;
const typeCardHtml = `
<div class="col-xs-6 col-sm-3 col-md-3 col-lg-3 d-flex align-items-stretch">
<div class="card card-services w-100 mb-4">
<a href="/search?publisher=${publisherId}&type=${originalTypeCode}" rel="nofollow">
<div class="card-body">
<p class="card-title mb-0">
${type}
</p>
<p class="card-read-more text-right mb-0 mt-3">
${typeCounts[type]} dossiers
</p>
</div>
</a>
</div>
</div>`;
categoriesRow.insertAdjacentHTML('beforeend', typeCardHtml);
});
})
.catch(error => console.error('Error loading JSON data: ', error));
});
</script>
<!--
<div class="facets__group">
<h2 class="facets__group-title">Thema</h2>
<ul class="facets__list">${topicHtml}</ul>
</div>
-->
</body>
</html>