-
Notifications
You must be signed in to change notification settings - Fork 0
/
new_captains.html
131 lines (122 loc) · 6.14 KB
/
new_captains.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
<!DOCTYPE html>
<head>
<title>the holmdel robotics bible | for new team captains</title>
<link rel="stylesheet" href="./css/default.css">
<link rel="icon" type="image/x-icon" href="./images/favicon.ico">
</head>
<body>
<header>
<h1>the holmdel robotics bible <sub>for new team captains</sub></h1>
<nav>
<span><a href="./index__unlocked.html">home</a></span>
<span> | </span>
<span><a href="./new_members.html">for new team members</a></span>
<span> | </span>
<span><a href="./new_captains.html">for new captains</a></span>
<span> | </span>
<span><a href="./coding_resources.html">coding resources</a></span>
<span> | </span>
<span><a href="./construction_resources.html">construction resources</a></span>
<span> | </span>
<span><a href="./hall_of_fame.html">hall of fame</a></span>
<span> | </span>
<span><button style="margin-top: 10px;" onclick="toggleTheme()"><u>toggle dark mode</u></button></span>
</nav>
</header>
<hr>
<div>
<div class="empty">
<img src="./images/barraconstruction.gif" class="center"> <br>
<img src="./images/construction.gif"> <img src="./images/wip.gif"> <img src="./images/construction.gif">
<p><b>woah there buddy!</b> this part of the website isn't finished yet. hopefully i'll get to updating it soon, but until then, Enjoy the music</p>
<audio controls>
<source src="./sfx/dogbonk_short.mp3">
oops your browser can't play the audio
</audio>
</div>
</div>
<footer>
<div>
<img src="./images/hornet_logo_black.png" id="logo" alt="holmdel robotics hornet logo" style="width:100px;height:100px;margin-top:100px;" class="center">
</div>
<hr>
<div class="badges">
<img src="./images/badges/button_copy16.png" class="boring-hide" alt="the frog" style="width:80px;height:15px;">
<img src="./images/badges/button_copy9.gif" class="boring-hide" alt="funky shirts" style="width:80px;height:15px;">
<img src="./images/badges/spongebob.gif" class="boring-hide" alt="sponge bob" style="width:80px;height:15px;">
<img src="./images/badges/nb2_copy1.gif" class="boring-hide" alt="nice" style="width:80px;height:15px;">
<img src="./images/badges/logitech.gif" class="boring-hide" alt="thank you logitech for bankrolling me (real)" style="width:80px;height:15px;">
<img src="./images/badges/loveani.gif" class="boring-hide" alt="be who you are" style="width:80px;height:15px;">
<button onclick="toggleBoring()"><img src="./images/badges/clickherebtn.gif" alt="click here" style="width:80px;height:15px;"></button>
<img src="./images/badges/autumn.gif" class="boring-hide" alt="me !!!" style="width:80px;height:15px;">
<img src="./images/badges/give_blood.gif" class="boring-hide" alt="give blood" style="width:80px;height:15px;">
<img src="./images/badges/8015_familyguy.png" class="boring-hide" alt="family guy" style="width:80px;height:15px;">
<img src="./images/badges/infp.gif" class="boring-hide" alt="im an infp" style="width:80px;height:15px;">
<img src="./images/badges/savewater.gif" class="boring-hide" alt="save water" style="width:80px;height:15px;">
<img src="./images/badges/luvsoaps.gif" class="boring-hide" alt="i <3 soaps" style="width:80px;height:15px;">
</div>
</footer>
<script>
if (window.localStorage.getItem('boring') == 'true') {
if (window.localStorage.getItem('theme') == 'default') {
setTheme('./css/boring.css');
} else {
setTheme('./css/boring_dark.css');
}
} else {
if (window.localStorage.getItem('theme') == 'default') {
setTheme('./css/default.css');
} else {
setTheme('./css/dark.css');
}
}
function toggleTheme() {
if (window.localStorage.getItem('boring') == 'true') {
if (window.localStorage.getItem('theme') == 'default') {
setTheme('./css/boring_dark.css');
window.localStorage.setItem('theme', 'dark');
} else {
setTheme('./css/boring.css');
window.localStorage.setItem('theme', 'default');
}
} else {
if (window.localStorage.getItem('theme') == 'default') {
setTheme('./css/dark.css');
window.localStorage.setItem('theme', 'dark');
} else {
setTheme('./css/default.css');
window.localStorage.setItem('theme', 'default');
}
}
}
function toggleBoring() {
if (window.localStorage.getItem('boring') == 'true') {
if (window.localStorage.getItem('theme') == 'default') {
setTheme('./css/default.css');
} else {
setTheme('./css/dark.css');
}
window.localStorage.setItem('boring', 'false');
alert("boring mode deactivated");
} else {
if (window.localStorage.getItem('theme') == 'default') {
setTheme('./css/boring.css');
} else {
setTheme('./css/boring_dark.css');
}
window.localStorage.setItem('boring', 'true');
alert("boring mode activated");
}
}
function setTheme(x) {
var get = document.getElementById('logo');
var theme = document.getElementsByTagName('link')[0];
theme.setAttribute('href', x);
if (x == './css/default.css' || x == './css/boring.css') {
get.src = "./images/hornet_logo_black.png";
} else {
get.src = "./images/hornet_logo_white.png";
}
}
</script>
</body>