-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
63 lines (55 loc) · 1.79 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Train Schedule</title>
<link rel="stylesheet" href="style.css">
<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'>
</head>
<body>
<section id="addTransit" class="form-style-8">
<form>
<div>
<label for="name">Vehicle ID:</label>
<input type="text" id="name" name="vehicle_name">
</div>
<div>
<label for="dest">Destination:</label>
<input type="text" id="dest" name="destination">
</div>
<div>
<label for="startTime">First Departure:</label>
<input type="time" id="startTime" name="startTime">
</div>
<div>
<label for="frequency">Frequency:</label>
<input type="text" id="frequency" name="frequency">
</div>
<input type="button" value="Submit Data" id="submitButton">
</form>
</section>
<section id="VehicleDisplay">
<table class="table-fill" id="vehicles">
<thead>
<tr>
<th>Train ID</th>
<th>Destination</th>
<th>First Departure</th>
<th>Frequency (min)</th>
<th>Next Train (min)</th>
<th>Time of Arrival</th>
</tr>
</thead>
<tbody class="table-hover" id="tableBody">
</tbody>
</table>
</section>
</body>
<script src="https://www.gstatic.com/firebasejs/4.1.3/firebase.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.js"></script>
<script
src="https://code.jquery.com/jquery-3.2.1.js"
integrity="sha256-DZAnKJ/6XZ9si04Hgrsxu/8s717jcIzLy3oi35EouyE="
crossorigin="anonymous"></script>
<script src="logic.js"></script>
</html>