-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdz-select.html
65 lines (62 loc) · 2.8 KB
/
dz-select.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
<!DOCTYPE html>
<html>
<head>
<title>Find your DZ</title>
<meta charset="utf-8">
<script src="scripts/ga.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&libraries=geometry,places"></script>
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="scripts/jquery-ui-1.10.4.custom.min.js"></script>
<script src="scripts/jquery.number.js"></script>
<script src="scripts/blueskies.js"></script>
<script src="scripts/ui.js"></script>
<script src="scripts/loc.js"></script>
<script src="scripts/util.js"></script>
<link rel="stylesheet" href="css/smoothness-theme/jquery-ui-1.10.4.custom.min.css">
<link rel="stylesheet" type="text/css" href="css/common.css" />
<link rel="stylesheet" type="text/css" href="css/article.css" />
</head>
<body>
<div class="container">
<aside>
<nav>
<header>
<h4>Navigation</h4>
</header>
<ul data-bind="foreach: pages">
<li><a data-bind="text: ($index() + 1) + '. ' + title, attr: { href: $index() == $parent.current ? null : url }"></a></li>
</ul>
</nav>
</aside>
<article>
<header>
<h1>Find your DZ</h1>
</header>
<p>Let's find your favorite DZ. All the following examples will use it as a reference.</p>
<p>Just use Google Maps here to find it. Start typing the address in the field below.</p>
<p>Don't forget to drag the yellow circle on the map to specify the exact landing target, e.g. pea gravel, accuracy target etc. You can zoom
the map to do it more precisely.</p>
<p>If you decide later that you want to change the reference location, you can come back to this page at any time and do it.</p>
<!-- ko with: sim -->
<div id="map-canvas" data-bind="Map: { options: mapOptions, to: map }"></div>
<input id="dz-finder" placeholder="Find your DZ" class="dz-selection-control" type="text"
data-bind="value: location.finderText,
mapControl: 'TOP_LEFT',
mapFinder: onFindNewDz">
<!-- /ko -->
<p data-bind="if: !isLastPage"><a data-bind="attr: {href: nextPage.url}">Next (<span data-bind="text: nextPage.title"></span>)>><a></p>
</article>
</div>
<script src="http://ajax.aspnetcdn.com/ajax/knockout/knockout-3.0.0.js"></script>
<script src="scripts/bindings.js"></script>
<script src="scripts/viewmodel.js"></script>
<script src="scripts/article.js"></script>
<script>
$(window).on('beforeunload', function() {
saveArticleSettings();
});
sim.parameters.startable(false);
defaultMapZoom = 13;
</script>
</body>
</html>