-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.html
51 lines (44 loc) · 1.98 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"/>
<title>leaflet-storymap</title>
<!-- Load Leaflet from a https CDN, not http. Look for updates at http://leafletjs.com/download.html -->
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.0-rc.2/dist/leaflet.css"/>
<script src="https://unpkg.com/leaflet@1.0.0-rc.2/dist/leaflet.js"></script>
<!-- load jQuery -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha256-cCueBR6CsyA4/9szpPfrX3s49M9vUU5BgtiJj06wt/s=" crossorigin="anonymous"></script>
<!-- load Font-Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">
<!-- Load leaflet.extra-markers from local directory -->
<script src="markers/leaflet.extra-markers.min.js"></script>
<link rel="stylesheet" href="markers/leaflet.extra-markers.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="title" class="title-text">
<h3>Insert your title here</h3>
<small>Scroll <i class="fa fa-chevron-down"></i></small>
</div>
<div id="narration">
<div id="contents">
<div id="space-at-the-top" class="space-at-the-top"></div>
</div>
</div>
<div id="map"></div>
<script type="text/javascript" src="script.js"></script>
<!-- handlebars template for each individual story -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.8/handlebars.min.js"></script>
<script id="container-template" type="text/x-handlebars-template">
<div id="{{containerId}}" class="image-container">
<p class="chapter-header">{{chapter}}</p>
<div class="img-holder">
<img src="{{imgSrc}}">
</div>
<a href="{{srcHref}}" target="_blank" class="source">{{srcText}}</a>
<p class="description">{{{description}}}</p>
</div>
</script>
</body>
</html>