forked from Renderhaf/ExcaliburWebsite
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathResources.html
154 lines (147 loc) · 6.77 KB
/
Resources.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
---
permalink: /resources/
layout: default
---
<script>
function getVideoUrl(index) {
const videos = [
"https://www.youtube.com/embed/eSvPmKbIGUw?controls=0",
"https://www.youtube.com/embed/049cwhnNpvI?controls=0",
"https://www.youtube.com/embed/CLljYpERAao?controls=0",
"https://www.youtube.com/embed/1TTuW-5MPws?controls=0"
];
if (index > videos.length - 1) {
alert("Wrong Video Index!");
return;
}
return videos[index];
}
function changeVideo(index) {
document.getElementById("videoframe").src = getVideoUrl(index);
}
</script>
<div class="row justify-content-md-center m-0 mb-md-5 mb-sm-0">
<div style="background-color:#012265;" class="jumbotron col-md-12 col-sm-12 m-0 p-2">
<div class="accordion" id="accordionExample">
<div class="card">
<div class="card-header" id="headingTwo">
<h5 class="mb-0">
<button class="btn btn-link" type="button" data-toggle="collapse"
data-target="#collapseTwo" aria-expanded="false"
aria-controls="collapseTwo">
Team Resources
</button>
</h5>
</div>
<div id="collapseTwo" class="collapse show" aria-labelledby="headingTwo"
data-parent="#accordionExample">
<div class="card-body">
<div class="row">
<ul>
<li><a href="Logo.png">High Quality Team Logo</a></li>
<li><a href="code-standards.html">Team Coding Standards</a></li>
<li><a href="color-standards.html">Team Color Standards</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-header" id="tutorial-heading">
<h5 class="mb-0">
<a class="btn btn-link" href="/tutorials/">
Tutorials
</a>
</h5>
</div>
</div>
<div class="card">
<div class="card-header" id="headingOne">
<h5 class="mb-0">
<button class="btn btn-link collapsed" type="button" data-toggle="collapse"
data-target="#collapseOne"
aria-expanded="true" aria-controls="collapseOne">
Useful Links
</button>
</h5>
</div>
<div id="collapseOne" class="collapse" aria-labelledby="headingOne"
data-parent="#accordionExample">
<div class="card-body">
<div class="row">
<ul>
<li><a href="https://docs.wpilib.org/en/stable/">frc-docs (WPILib
Documentation) -
Documentation for the Java Robot Programming Library</a><br/>
</li>
<li><a href="https://www.thebluealliance.com/">The Blue Alliace -
FRC game and team
statistics</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-header" id="headingThree">
<h5 class="mb-0">
<button class="btn btn-link collapsed" type="button" data-toggle="collapse"
data-target="#collapseThree" aria-expanded="false"
aria-controls="collapseThree">
Presentations
</button>
</h5>
</div>
<div id="collapseThree" class="collapse" aria-labelledby="headingThree"
data-parent="#accordionExample">
<div class="card-body">
<div class="row">
<ul>
<li><a href="">IN PROGRESS</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-header" id="headingFour">
<h5 class="mb-0">
<button class="btn btn-link collapsed" type="button" data-toggle="collapse"
data-target="#collapseFour" aria-expanded="false"
aria-controls="collapseFour">
Team Videos
</button>
</h5>
</div>
<div id="collapseFour" class="collapse" aria-labelledby="headingTwo"
data-parent="#accordionExample">
<div class="card-body pb-sm-2 pb-md-4">
<div class="row pr-md-4 pr-sm-0">
<div class="col-md-4 col-sm-12">
<ul>
<li><a href="javascript:changeVideo(3)">2020 Ri3D Reveal</a>
</li>
<li><a href="javascript:changeVideo(0)">2019 Robot Reveal</a>
</li>
<li><a href="javascript:changeVideo(2)">2019 Season Recap</a>
</li>
<li><a href="javascript:changeVideo(1)">2018 Robot Teaser</a>
</li>
</ul>
</div>
<div class="col-md-8 col-sm-12 embed-responsive embed-responsive-16by9 rounded">
<iframe class="embed-responsive-item" id="videoframe"
src="" frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
</div>
<script>
changeVideo(3)
</script>
</div>
</div>
</div>
</div>
</div>
</div>
</div>