-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
115 lines (104 loc) · 4.59 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
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Calculate driving directions without Route 81">
<meta name="author" content="Mark Headd">
<link rel="icon" href="assets/favicon.ico">
<title>Without 81</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.css" />
<link rel="stylesheet" href="https://code.jquery.com/ui/1.12.0/themes/base/jquery-ui.css" />
<link rel="stylesheet" href="assets/css/style.css" />
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">Without 81</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li id="home" class="active"><a href="/">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="https://github.com/UpstateData/without81">Code</a></li>
<li><a href="https://github.com/UpstateData/without81/tree/gh-pages/data">Data</a></li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
</nav>
<div class="container">
<div class="title">
<h1>Getting Around Without 81</h1>
<p class="lead">Travel in and around Central New York while avoiding Route 81 through Downtown Syracuse</p>
</div>
<div class="row">
<div class="col-lg-5">
<div class="input-group">
<span class="input-group-addon">
Leaving from:
</span>
<input type="text" class="form-control ui-widget" id="origin" placeholder="5833 Meetinghouse Road, Tully">
</div><!-- /input-group -->
</div><!-- /.col-lg-5 -->
<div class="col-lg-5">
<div class="input-group">
<span class="input-group-addon">
Going to:
</span>
<input type="text" class="form-control ui-widget" id="destination"
placeholder="246 W Willow St, Syracuse, NY, Syracuse">
</div><!-- /input-group -->
</div><!-- /.col-lg-5 -->
<div class="col-lg-2">
<div class="input-group">
<button class="btn btn-primary" id="route" type="button">Get directions</button>
</div>
</div>
</div><!-- /.row -->
<div class="row" id="maps">
<div class="col-lg-6">
<h3>Typical Route</h3>
<div id="map-with"></div>
<p class="note">Route <strong>includes</strong> 81 through Downtown Syracuse (if applicable)</p>
<div id="narrative-with">
<div class="content"></div>
</div>
</div>
<div class="col-lg-6">
<h3>Route Without 81</h3>
<div id="map-without"></div>
<p class="note">Route <strong>avoids</strong> segment of 81 through Downtown Syracuse</p>
<div id="narrative-without">
<div class="content"></div>
</div>
</div>
</div><!-- /.row -->
</div><!-- /.container -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.js"></script>
<script src="https://www.mapquestapi.com/sdk/leaflet/v2.2/mq-map.js?key=7k6uksN6kgVX09UkHPPkGKmAa7Hc0ZZA"></script>
<script src="https://www.mapquestapi.com/sdk/leaflet/v2.2/mq-routing.js?key=7k6uksN6kgVX09UkHPPkGKmAa7Hc0ZZA">
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"
integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous">
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.2/handlebars.runtime.js" />
</script>
<script src="assets/js/app.js"></script>
<script src="assets/js/detail.tpl.js"></script>
</body>
</html>