-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
466 lines (406 loc) · 21.1 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
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
<!DOCTYPE html>
<html lang="fr">
<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">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="icon" type="image/png" href="assets/img/favicon.png" />
<title>Empreintes de femmes : promenades du matrimoine en France</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/PapaParse/5.3.2/papaparse.min.js" integrity="sha512-SGWgwwRA8xZgEoKiex3UubkSkV1zSE1BS6O4pXcaxcNtUlQsOmOmhVnDwIvqGRfEmuz83tIGL13cXMZn6upPyg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://empreintesdefemmes.matomo.cloud/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src='//cdn.matomo.cloud/empreintesdefemmes.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
</head>
<body>
<!---------------------------------- navbar ---------------------------------------->
<nav style="background-color: #FAF2EA;" class="navbar navbar-expand-lg navbar-light" id="nav">
<div class="container-fluid">
<div style="display:flex;">
<div class="navbar-brand">
<h1><img src="assets/img/logo-epais.png" style="height:2em;float:left;margin-right:10px;" alt="">Empreintes de Femmes</h1>
</div>
</div>
<div class="menu">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="#map">Carte</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#nouveaute">Nouveautés</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#promenade">Liste des promenades</a>
</li>
</ul>
</div>
</div>
</nav>
<main style="background-color: #FFAE9D;">
<!------------------------------------ texte descriptif ----------------------------------->
<section class="banner pt-5">
<div class="container"
style="background-color: #FAF2EA; border: solid 2px #FF5858; border-radius: 6px; width: 90vw;">
<h1
style="border-bottom: #FF5858 solid 5px; font-family: 'Comfortaa', cursive; font-size: 1.2rem; margin: 15px; font-weight: bold;">
Qui sommes-nous ?</h1>
<p style="font-family: 'Roboto', sans-serif; font-size: 1em; text-align: justify;"><i>Empreintes de femmes</i>
est un site web développé dans le cadre du projet de recherche <a class="link-primary"
href="https://citedesdames.hypotheses.org/"><i>Cité des Dames, créatrices dans la cité</i></a> de
l’Université Gustave Eiffel. Ce site recense plus d'une centaine de promenades du
<a class="link-primary" href="https://www.radiofrance.fr/franceculture/podcasts/affaire-en-cours/le-matrimoine-n-est-pas-un-neologisme-mais-un-mot-efface-par-l-histoire-2051620">matrimoine</a> en France.
Venez découvrir l’histoire de ces femmes de sciences, de lettres, de pouvoir ou encore résistantes, qui ont
contribué à la fabrique de l’histoire des villes. Redécouvrez vos villes grâce à elles !
</p>
<p style="font-family: 'Roboto', sans-serif; font-size: 1em; text-align: justify;">Vous connaissez d'autres promenades
du <a class="link-primary" href="http://www.lematrimoine.fr/le-matrimoine/">matrimoine</a>
non référencées ci-dessous ou vous voulez signaler des modifications à propos des promenades référencées
ci-dessous ?
Signalez-les <a class="link-primary" href="https://framaforms.org/empreintes-de-femmes-suggestion-ou-modification-dune-promenade-du-matrimoine-1662154675">dans ce formulaire</a>.
</p>
</div>
</section>
<!---------------------------------- carte interactive ----------------------------->
<div class="container" id="map" style="margin-bottom: 50px;">
<div class="row">
<h1 style="background-color: #FAF2EA; border: solid 2px #FFAE9D; border-radius: 6px; width: 90vw; font-family: 'Comfortaa'; font-size: 1.2rem; width: -moz-max-content; /* Firefox */
width: -webkit-max-content; color: #FF5858;border: solid 2px #FF5858; padding: 10px; text-align: center;">
Carte des promenades</h1>
</div>
<div class="row">
<iframe style="border-radius: 6px;" width="100%" height="500px" frameborder="0" allowfullscreen
src="https://umap.openstreetmap.fr/fr/map/empreintes-de-femmes-promenades-du-matrimoine_776279?scaleControl=false&miniMap=false&scrollWheelZoom=false&zoomControl=true&allowEdit=false&moreControl=true&searchControl=null&tilelayersControl=null&embedControl=null&datalayersControl=true&onLoadPanel=undefined&captionBar=false"></iframe>
<p>
<a style="color:#FAF2EA;text-decoration: underline; font-family: 'Roboto', sans-serif; font-weight: bolder;"
href="https://umap.openstreetmap.fr/fr/map/empreintes-de-femmes-promenades-du-matrimoine_776279">
Voir en plein écran
</a>
</p>
</div>
</div>
<!------------------------------------------ Nouveautés ------------------------------------->
<div class="container" id="nouveaute">
<div class="row">
<h1 style="background-color: #FAF2EA; border: solid 2px #FFAE9D; border-radius: 6px; width: 90vw; font-family: 'Comfortaa'; font-size: 1.2rem; width: -moz-max-content; /* Firefox */
width: -webkit-max-content; color: #FF5858;border: solid 2px #FF5858; padding: 10px; text-align: center;">
Nouveautés !</h1>
</div>
<div class="row">
<!--------------------------- carousel ------------------------>
<div id="carousel" class="col-md-12 carousel slide" data-ride="carousel" data-interval="3000" style="">
<div class="carousel-inner">
<div class="carousel-item active">
<a target="_blank"
href="https://exploreparis.com/fr/3648-les-engagements-des-femmes-pendant-la-commune-de-paris-de-1871.html"><img
src="assets/img/nouveaute/nouv1.png" class="img-fluid"></a>
</div>
<div class="carousel-item">
<a target="_blank"
href="https://www.parisinfo.com/decouvrir-paris/balades-a-paris/balade-sur-les-traces-figures-feminines-paris"><img
src="assets/img/nouveaute/nouv2.png" class="img-fluid"></a>
</div>
<div class="carousel-item">
<a target="_blank"
href="https://view.genial.ly/602e5f5d9689f70d371aa9f1/interactive-image-parcours-marceline-desbordes-valmore"><img
src="assets/img/nouveaute/nouv3.png" class="img-fluid"></a>
</div>
</div>
<a href="#carousel" class="carousel-control-prev" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="ture"></span>
<span class="sr-only">Previous</span>
</a>
<a href="#carousel" class="carousel-control-next" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
<div style="margin-bottom: 40px;">
<ol class="carousel-indicators">
<li style="background-color: #FF5858;" data-target="#carouselExemple" data-slide-to="0" class="active">
</li>
<li style="background-color: #FF5858;" data-target="#carouselExemple" data-slide-to="1"></li>
<li style="background-color: #FF5858;" data-target="#carouselExemple" data-slide-to="2"></li>
</ol>
</div>
</div>
</div>
</div>
<div class="container" id="promenade">
<h1
style="background-color: #FAF2EA; border: solid 2px #FFAE9D; border-radius: 6px; width: 90vw; font-family: 'Comfortaa'; font-size: 1.2rem; width: -moz-max-content; /* Firefox */
width: -webkit-max-content; color: #FF5858;border: solid 2px #FF5858; padding: 10px; text-align: center; margin-top: 50px;">
Liste des promenades</h1>
</div>
<div
style="background-color: #FAF2EA; border: solid 2px #FFAE9D; border-radius: 6px; margin-left: 10px; margin-right: 10px; margin-bottom: 10px;">
<div style="margin: 20px; font-size:large; text-align:center; line-height: 40px; ">
<a style="color: #FF5858;" href="#A" class="lettre">A -</a><a style="color: #FF5858;" href="#B" class="lettre">
B -</a><a style="color: #FF5858;" href="#C"> C -</a><a style="color: #FF5858;" href="#D"> D -</a><a
style="color: #FF5858;" href="#E"> E -</a><a style="color: #FF5858;" href="#F"> F -</a><a
style="color: #FF5858;" href="#G"> G -</a><a style="color: #FF5858;" href="#H"> H -</a><a
style="color: #FF5858;" href="#I"> I -</a><a style="color: #FF5858;" href="#J"> J -</a><a
style="color: #FF5858;" href="#K"> K -</a><a style="color: #FF5858;" href="#L"> L -</a><a
style="color: #FF5858;" href="#M"> M -</a><a style="color: #FF5858;" href="#N"> N -</a><a
style="color: #FF5858;" href="#O"> O -</a><a style="color: #FF5858;" href="#P"> P -</a><a
style="color: #FF5858;" href="#Q"> Q -</a><a style="color: #FF5858;" href="#R"> R -</a><a
style="color: #FF5858;" href="#S"> S -</a><a style="color: #FF5858;" href="#T"> T -</a><a
style="color: #FF5858;" href="#U"> U -</a><a style="color: #FF5858;" href="#V"> V -</a><a
style="color: #FF5858;" href="#W"> W -</a><a style="color: #FF5858;" href="#X"> X -</a><a
style="color: #FF5858;" href="#Y"> Y -</a><a style="color: #FF5858;" href="#Z"> Z</a>
</div>
<section class="available merriweather py-5">
<div class="container">
<div class="row">
<!----------------------------- A -------------------->
<div id="A">
</div>
<!---------------------------- B ------------------->
<div id="B">
</div>
<!---------------------------- C ------------------>
<div id="C">
</div>
<!----------------------------- D ------------------->
<div id="D">
</div>
<!--------------------------- E ---------------------->
<div id="E">
</div>
<!----------------------------- F -------------------->
<div id="F">
</div>
<!----------------------------- G -------------------->
<div id="G">
</div>
<!------------------------------ H ----------------->
<div id="H">
</div>
<!------------------------- I --------------------->
<div id="I">
</div>
<!------------------------ J ---------------------->
<div id="J">
</div>
<!---------------------------- K ---------------->
<div id="K">
</div>
<!--------------------------- L --------------------->
<div id="L">
</div>
<!----------------------- M ------------------------>
<div id="M">
</div>
<!------------------------ N ------------------------>
<div id="N">
</div>
<!-------------------------- O ---------------------->
<div id="O">
</div>
<!--------------------------- P --------------------->
<div id="P">
</div>
<!-------------------------- Q ----------------------->
<div id="Q">
</div>
<!--------------------------- R --------------------->
<div id="R">
</div>
<!-------------------------- S ---------------------->
<div id="S">
</div>
<!-------------------------- T ---------------------->
<div id="T">
</div>
<!--------------------------- U -------------------->
<div id="U">
</div>
<!------------------------- V ---------------------->
<div id="V">
</div>
<!---------------------------- W -------------------->
<div id="W">
</div>
<!----------------------------- X -------------------->
<div id="X">
</div>
<!------------------------------ Y ------------------>
<div id="Y">
</div>
<!----------------------- Z ----------------------->
<div id="Z">
</div>
</div>
</div>
</div>
</main>
<footer class="text-center text-white">
<section class="banner">
<!-- Grid container -->
<div class="container p-4 pb-0">
<!-- Section: Social media -->
<section class="mb-4">
<!-- Facebook -->
<!--
<a target="_blank" class="btn btn-primary btn-floating m-1" style="background-color: #3b5998;" href="#!"
role="button"><i class="fab fa-facebook-f"></i></a>
-->
<!-- Twitter -->
<a target="_blank" class="btn btn-primary btn-floating m-1" style="background-color: #55acee;"
href="https://twitter.com/EmpreintesF" role="button"><i class="fab fa-twitter"></i></a>
<!-- Instagram -->
<a target="_blank" class="btn btn-primary btn-floating m-1" style="background-color: #ac2bac;"
href="https://www.instagram.com/empreintes_de_femmes/?hl=fr" role="button"><i
class="fab fa-instagram"></i></a>
<!-- Linkedin -->
<!--
<a target="_blank" class="btn btn-primary btn-floating m-1" style="background-color: #0082ca;"
href="https://www.linkedin.com/company/empreintesdefemmes/" role="button"><i
class="fab fa-linkedin-in"></i></a>
-->
</section>
<!-- Section: Social media -->
</div>
<div class="container" style="background-color: #FAF2EA; border: solid 2px #FF5858; border-radius: 6px; width: 90vw;">
<div class="row" style="color:#FF5858;padding:30px;">
<h2>Mentions légales</h2>
<div class="col-md-12">
<p>
Site conçu et développé en HTML et CSS par <a class="link-primary" href="http://danie-lancea.fr/">Danie Lancéa</a> pendant son stage de deuxième année de DUT MMI à l'IUT de Champs-sur-Marne.
</p>
<p>
Contenu : Danie Lancéa, Titouan Kerhervé-Remoussin, Philippe Gambette,
avec des contributions de <a class="link-primary" href="https://expertesgenre.fr/expertes/71926-caroline-trotot/">Caroline Trotot</a>.
Textes de description issus des sources d'information utilisées sur chaque promenade.
Pour proposer des modifications ou ajouts de contenus, merci d'utiliser <a class="link-primary" href="https://framaforms.org/empreintes-de-femmes-suggestion-ou-modification-dune-promenade-du-matrimoine-1662154675">ce formulaire</a>.
</p>
<p>
Directeur de publication, développeur JS :
<a class="link-primary" href="http://igm.univ-mlv.fr/~gambette/">Philippe Gambette</a>
</p>
<p>
Site <a class="link-primary" href="https://github.com/citedesdames/empreintesdefemmes">hébergé par GitHub Pages</a>, code disponible <a class="link-primary" href="https://github.com/citedesdames/empreintesdefemmes">sous licence GPLv3.0</a>.
</p>
</div>
</div>
<div class="row">
<div class="col-md-12">
<img src="assets/img/partenaires/ligm.png" alt="">
<img src="assets/img/partenaires/gustave_lisaa.png" alt="">
<img src="assets/img/partenaires/future.png" alt="">
<img src="assets/img/partenaires/univ-eiffel.png" alt="">
</div>
</div>
</div>
</section>
</footer>
<script src="assets/js/bootstrap.bundle.min.js"></script>
<script>
let data = [];
// Create a customized walk description for walk with identifier id
function customizeVisual(id){
// Insert all values from data into the code of the visual
Object.keys(data[id]).forEach(function(elementClass){
notTreated = true;
// Special case for the image (elementClass = portrait)
if(elementClass=="URL_portrait"){
if(data[id]["URL_portrait"].length > 3){
// Select the HTML element corresponding to elementClass and change CSS content
document.querySelector("#p"+id+" .portrait").innerHTML = '<a href="'+ data[id]["source_portrait"] +'"><img src="'+ data[id]["URL_portrait"] +'" title="' + data[id]["personne_portrait"] + ', cliquez sur l’image pour voir sa source." alt="' + data[id]["personne_portrait"] + '"></a>';
}
notTreated = false;
}
if(elementClass=="lat"){
// Select the HTML element corresponding to coord and change CSS coordinate top
// to center it properly on the city of the walk
let top = 52 - (parseFloat(data[id]["lat"])-51.034368)/(42.440965-51.034368)*92;
document.querySelector("#p"+id+" .coord").style.top = top + "%";
notTreated = false;
}
if(elementClass=="long"){
// Select the HTML element corresponding to coord and change CSS coordinate left
// to center it properly on the city of the walk
let left = 75 - (parseFloat(data[id]["long"])+4.486076)/(7.7521113+4.486076)*44;
document.querySelector("#p"+id+" .coord").style.left = left + "%";
notTreated = false;
}
if(notTreated){
// Select the HTML element corresponding to elementClass and change HTML content
if(document.querySelector("#p"+id+" ."+elementClass) != undefined){
document.querySelector("#p"+id+" ."+elementClass).innerHTML = data[id][elementClass];
}
}
})
}
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRZVydqvJM4ElI_HMoQN7ohdJz9GsxmcxsC7jVKtRogAyj_aoxLcDPFSbST4pTGvdpSK1VTPchV5Laa/pub?gid=0&single=true&output=csv", {
download: true,
header: true,
complete: function (results) {
let id = 0;
// Create walk descriptions from the data
results.data.sort(function(a,b){
let result = -1;
if(a.ville>b.ville){
result = 1
}
return result;
})
results.data.forEach(function(d){
if(d.ville != undefined && d.ville.length > 2){
data.push(d)
let blockId = d.ville[0];
// Creation of an almost-empty block presenting the walk
document.querySelector("#" + d.ville[0]).innerHTML +=
'<div class="card mb-3 border-0 rounded-0" id="espace">'
+ ' <div id="p' + id + '" class="row">'
+ ' <div class="col-md-6" style="position:relative";>'
+ ' <div class="pvisuel"><div class="visuel">'
+ ' <div class="portrait"></div><h2 class="titre"></h2>'
+ ' <div class="date"></div>'
+ ' <div class="ville"></div>'
+ ' <div class="coordDot"></div>'
+ ' <div class="coord"><img src="assets/img/france.png" alt=""></div>'
+ ' </div></div>'
+ ' </div>'
+ ' <div class="col-md-6">'
+ ' <h5 class="card-title"></h5>'
+ ' <p class="card-text description"></p>'
+ ' <p class="card-text"><a target="_blank" href="' + d.URL + '" class="text-muted btn">En savoir plus...</a></p>'
+ ' </div>'
+ ' </div>'
+ '</div>';
// Customization of the block
customizeVisual(id);
id++;
};
});
}
});
</script>
</body>
</html>