Carte: prestas

This commit is contained in:
Pascal Engélibert
2023-04-27 23:51:20 +02:00
parent a58ef9dcf2
commit c9f851fa77
4 changed files with 24 additions and 18 deletions

View File

@ -24,8 +24,8 @@
<source srcset="/img/librezo-little-white.png" media="(prefers-color-scheme: dark)" />
<source srcset="/img/librezo-little-black.png" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" />
<img decoding="async" id="header-logo" src="/img/librezo-little-black.png" alt="Librezo" aria-hidden/>
</picture>
<h1 class="sr-only">Librezo</h1>
</picture>
<h1 class="sr-only">Librezo</h1>
</a>
<nav id="header-menu">
<ul>

View File

@ -10,6 +10,11 @@
{{body|safe}}
];
for(i in places) {
L.marker(places[i]).addTo(map);
var popup = '<strong>'+places[i][1]+'</strong>';
for(j in places[i][2]) {
popup += '<br/>'+places[i][2][j][0]+'&nbsp;: <a href="mailto:'+places[i][2][j][1]+'">'+places[i][2][j][1]+'</a>';
}
L.marker(places[i][0]).addTo(map)
.bindPopup(popup);
}
</script>