-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
74 lines (69 loc) · 3.41 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>OTP Data Analyst</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet">
<link href="//api.tiles.mapbox.com/mapbox.js/v1.5.2/mapbox.css" rel="stylesheet">
<link href="http://yandex.st/highlightjs/7.5/styles/default.min.css" rel="stylesheet">
<link href="build/build.css" rel="stylesheet">
</head>
<body>
<div id="location" class="container">
<form class="location-form">
<fieldset>
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-4">
<div class="input-group">
<input type="text" class="form-control" name="from-address" placeholder="From" value="2100 Clarendon Boulevard, Arlington, VA">
<span class="input-group-btn">
<button class="btn btn-default" type="button" onclick="javascript:useDeviceLocation('from-address')" title="Use Current Location"><i class="fa fa-location-arrow"></i></button>
</span>
</div><!-- /input-group -->
</div><!-- /.col-lg-6 -->
<div class="col-lg-4 col-md-4 col-sm-4">
<div class="input-group">
<input type="text" class="form-control" name="to-address" placeholder="To" value="55 Massachusetts Ave NE, Washington, District of Columbia">
<span class="input-group-btn">
<button class="btn btn-default" type="button" onclick="javascript:useDeviceLocation('to-address')" title="Use Current Location"><i class="fa fa-location-arrow"></i></button>
</span>
</div><!-- /input-group -->
</div><!-- /.col-lg-6 -->
<div class="col-lg-4 col-md-4 col-sm-4">
<a class="btn btn-primary btn-block set-location" type="button">Show Routes</a>
</div>
</div>
</fieldset>
</form>
</div>
<div class="container">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<div id="map"></div>
</div>
</div>
</div>
<div class="container" id="results" style="display:none;">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<h4 class="results-heading"><span class="from-display-value"></span> <i class="fa fa-long-arrow-right"></i> <span class="to-display-value"></span>
<a class="btn btn-default pull-right" type="button" href="javascript:animateTo('location')">Change Locations <i class="fa fa-location-arrow"></i></a></h4>
</div>
</div>
<div id="canvas" style="display:none;"></div>
<div class="data"></div>
</div>
<script src="//codeorigin.jquery.com/jquery-2.0.3.min.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
<script src="//api.tiles.mapbox.com/mapbox.js/v1.5.2/mapbox.js"></script>
<script src="config.js"></script>
<script src="build/build.js"></script>
<script type="text/javascript">
require('summary-client');
</script>
<!-- syntax higlighter -->
<script src="http://yandex.st/highlightjs/7.5/highlight.min.js"></script>
</body>
</html>