-
Notifications
You must be signed in to change notification settings - Fork 3
/
diag2.html
36 lines (31 loc) · 1.12 KB
/
diag2.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
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="css/app.css" rel="stylesheet" media="screen">
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" />
</head>
<body>
<div id="arrivals"></div>
<script src="http://code.jquery.com/jquery.js"></script>
<script src="http://cdn.leafletjs.com/leaflet-0.7/leaflet.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.2/underscore-min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/diagnostics2.js"></script>
<script type="text/template" id="t-bus-info">
<p>
Headsign: <%= bus.headsign %>
<br />
GTFS Vehicle ID: <%= bus.vehicleId %>
<br />
GTFS Trip ID: <%= bus.tripId %>
<br />
Next stop: <%= bus.tripStatus.nextStop %> in <%= bus.tripStatus.nextStopTimeOffset %> seconds
<br />
Deviation: <%= bus.deviation %> min
</p>
</script>
</body>
</html>