forked from codeforamerica/route_view
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
119 lines (104 loc) · 4.37 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
116
117
118
119
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Route View</title>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js"></script>
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?libraries=geometry,places&sensor=true"></script>
<link rel="stylesheet" type="text/css" href="/static/css/main.css">
<link rel="stylesheet" type="text/css" href="/static/css/mobile.css" media="all and (max-width:1000px)" />
<script type="text/javascript" src="/static/js/main.js"></script>
</head>
<body>
<header>
<div id="directions">
<div id="logo">
<img src="/static/img/routeview_logo.png" id="logo_large" />
<img src="/static/img/routeview_logo.png" id="logo_small" />
</div>
<div class="btn" id="favorited" ><img src="/static/img/save.png" /></div>
<div class="startend">Start Address</div>
<input type="text" id="start" value="" placeholder="Start Address" />
<div class="startend">End Address</div>
<input type="text" id="end" value="" placeholder="End Address"/>
<div class="btn" id="getdirections">GO</div>
<div class="btn" id="showfavs"><img src="/static/img/favorites.png" /></div>
</div>
<!--
<div class="examples">For example try: <a href="#" id="exampleroute">Honolulu, HI to Hawaii-Kai, HI</a></div>
-->
</header>
<header class="slim">
<div class="btn" id="change">Get Directions</div>
<img src="/static/img/routeview_logo.png" id="logo_small" />
</header>
<div id="map"></div>
<div id="menu">
<div id="summary" class="segment"></div>
<div id="cameras">
<div class="camerasheader">Traffic Cameras along your Route</div>
<p>Enter a start and end point to get started</p>
</div>
</div>
<div id="container">
<div id="routefavs" class="dialog">
<div class="modal_header">
<div class="close">X</div>
<h2>Favorite Routes</h2>
</div>
<ul>
<li id="route-1" class="favroute">
<div class="remove">[DELETE]</div>
<span class="name">Going Home</span><br />
<span class="start"></span> - <span class="end"></span>
</li>
</ul>
<div id="nofavorites">
You haven't added any favorites yet. <br /><br />Add a route to your favorites by clicking on the 'Save this Route' button.
</div>
</div>
<div id="nameroute" class="dialog">
<div class="modal_header">
<div class="close">X</div>
<h2>Save Route to Favorites</h2>
</div>
<label>Route Name</label>
<input type="text" id="routename" value placeholder="What would you like to name this route?"/>
<br />
<div class="btn" id="cancel">Cancel</div>
<div class="btn" id="saveRoute">Save</div>
</div>
</div>
<div id="navbar">
<div class="btn selected" id="mapbtn">Map</div>
<div class="btn" id="cambtn">Cameras</div>
</div>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-32915849-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script type="text/javascript">
var _kmq = _kmq || [];
var _kmk = _kmk || 'dd0c3e9bfc2c26b4a440bfb065d823aa28639891';
function _kms(u){
setTimeout(function(){
var d = document, f = d.getElementsByTagName('script')[0],
s = d.createElement('script');
s.type = 'text/javascript'; s.async = true; s.src = u;
f.parentNode.insertBefore(s, f);
}, 1);
}
_kms('//i.kissmetrics.com/i.js');
_kms('//doug1izaerwt3.cloudfront.net/' + _kmk + '.1.js');
</script>
</body>
</html>