summaryrefslogtreecommitdiff
path: root/index.html
blob: b921036dd21f1b9bd26ceaad4e8e86c65427e2bb (plain)
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
<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title> Wallonie#Demain — La carte </title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <link rel="stylesheet" href="assets/css/style.css">
    <link rel="stylesheet" href="assets/css/MarkerCluster.css">
    <link rel="stylesheet" href="assets/css/MarkerCluster.Default.css">
    <link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.1/dist/leaflet.css"
          integrity="sha512-Rksm5RenBEKSKFjgI3a41vrjkw4EVPlJ3+OiI65vTjIdo9brlAacEuKOiQ5OFh7cOI1bkDwLqdLw3Zg0cRJAAQ=="
          crossorigin="">
    <link rel="icon" href="assets/favicon.png" type="image/png">
  </head>
  <body>
    <header>
      <h1>
	<a href="/">
	  <span>Wallonie#Demain</span>
	  <span class="icon icon-logo"></span>
	</a>
      </h1>
      <nav>
      </nav>
    </header>
    <main>
      <div id="map"></div>
    </main>
    <aside>
      <nav></nav>
    </aside>
    <script type="text/javascript" src="https://unpkg.com/jquery@3.3.1/dist/jquery.js"></script>
    <script type="text/javascript" src="https://unpkg.com/leaflet@1.3.1/dist/leaflet.js"></script>
    <script type="text/javascript" src="https://unpkg.com/leaflet.markercluster@1.3.0/dist/leaflet.markercluster.js"></script>
    <script type="text/javascript" src="https://unpkg.com/leaflet.featuregroup.subgroup@1.0.2/dist/leaflet.featuregroup.subgroup.js"></script>
    <script type="text/javascript" src="https://unpkg.com/mustache@2.3.0/mustache.js"></script>
    <script type="text/javascript" src="assets/mapper.js"></script>
    <script id="popup-template" type="x-tmpl-mustache">
      <article class="marker popup">
	<h3>{{ marker.name }}</h3>
	<section>{{ marker.comment }}</section>
	<footer>
	  <dl>
	    {{# marker.address }}<dt>Addresse</dt>
	    <dd><address>{{ marker.address }}</address></dd>{{/ marker.address }}
	    {{# marker.phone }}<dt>Téléphone</dt>
	    <dd><address class="phone">{{ marker.phone }}</address></dd>{{/ marker.phone }}
	    {{# marker.email_before_at }}<dt>Courriel</dt>
	    <dd><address class="email">{{ marker.email_before_at }}@{{ marker.email_after_at }}</address></dd>{{/ marker.email_before_at }}
	    {{# marker.web }}<dt><abbr title="Addresse du site Web">URL</abbr></dt>
	    <dd><a target="_blank" href="{{ marker.web }}">{{ marker.web }}</a></dd>{{/ marker.web }}
	  </dl>
	  <p class="change {{ cat_id}}">
	    <em>Dernière modification : </em><span>{{ marker.last_modified_dmY }}</span>
	  </p>
	</footer>
      </article>
    </script>
    <script id="attribution-template" type="x-tmpl-mustache">
      <article class="marker popup">
	<h1>Crédits</h1>
	<p>Cette carte est rendue possible grâce au soutien de la Région Wallone.</p>
	<p>© 2018 Wallonie#DEMAIN</p>
	<h3>Logiciel</h3>
	<p>Réalisé par <a
	href="{{ data.incommon_url }}">Incommon</a>, utilisant <a
	href="{{ data.leaflet_url }}">Leaflet</a>, sous licence AGPL.
	(<a href="https://code.cepheide.org/wallonie-demain-proto.git">source</a>)
	</p>
	<h3>Données</h3>
	<p><a href="{{ data.dewey_url }}">Dewey ASBL</a> et
	le <a href="{{ data.rt_url }}">Réseau Transition</a></p>
	<p>© 2014-2018 Dewey Maps, Réseau Transition</p>
	<p>Toutes les données sur cette carte sont libres et
	disponibles selon les termes de la licence ODBL.</p>
	<h3>Cartes</h3>
	<p>© <a href="{{ data.osm_url }}">OpenStreetMap</a> contributors</p>
	<h3>Création graphique</h3>
	<p><a href="https://ps.lesoiseaux.io/" class="icon ps">Petites Singularités</a></p>
      </article>
    </script>
  </body>
</html>