This repository has been archived by the owner on Mar 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
348 lines (256 loc) · 11.5 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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
<!DOCTYPE html>
<html>
<head>
<!-- Colors: Glenn Navy: #091f3f | Glenn Orange: #ef4b24 | Grizzly Bots Slate Blue: #2b354a -->
<!-- Bootstrap :) -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<!-- Custom CSS-->
<link type="text/css" rel="stylesheet" href="css/style.css">
<!-- Font Awesome for icons -->
<link type="text/css" rel="stylesheet" href="css/fontawesome/all.min.css">
<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body class="ghs-bodyAni" onload="showScreensaver(); ghsTyped()">
<div class="container-fluid align-items-center" id="ghs-welcome">
<div class="row ghs-45vh text-white align-items-center">
<div class="col ghs-center">
<h1>Welcome to the Grizzly Bots PIT!</h1>
<!-- <h3>We're out for lunch, but we'll be back soon! Check back at 12:30pm.</h3> -->
<h3 class="typed"></h3>
<br>
<button type="button" class="btn btn-secondary" onclick="showContent()">Click here</button>
</div>
</div>
<div class="row ghs-45vh text-white align-items-center">
<div class="col-12 ghs-center">
<img style="width: 45%" class="image-fluid" src="images/logo.png">
</div>
</div>
</div>
<div class="container-fluid align-items-center" id="ghs-main">
<div class="row ghs-45vh text-white align-items-center">
<div class="col-1">
</div>
<div class="col-5 ghs-center">
<h1>Welcome to the Grizzly Bots PIT!</h1>
<h3>While you're here, why not try one of these actvities?</h3>
<!-- I realized we can't use internet at meets, so this is pointless
<p id="indicator">Internet is!</p>
-->
<p>If you leave this kiosk inactive for 1 minute, it will automatically refresh and go to the welcome page.
</p>
</div>
<div class="col-5 ghs-center">
<img class="image-fluid" src="images/logo2.png">
</div>
<div class="col-1">
</div>
<hr>
</div>
<div class="row text-white align-items-center">
<div class="col-4 ghs-25vh ghs-center ghs-hover border-right border-top">
<br class="ghs-br">
<i class="fas fa-book h3"></i>
<h3>Read the EN</h3>
<!-- <a class="divLink" href="en.html"></a> -->
<a class="divLink" onclick="showEN()" href="#"></a>
</div>
<div class="col-4 ghs-25vh ghs-center ghs-hover border-right border-top">
<br class="ghs-br">
<i class="fas fa-users h3"></i>
<h3>Read about the team</h3>
<a class="divLink" href="" data-toggle="modal" data-target="#aboutModal"></a>
</div>
<div class="col-4 ghs-25vh ghs-center ghs-hover border-right border-top">
<br class="ghs-br">
<i class="fas fa-laptop-code h3"></i>
<h3>Get an intro to software</h3>
<a class="divLink" href="code.html"></a>
</div>
</div>
<div class="row text-white">
<div class="col ghs-25vh ghs-center ghs-hover border-right border-top border-bottom">
<br class="ghs-br">
<i class="far fa-arrow-alt-circle-right h3"></i>
<h3>Go to our website</h3>
<a class="divLink" href="" data-toggle="modal" data-target="#webModal"></a>
</div>
<div class="col ghs-25vh ghs-center ghs-hover border-right border-top border-bottom">
<br class="ghs-br">
<i class="fas fa-code-branch h3"></i>
<h3>Suggest a change to this kiosk</h3>
<a class="divLink" href="https://github.com/jasonappah/FTC11918-PitKioskDashboard/issues"></a>
</div>
<div class="col ghs-25vh ghs-center ghs-hover border-right border-top border-bottom">
<br class="ghs-br">
<i class="far fa-address-book h3"></i>
<h3>Get team contact info</h3>
<a class="divLink" href="" data-toggle="modal" data-target="#contactModal"></a>
</div>
<div class="col ghs-25vh ghs-center ghs-hover border-right border-top border-bottom">
<br class="ghs-br">
<i class="far fa-file-code h3"></i>
<h3>View this kiosk's source code</h3>
<a class="divLink" href="https://github.com/jasonappah/FTC11918-PitKioskDashboard/"></a>
</div>
</div>
<div class="row text-white">
<div class="col ghs-center ghs-5vh">
<br class="ghs-br2">
<p>Grizzly Bots 11918 - Glenn High School</p>
</div>
</div>
</div>
<div class="container-fluid align-items-center" id="en-pdf">
<div class="row">
<div class="col ghs-center align-items-center ghs-navy" id="code-back">
<a class="btn btn-lg btn-primary" onclick="showContent()" href="#" role="button">Back</a>
</div>
<hr>
</div>
<div class="row align-items-center ghs-center text-white">
<div class="col-2">
</div>
<div class="col-8 gb-slate">
<iframe width="100%" height=750px src="EN.pdf#toolbar=0"></iframe>
</div>
<div class="col-2">
</div>
</div>
</div>
<!-- The Modal -->
<div class="modal fade" id="contactModal">
<div class="modal-dialog">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<h4 class="modal-title">Grizzly Bots 11918</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<!-- Modal body -->
<div class="modal-body">
<h5>Email: ftcgrizzlybots@gmail.com</h5>
<h5>Website: bit.ly/grizzlybots</h5>
</div>
<!-- Modal footer -->
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- The Modal -->
<div class="modal fade" id="webModal">
<div class="modal-dialog">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<h4 class="modal-title">Check out our website!</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<!-- Modal body -->
<div class="modal-body">
<h5>Go to <a href="bit.ly/grizzlybots">bit.ly/grizzlybots</a>, or scan the QR code below!.</h5>
<img class="image-fluid" src="images/QR.png">
</div>
<!-- Modal footer -->
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="aboutModal">
<div class="modal-dialog">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<h4 class="modal-title">About Us</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<!-- Modal body -->
<div class="modal-body">
<h6>Hi!</h5>
<p>We are the Grizzly Bots. We are based in Leander, TX. We’re located in Leander, TX and we are Tom Glenn HS' FTC robotics team.</p>
</div>
<!-- Modal footer -->
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- SCRIPTS-->
<!-- This function hides the main content and shows the welcome page. -->
<script>
function showScreensaver() {
var x = document.getElementById("ghs-main");
var y = document.getElementById("ghs-welcome");
var z = document.getElementById("en-pdf");
x.style.display = "none";
z.style.display = "none";
y.style.display = "block";
}
function showContent() {
var x = document.getElementById("ghs-main");
var y = document.getElementById("ghs-welcome");
var z = document.getElementById("en-pdf");
x.style.display = "block";
z.style.display = "none";
y.style.display = "none";
inactivityTime()
}
function showEN() {
var x = document.getElementById("ghs-main");
var y = document.getElementById("ghs-welcome");
var z = document.getElementById("en-pdf");
x.style.display = "none";
z.style.display = "block";
y.style.display = "none";
}
</script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script src="js/typed/lib/typed.js"></script>
<!-- This code does the typing animation on the welcome page. -->
<script>
function ghsTyped() {
var options = {
strings: ['You can do cool things', 'You can look at the source code', 'You can learn more about the team'],
typeSpeed: 40,
backDelay: 1200,
loop: true,
loopCount: Infinity,
smartBackspace: false,
typeSpeed: 50,
backSpeed: 45,
showCursor: false,
shuffle: false,
};
var typed = new Typed('.typed', options);
}
</script>
<!-- This code takes you back to the welcome page after you are inactive for 30 seconds. -->
<script>
var inactivityTime = function() {
var time;
window.onload = resetTimer;
// DOM Events
document.onkeypress = resetTimer;
document.onclick = resetTimer;
document.onmousedown = resetTimer;
function logout() {
showScreensaver()
}
function resetTimer() {
clearTimeout(time);
time = setTimeout(logout, 60000)
// 1000 milliseconds = 1 second
}
};
</script>
<!-- SCRIPTS END -->
</body>
</html>