-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
101 lines (85 loc) · 2.94 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
<!DOCTYPE html>
<html>
<head>
<title>Magic Train Schedule</title>
<!-- bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<!-- jquery -->
<script src="https://code.jquery.com/jquery-2.2.1.min.js"></script>
<!-- bootstrap -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<!-- stylesheets -->
<link rel="stylesheet" type="text/css" href="assets/reset.css">
<link rel="stylesheet" type="text/css" href="assets/style.css">
<!-- firebase -->
<script src="https://www.gstatic.com/firebasejs/3.7.0/firebase.js"></script>
<!-- moment-->
<script src="https://cdn.jsdelivr.net/momentjs/2.12.0/moment.min.js"></script>
</head>
<body>
<div class="container">
<div class="jumbotron">
<h1 class="text-center">Platform 9 3/4</h1>
<h3 class="text-center">Magical Travel for Witches and Muggles</h3>
</div>
<div class="row">
<div class="col-lg-12">
<div class="panel panel-danger">
<div class="panel-heading">
<h3 class="panel-title"><strong>Magic Train Schedule</strong></h3>
</div>
<div class="panel-body">
<table class="table table-hover" id='trainTable'>
<thead>
<tr>
<th>Magic Train Name</th>
<th>Magical Destination</th>
<th>Muggle Friendly? </th>
<th>Frequency (min)</th>
<th>Next Arrival</th>
<th>Minutes Away</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
<!--new magic trains-->
<div class="panel panel-danger">
<div class="panel-heading">
<h3 class="panel-title"><strong>Add New Magic Train</strong></h3>
</div>
<div class="panel-body">
<!--magical entry form magically produced via google-->
<form>
<div class="form-group">
<label>Magic Train Name</label>
<input type="text" class="form-control" id="trainNameInput">
</div>
<div class="form-group">
<label>Magical Destination</label>
<input type="text" class="form-control" id="destinationInput">
</div>
<div class="form-group">
<label>Muggle Friendly?</label>
<input type="text" class="form-control" id="muggleInput">
</div>
<div class="form-group">
<label>First Train Time (HH:mm - military time)</label>
<input type="text" class="form-control" id="firstTrainInput">
</div>
<div class="form-group">
<label>Frequency (min)</label>
<input type="text" class="form-control" id="frequencyInput">
</div>
<button type="submit" class="btn btn-danger" id="addTrainBtn">Add New Train</button>
</form>
</div>
</div>
</div>
</div>
</div>
<script src="assets/train.js"></script>
</body>
</html>