-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·46 lines (41 loc) · 1.87 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
<!DOCTYPE html>
<html lang="en" class="no-js">
<!--
Written by Joshua Fabian
-->
<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.csv.js'></script>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<title>MBTA dynamic rapid transit diagram - v1.5</title>
<meta name="description" content="">
<meta name="keywords" content="" />
<meta name="author" content="">
</head>
<body>
<b>View current service:</b> <button onclick="refreshDiagram('current_status')">Live alerts</button>
<br>
<b>View future service:</b> 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"/>
Time of day
<select id="timeDay">
<option value="midday">Daytime</option>
<option value="night">Night</option>
</select>
<button onclick="refreshDiagram('set_time')">View alerts for set dates</button>
<div id="statusText">
Please enter all fields above to view the rapid transit service diagram for a particular day.<br>
</div>
<div id="graph">
<svg id="visualisation" width="1200" height="1200"></svg>
</div>
<script src="config.js"></script>
<script src="dynamicMap.js"></script>
</body>
</html>