-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
153 lines (87 loc) · 3.66 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Train-Scheduler</title>
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="row" id="">
<div class="col-12" id="header">
<img class="img-fluid" src="img/logo2.png" id="logo">
<div id="headerText">Bullet Train Scheduler
</div>
</div>
</div>
<div class="addTrain">
<div id="addYourTrain">Add Train:</div>
<div class="row" id="">
<div class="col-1" id=""></div>
<div class="col-2" id="">
<form>
<div class="form-group">
<label for="exampleFormControlInput1">Train Name</label>
<input type="email" class="form-control trainName" id="exampleFormControlInput1" placeholder="Train Name">
</div>
</form>
</div>
<div class="col-2" id="">
<form>
<div class="form-group">
<label for="exampleFormControlInput1">Destination</label>
<input type="email" class="form-control destination" id="exampleFormControlInput1" placeholder="Destination">
</div>
</form>
</div>
<div class="col-2" id="">
<form>
<div class="form-group">
<label for="exampleFormControlInput1">First Train Time (HH:mm - military time)</label>
<input type="email" class="form-control firstTrain" id="exampleFormControlInput1" placeholder="First Train Time">
</div>
</form>
</div>
<div class="col-2" id="">
<form>
<div class="form-group">
<label for="exampleFormControlInput1">Frequency (Minutes)</label>
<input type="email" class="form-control frequency" id="exampleFormControlInput1" placeholder="Frequency">
</div>
</form>
</div>
<div class="col-2" id="button">
<button type="button" class="btn btn-outline-secondary btn-lg btn-block buttonAddTrain">Add Train</button>
</div>
</div>
<div id="trainShedule">Train Schedule:</div>
</div>
<div class="row" id="trains">
<div class="col-1" id=""></div>
<div class="col-10" id="">
<table class="table table-striped table-dark">
<thead>
<tr>
<th scope="col">Train Name</th>
<th scope="col">Destination</th>
<th scope="col">Frequency (min)</th>
<th scope="col">Next Arrival</th>
<th scope="col">Minutes Away</th>
</tr>
</thead>
<tbody scope="row" id="tableBody"></tbody>
</table>
</div>
<div class="col-1" id=""></div>
</div>
<script src="https://www.gstatic.com/firebasejs/6.0.4/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/6.0.4/firebase-database.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.22.2/moment.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript" src="js/train.js"></script>
</body>
<footer>Copyright©</footer>
</html>