summaryrefslogtreecommitdiff
path: root/index.html
blob: ace5bfe769a8483670c731922e3b08359c447b7e (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
<!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>
  </body>
</html>