-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
91 lines (77 loc) · 2.7 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
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8">
<title>Train Schedule || Marie Dagan</title>
<!-- Reset CSS -->
<link rel="stylesheet" type="text/css" href="assets/css/reset.css" />
<!-- jQuery -->
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<!-- Bootstrap CDN-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<!-- Firebase Reference -->
<script src="https://www.gstatic.com/firebasejs/live/3.0/firebase.js"></script>
<!-- Link to JS -->
<script src="assets/javascript/logic.js"></script>
<!-- Moment JS -->
<script type="text/javascript" src="https://momentjs.com/downloads/moment.js"></script>
<!-- Link to CSS -->
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
</head>
<body>
<div class="container">
<br>
<!-- Jumbotron Title -->
<div class="jumbotron">
<h1 class="text-center">Anytime is Train Time</h1>
<h5 class="text-center">Choo Choo. Chee Chee.</h5>
</div>
<!-- Table -->
<table class="table">
<thead>
<tr>
<th>Train Name</th>
<th>Destination</th>
<th>Frequency (min)</th>
<th>Next Arrival</th>
<th>Minutes Away</th>
</tr>
</thead>
<tbody id="all-display">
</tbody>
</table>
<!-- Add Train Form -->
<div class="row">
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Add Train</h3>
</div>
<div class="panel-body">
<form>
<div class="form-group">
<label for="train-name">Train Name</label>
<input class="form-control" id="trainName" type="text">
</div>
<div class="form-group">
<label for="destination">Destination</label>
<input class="form-control" id="destination" type="text">
</div>
<div class="form-group">
<label for="first-train-time">First Train Time (HH:mm - military time)</label>
<input class="form-control" id="firstTrain" type="text">
</div>
<div class="form-group">
<label for="train-frequency">Frequency (min)</label>
<input class="form-control" id="interval" type="number">
</div>
<button class="btn btn-primary" id="addTrain" type="submit">Submit</button>
</form>
</div>
</div>
</div>
</div>
</div>
</body>
</html>