-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexplowiki-aac.html
103 lines (98 loc) · 3.5 KB
/
explowiki-aac.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<!-- <script src="../dist/js/app.js"></script> -->
<title>Datami - AAC</title>
</head>
<body style="background-color: #D7D7D7; padding: 5em 1em 20em 1em;">
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
Please enable it to continue.</strong>
</noscript>
<p style="margin: 5em 1em 1em 1em;">
Import wikidata content (wiki resilience) to display as csv / cards content
</P>
<div style="background-color: white; margin: 1em;">
<datami-explowiki
wikilist="https://wiki.resilience-territoire.ademe.fr/wiki/Sp%C3%A9cial:WfExplore?title=Sp%C3%A9cial%3AWfExplore&page=1&wf-expl-Category-Commun=on&wf-expl-Tags="
options='{
"height": "900px",
"fields-custom-properties": {
"file": "https://github.com/multi-coop/gitribute-content-test/blob/main/data/json/ademe/ademe-communs-fields-custom-props.json"
},
"wikisettings": {
"category": "commun",
"fields": [
"url",
"description",
"shortDescription",
"Main_Picture",
"Tags",
"Theme",
"location",
"complement",
"challenge",
"commonscategorie",
"url",
"from"
],
"tagfields": [
"challenge",
"Tags",
"Theme"
]
},
"customsorting" : {
"activate": true,
"sortfields": [
"title"
]
},
"customfilters" : {
"activate": true,
"filterfields": [
"challenge",
"Tags",
"commonscategorie",
"Theme"
]
},
"pagination": {
"itemsPerPage": 9
},
"cardsview": { "activate": true, "default": true },
"cardssettings": {
"mini": {
"title": {"position": "title"},
"imageUrl": {"position": "image"},
"shortDescription": {"position": "resume"},
"Tags": {"position": "tags"},
"Theme": {"position": "tags"},
"commonscategorie": {"position": "tags"},
"challenge": {"position": "tags"}
},
"detail": {
"title": {"position": "title"},
"imageUrl": {"position": "image"},
"shortDescription": {"position": "resume"},
"description": {"position": "description"},
"complement": {"position": "description"},
"from": {"position": "description"},
"Tags": {"position": "tags"},
"Theme": {"position": "tags"},
"commonscategorie": {"position": "tags"},
"challenge": {"position": "tags"},
"url": {"position": "links"}
}
}
}' title="datami for explowiki - communs :)" locale="fr"></datami-explowiki>
<!-- DATAMI WIDGET'S APP.JS SCRIPT -->
<!-- <script src="https://datami-widget.multi.coop/js/app.js" type="text/javascript" defer></script> -->
<!-- <script src="https://preprod--datami-widget.multi.coop/js/app.js" type="text/javascript" defer></script> -->
<script src="http://localhost:8080/js/app.js" type="text/javascript" defer></script>
</div>
</body>
</html>