-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
184 lines (152 loc) · 7.06 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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="icon" type="image/png" href="/assets/img/favicon.png?v=2">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Train Time</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp"
crossorigin="anonymous">
<!-- jQuery uncompressed CDN -->
<script src="https://code.jquery.com/jquery-3.2.1.js" integrity="sha256-DZAnKJ/6XZ9si04Hgrsxu/8s717jcIzLy3oi35EouyE=" crossorigin="anonymous"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
crossorigin="anonymous"></script>
<!-- Link to FireBase -->
<script src="https://www.gstatic.com/firebasejs/4.8.0/firebase.js"></script>
<!-- Link to GoogleFonts -->
<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
<!-- Link to Moment.js CDN -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.20.0/moment.js"></script>
<!-- Links to Stylesheets -->
<link rel="stylesheet" type="text/css" href="assets/css/reset.css">
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
</head>
<body>
<div class="container-fluid">
<!-- // Image rotator asset links | requires "trigger" script at foot and external bg.js file -->
<div id="slideshow">
<img src="assets/img/tunnel.jpg" class="bgM" class="img-responsive" />
<img src="assets/img/urban_lg.jpg" class="bgM" class="img-responsive" />
<img src="assets/img/urban_lg.jpg" class="bgM" class="img-responsive" />
<img src="assets/img/london.jpg" class="bgM" class="img-responsive" />
<img src="assets/img/subway.jpg" class="bgM" class="img-responsive" />
<img src="assets/img/orsay5.jpg" class="bgM" class="img-responsive" />
<img src="assets/img/kings-cross.jpg" class="bgM" class="img-responsive" />
<img src="assets/img/DoF.jpg" class="bgM" class="img-responsive" />
<img src="assets/img/orsay2.jpg" class="bgM" class="img-responsive" />
<img src="assets/img/tunnel2.jpg" class="bgM" class="img-responsive" />
<img src="assets/img/ind-railway-04.jpg" class="bgM" class="img-responsive" />
<img src="assets/img/orsay.jpg" class="bgM" class="img-responsive" />
<img src="assets/img/penn_red.jpg" class="bgM" class="img-responsive" />
<img src="assets/img/tracks.jpg" class="bgM" class="img-responsive" />
</div>
</div>
<div class="container">
<!-- Transparent Jumbotron w/CSS -->
<div class="jumbotron text-center">
<h1>Anfünfte | Llegadas | Arrivées | Arrivals</h1>
<hr>
<!-- Display local time -->
<h2>Local Time:
<span id="currentTime"></span>
</h2>
</div>
<!-- End Jumbotron | begin 2 columns -->
<div class="row">
<!-- Open ROW and begin Timetable -->
<div class="col-sm-9">
<!-- Panel-Primary needed to get white text in Bootstrap -->
<div class="panel panel-primary">
<div class="panel-heading">All Train | Tren | Zug || Scheduled Arrivals</div>
<div class="panel-body">
<div class="panel-body">
<table class="table table-hover" id="timeTable">
<thead>
<tr>
<th>Train | Tren | Zug</th>
<th>Destination</th>
<th>Frequency (min)</th>
<th>Next Arrival</th>
<th>Arrives In (min)</th>
</tr>
</thead>
<!-- Input data will be written to the trainTable below -->
<tbody id="trainTable">
<tr></tr>
</tbody>
<!-- Closes tbody <div> -->
</table>
</div>
<!-- Closes panel-body <div> -->
</div>
<!-- Closes panel panel-primary <div> -->
</div>
<!-- Closes Col-sm-9 <div> -->
</div>
<!-- Begin Sidebar -->
<div class="col-sm-3">
<!-- Panel-Primary needed to get white text in Bootstrap -->
<div class="panel panel-primary">
<div class="panel-heading">Add a New Train</div>
<div class="panel-body">
<!-- Form -->
<form role="form" class='form-horizontal'>
<div class="form-group">
<label for="train">Train | Tren | Zug (Alias)</label>
<input type="text" class="form-control" id="enterTrain" placeholder="Train | Tren | Zug Alias">
</div>
<div class="form-group">
<label for="dest">Destination </label>
<input type="text" class="form-control" id="enterDest" placeholder="Zzyzx, California,">
</div>
<div class="form-group">
<label class="firstTrain" for="firstTrain">First Train Time</label>
<label class="militaryTime"> (HH:mm | Military)</label>
<input type="" class="form-control" id="enterTime" placeholder="23:59">
</div>
<div class="form-group">
<label for="minutesAway">Frequency - (mins) </label>
<input type="text" class="form-control" id="enterFrequency" placeholder="120">
</div>
<button type="submit" class="btn btn-warning" id="submit">Add Train</button>
<hr>
<!-- Audio controls -->
<audio controls autoplay="autoplay" style="width:230px" loop="true">
<source src="assets\snd\crossing.mp3" type="audio/mpeg"> Your browser does not support the audio element.
</audio>
</form>
<!-- Closes panel-body <div> -->
</div>
<!-- Closes panel panel-primary <div> -->
</div>
<!-- Closes Col-sm-3 <div> -->
</div>
<!-- Closes Row <div> -->
</div>
<!-- Closes Container <div> -->
</div>
<!-- JAVASCRIPT - This must be last item in <body> -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript" src="assets/js/script.js"></script>
<script type="text/javascript" src="assets/js/bg.js"></script>
<!-- Triggers backgound image rotator inconjunction with bg.js -->
<!-- Credit for this script is noted in bg.js -->
<script>
$(document).ready(function () {
$('#slideshow').cycle({
fx: 'fade',
pager: '#smallnav',
pause: 1,
speed: 1800,
timeout: 3500
});
});
</script>
</body>
</html>