-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
120 lines (94 loc) · 4.37 KB
/
index.html
File metadata and controls
120 lines (94 loc) · 4.37 KB
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
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Train time</title>
<!-- Normalize -->
<link rel="stylesheet" href="assets/styles/normalize.css">
<!-- Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="assets/styles/style.css">
<!-- Firebase Reference -->
<script src="https://www.gstatic.com/firebasejs/live/3.0/firebase.js"></script>
<!-- Moment.js Reference -->
<script src="https://cdn.jsdelivr.net/momentjs/2.12.0/moment.min.js"></script>
</head>
<body class="override">
<div class="container">
<!-- Jumbotron -->
<div class="jumbotron">
<h1 class="text-center">(Train-time)</h1>
<h4 class="text-center">All Aboard!
</h3>
</div>
<div class="row">
<div class="col-xs-12 col-md-12 col-lg-12">
<div class="panel panel-primary">
<div class="panel-heading panel--">
<h3 class="panel-title"><strong>Current Train Schedule</strong></h3>
</div>
<div class="panel-body">
<div class="table-responsive" style="overflow-x:auto">
<table class="table table-hover" id='train-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>
</tbody>
</table>
</div>
<button class="btn btn-primary" id="clear-train">Clear</button>
</div>
</div>
<!-- Add Train -->
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title"><strong>Add Train</strong></h3>
</div>
<div class="panel-body">
<!-- Train Form -->
<form>
<div class="form-group">
<label for="train-name-input">Train Name</label>
<input class="form-control" id="train-name-input" type="text">
</div>
<div class="form-group">
<label for="destination-input">Destination</label>
<input class="form-control" id="destination-input" type="text">
</div>
<div class="form-group">
<label for="train-time-input">First Train Time (HH:mm - military time) </label>
<input class="form-control" id="train-time-input" type="text">
</div>
<div class="form-group">
<label for="frequency-input">Frequency</label>
<input class="form-control" id="frequency-input" type="text">
</div>
<button class="btn btn-primary" id="add-train-btn" type="submit">Submit</button>
</form>
</div>
</div>
</div>
</div>
</div>
<footer class="footer text-center">
<p class="footer-text">
🚀 Designed & Coded by
<a href="https://github.com/CavanWagg">Cavan Wagg</a>
🤓
</p>
</footer>
<!-- JavaScript -->
<script src="assets/scripts/script.js"></script>
</body>
</html>