forked from project-bartimpatient/bart-impatient
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
169 lines (141 loc) · 5.71 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!DOCTYPE html>
<head>
<title>BART UPSTREAM</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="assets/clockface/css/clockface.css">
<link href="https://fonts.googleapis.com/css?family=Questrial|Slackey" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Prompt" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Boogaloo|Reem+Kufi" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="assets/style.css">
</head>
<nav class="navbar navbar-inverse">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand page-title" href="index.html">BART Tracker</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="active"><a href="index.html">Trip Planner<span class="sr-only">(current)</span></a></li>
<li><a href="stations.html">Station Info</a></li>
<li><a href="map.html">Map</a></li>
</ul>
</div>
</div>
<div>
<img class=bart-train src="assets/images/bart-train.png">
</div>
</nav>
<!-- SERVICE ADVISORIES ID service-advisories -->
<div class="container">
<div class="row">
<div class="alert-panel col-md-12">
<div id="service-advisories"></div>
</div>
</div>
</div>
<!-- form area for user selections -->
<div class="container" id="plan-a-trip">
<div class="row">
<div class="selection-panel col-md-12">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Plan a Trip</h3>
</div>
<div id="show-planner">
<a><span class="glyphicon glyphicon-triangle-bottom" aria-hidden="true"></span></a>
</div>
<div class="panel-body trip-white">
<form>
<!-- list drop downs will always display on page load -->
<div class="input-append">
<input title="defaults to now" type="text" id="time-selection" class="input-small" placeholder=" click to select time" readonly>
<button title="enter time (optional)" class="timepicker" type="button" id="toggle-btn"><span class="glyphicon glyphicon-time" aria-hidden="true"></span></button>
</button>
<button title="clear time" id="time-clear" type="button">
<span class="glyphicon glyphicon-remove-circle" aria-hidden="true"></span>
</button>
</div>
<select class="form-control" id="origin-list">
<option selected>Select Origin Station</option>
</select>
<a id="reverse-selection"><span class="glyphicon glyphicon-sort" aria-hidden="true"></span></a>
<!-- optional via point field -->
<select class="form-control" id="via-list">
<option id="via-default" value="placeholder-station" selected>Select Via Station</option>
</select>
<select class="form-control" id="destination-list">
<option selected>Select Destination Station</option>
</select>
<a class="via-toggle">Add/Remove Upstream Station</a><br>
<button type="submit" class="btn btn-primary" id="addTrainBtn">Get Trip Plan!</button>
</form>
</div>
</div>
</div>
</div>
</div>
<!-- REAL TIME DATA - WILL DISPLAY ALL TRAINS AT ORIGIN STATION ID #real-time-->
<div class="container" id="real-time-container">
<div class="row">
<div class="selection-panel col-md-12">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title"><span id="real-time-origin"></span> Trains Arriving</h3>
</div>
<div class="panel-body trip-container">
<div id="real-time">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container" id="via-rt-panel">
<div class="row">
<div class="selection-panel col-md-12">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title"><span id="via-real-time-origin"></span> Trains Arriving</h3>
</div>
<div class="panel-body trip-container">
<div id="via-real-time">
</div>
</div>
</div>
</div>
</div>
</div>
<!--SCHEDULE DATA - WILL DISPLAY USERS TRIP PLANS #trip-plan -->
<div class="container" id="trip-plan-container">
<div class="row">
<div class="selection-panel col-md-12">
<div class="trip-plan-panel panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Trip Plans</h3>
</div>
<div class="panel-body trip-container">
<div id="trip-plan"></div>
</div>
</div>
<p> Please note: 'Trip Plans' are based on scheduled data which is subject to change. Refer to 'Trains Arriving' for real time data</p>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://cdn.jsdelivr.net/momentjs/2.12.0/moment.min.js"></script>
<script src="assets/clockface/js/clockface.js"></script>
<script src="assets/app.js"></script>
<!-- bootbox needs to live below jquery/bootstrap -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootbox.js/4.4.0/bootbox.min.js"></script>
</body>
</html>