-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
174 lines (124 loc) · 5.59 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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta -->
<meta charset="utf-8">
<title>TheBluePrint</title>
<link rel="shortcut icon" type="image/png" href="branding/favicon.png">
<meta name="google-site-verification" content="S2RV7EmZkENn6i5TQ8pJGkv8PIdCsYUUcgT1ibmeFHw" />
<!-- Vendor -->
<link rel="stylesheet" href="vendor/bootstrap/bootstrap.min.css">
<!-- Interface Styling -->
<link rel="stylesheet" href="frontend/interface.css">
</head>
<body class="m-0">
<!-- Navbar (Does not print) -->
<div class="navbar navbar-expand navbar-dark bg-primary d-print-none">
<!-- Brand -->
<div class="navbar-brand">
<img src="branding/logo.png" height="32" class="p-0 my-n1 ml-1">
</div>
<!-- Items -->
<div class="collapse navbar-collapse">
<!-- Links -->
<ul class="navbar-nav ml-n2 mr-auto">
<a class="nav-item nav-link font-slightly-bigger mb-n1 mt-0" href="#" onclick="window.print();return false;">Print</a>
</ul>
<!-- Search Form -->
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2 text-primary border-white" type="search" autocomplete="off" placeholder="Team Number" id="team-input" name="team">
<input class="form-control mr-sm-2 text-primary border-white" type="search" autocomplete="off" placeholder="Event Key" id="event-input" name="event">
<button class="btn text-primary btn-light my-2 my-sm-0" type="submit">Search</button>
</form>
</div>
</div>
<!-- Loader Container -->
<div class="container p-5 vw100" id="loader">
<!-- Header -->
<h1>Loading: <span id="loader-precent">0</span>%</h1>
<!-- Appended Info -->
<p class="lead" id="loader-message" style="display: none;"></p>
</div>
<!-- Info Container -->
<div class="container px-5 pt-1 pb-4" style="display: none;">
<!-- Header (Replaces navbar in printing) -->
<div class="p-2 m-0 d-none d-print-block">
<!-- Title -->
<h1>TheBluePrint</h1>
<!-- Event Info -->
<p>
<span id="event-name"></span>,
<span id="event-city"></span>,
<span id="event-state"></span>
(<span id="event-start"></span> to <span id="event-end"></span>)
</p>
</div>
<!-- QR Codes -->
<div class="pt-4 mt-4">
<!-- Header -->
<h2>QR Codes</h2>
<!-- List -->
<div class="container-fluid mx-0 px-0 my-1 py-1">
<!-- Codes -->
<div class="row">
<div class="col qr-code" id="qr-team"></div>
<div class="col qr-code" id="qr-event"></div>
<div class="col qr-code" id="qr-directions"></div>
</div>
<!-- Labels -->
<div class="row font-bigger">
<div class="col qr-text" id="label-team">Team Page</div>
<div class="col qr-text" id="label-event">Event Page</div>
<div class="col qr-text" id="label-directions">Directions</div>
</div>
</div>
</div>
<!-- Directions -->
<div class="pt-4 mt-4">
<!-- Header -->
<h2>Directions</h2>
<!-- Info -->
<table class="table table-borderless table-responsive table-sm font-slightly-bigger">
<!-- From -->
<tr>
<td>From</td>
<td class="font-italic" id="start-address">Somewhere</td>
</tr>
<!-- To -->
<tr>
<td>To</td>
<td class="font-italic" id="end-address">Elsewhere</td>
</tr>
</table>
<!-- List -->
<div class="mt-n2" id="directions-list"></div>
</div>
<!-- Match List -->
<div class="pt-4 mt-4">
<!-- Header -->
<h2>Matches</h2>
<!-- List -->
<table class="table table-striped table-hover border">
<!-- Header -->
<thead>
<tr>
<th scope="col" class="border-right">Match</th>
<th scope="col" class="border-right">Time</th>
<th scope="col" colspan="3" class="border-right">Red Alliance</th>
<th scope="col" colspan="3">Blue Alliance</th>
</tr>
</thead>
<!-- Body -->
<tbody id="match-list"></tbody>
</table>
</div>
</div>
<!-- Vendor -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/popper/popper.min.js"></script>
<script src="vendor/bootstrap/bootstrap.min.js"></script>
<script src="vendor/qrcode/qrcode.min.js"></script>
<!-- Interface Script -->
<script src="backend/interface.js"></script>
</body>
</html>