-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·76 lines (62 loc) · 3.13 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
<!DOCTYPE html>
<html lang="en" class="no-js">
<!--
Written by Joshua Fabian
August 2016, MIT Transit Lab
Last updated 23 August 2016
-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="stylesheet" type="text/css" href="styler.css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<link href="//fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,500,400italic,500italic,700,700italic,900,900italic" rel="stylesheet" type="text/css">
<script src='jquery.xdomainajax.js'></script>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<title>MBTA AVL time-space tool - BETA v0.4</title>
<meta name="description" content="">
<meta name="keywords" content="" />
<meta name="author" content="">
</head>
<body>
<br>Date <input name="Month" type="text" maxlength="2" size="2" id="mo" class="searchField" placeholder="MM" autofocus/>
<input name="Day" type="text" maxlength="2" size="2" id="dy" class="searchField" placeholder="DD"/>
<input name="Year" type="text" maxlength="4" size="4" id="yr" class="searchField" placeholder="YYYY"/>
Start time <input name="Start time" type="text" maxlength="5" size="5" id="stm" class="timeField" placeholder="HH:MM"/>
End time <input name="End time" type="text" maxlength="5" size="5" id="etm" class="timeField" placeholder="HH:MM"/>
Service <select id="routeInput">
<option value="GT-WB">Green Subway-WB</option>
<option value="GT-EB">Green Subway-EB</option>
<option value="B-WB">Green B-WB</option>
<option value="B-EB">Green B-EB</option>
<option value="C-WB">Green C-WB</option>
<option value="C-EB">Green C-EB</option>
<option value="D-WB">Green D-WB</option>
<option value="D-EB">Green D-EB</option>
<option value="E-WB">Green E-WB</option>
<option value="E-EB">Green E-EB</option>
<option value="RedT-NB">Red Subway-NB</option>
<option value="RedT-SB">Red Subway-SB</option>
<option value="RedA-NB">Red Ashmont-NB</option>
<option value="RedA-SB">Red Ashmont-SB</option>
<option value="RedB-NB">Red Braintree-NB</option>
<option value="RedB-SB">Red Braintree-SB</option>
<option value="OR-NB">Orange-NB</option>
<option value="OR-SB">Orange-SB</option>
<option value="BL-WB">Blue-WB</option>
<option value="BL-EB">Blue-EB</option>
<option value="MT-NB">Mattapan-NB</option>
<option value="MT-SB">Mattapan-SB</option>
</select>
<button onclick="nextHeadwayUpdate()">View AVL data</button>
<div id="dwellsT">
Please enter all fields above to view recorded AVL data from MBTA-Performance.<br>
</div>
<div id="graph">
<svg id="visualisation" width="1200" height="650"></svg>
</div>
<script src="config.js"></script>
<script src="timeSpace.js"></script>
</body>
</html>