-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·299 lines (286 loc) · 14.1 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
<!DOCTYPE html>
<html>
<head>
<title>Educational Solar Module</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:image" content="http://egr.gvsu.edu/~esm/images/trailer/45.jpg">
<link rel="stylesheet" href="css/min/bootstrap.min.css">
<link rel="icon" type="image/png" href="http://www.gvsu.edu/favicon.ico">
<link href="css/min/Oxygen.min.css" rel="stylesheet">
<style>
body {
position: relative;
font-family: 'Oxygen', sans-serifi !important;
}
#intro {padding-top:50px;min-height:100vh;color: #000; background-color: #A2D1ED;}
#currentDataLive {padding-top:50px;color: #fff; background-color: #009688;}
#map {pointer-events:none; height:400px;padding-bottom:10px;padding-left:50px;}
.leaflet-marker-pane {pointer-events:all;}
#historicalData {padding-top:50px;color: #fff; background-color: #673ab7;}
#education {padding-top:50px;padding-bottom:70px;height:800px;max-height:90vh;color: #fff; background-color: #00bcd4;}
#team {padding-top:50px;padding-bottom:100px;color: #fff; background-color: #009688;}
#thanks {padding-top:50px;padding-bottom:100px;color: #000; background-color:#fff;}
#last-hour-data {height:300px;}
.nav-tabs > li a {
solid #1A3E5E;
background-color:#2F71AB;
color:#fff;
}
.thankyous{padding-bottom:10px;}
</style>
</head>
<body data-spy="scroll" data-target=".navbar" data-offset="50">
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" style="padding:2px 15px ! important;" href="http://gvsu.edu">
<img
src="images/gvsuLogo.png"
height="45" alt= Educational Solar Module></a>
</div>
<div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li><a href="#intro">Introduction</a></li>
<li><a href="#currentDataLive">Live Data</a></li>
<li><a href="#historicalData">Historical Data</a></li>
<li><a href="#education">Education</a></li>
<li><a href="#team">Team</a></li>
<li><a href="#thanks">Thanks</a></li>
</ul>
</div>
</div>
</div>
</nav>
<div id="intro" class="container-fluid">
<h1 class="text-center"> Educational Solar Module</h1>
<img id="modelImg" class = "img-responsive center-block model" style="padding:50px;padding-bottom:0px;max-height:100vh;opacity:0.2;" src = "images/trailer/0.jpg">
<p class="text-center">
Scroll to activate the trailer model
</p>
<p class="text-left" style="font-size:180%;padding:30px 10%">
Welcome to the homepage of the Educational Solar Module.
<br>Here, you will find information about the performance of the trailer,
the benefits and considerations surrounding solar energy, as well as the team, their sponsor, and other businesses that assisted
in the completion of this project.
</p>
<p class="text-center">
</p>
</div>
<div id="currentDataLive" class="container-fluid">
<h1>Live Data</h1>
<div id="system-live">
</div>
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-4">
<div id="wattCol"></div>
<canvas height="200" id="current-data-panel"></canvas>
<p style="font-size: 22px;">
<strong id="current-data-panel-textfield"></strong>
Watts per square meter (panels)
</p>
</div>
<div class="col-xs-12 col-sm-12 col-md-4">
<div id="wattCol"></div>
<canvas height="200" id="current-data-shingle"></canvas>
<p style="font-size: 22px;">
<strong id="current-data-shingle-textfield"></strong>
Watts per square meter (shingles)
</p>
</div>
<div class="col-xs-12 col-sm-12 col-md-3">
<h3 class="text-center">More Information</h3>
<p><p class="text-center" id="powerLine" style="display:none">We Can Power: <strong id="energyComp"></strong> </p></p>
<p class="text-center">Panel Power: <strong id="totalPanel"></strong> -- Shingle Power: <strong id="totalShingle"></strong> </p>
<p class="text-center">Total Power: <strong id="totalWatts"></strong> </p>
<p class="text-center">Panel Angle: <strong id="panelAngle"></strong> -- Trailer Heading: <strong id="heading"></strong> </p>
<p class="text-center">Electrical Box Temperature: <strong id="boxTemp"></strong> -- Wind Speed: <strong id="windSpeed"></strong> -- Battery Level: <strong id="batteryLevel"></strong></p>
</div>
<div class="col-xs-12 col-sm-12 col-md-12" style="color:#000">
<button id="mapToggle" type="button" class="btn btn-primary" style="margin-bottom:5px; margin-top:5px"> Enable Map Controls</button>
<div id="map" style="position: relative"></div>
</div>
<div class="col-xs-12 col-sm-12 col-md-12">
<h2>Recent Performance</h2>
<div class="dropdown">
<button class="btn btn-default dropdown-toggle" style="margin-bottom:15px" type="button" id="currentDrop" data-toggle="dropdown" aria-haspopup="true">
Select Range - Hour
<span class="caret"></span>
</button>
<ul class="dropdown-menu" id="currentDrop" aria-labelledby="currentDrop">
<li style="color:#000" ><a id="currentHour">Hour</a></li>
<li style="color:#000" ><a id="currentDay">Day</a></li>
<li style="color:#000" ><a id="currentWeek">Week</a></li>
</ul>
</div>
<div id="recentCol" style="margin-top:15px; margin-bottom:30px">
<canvas height=300 style="height:300px!important" id="last-hour-data-chart"></canvas>
</div>
</div>
</div>
</div>
</div>
<div id="historicalData" class="container-fluid">
<div class="row">
<div class="col-xs-12" >
<h1>Historical Data</h1>
<h4>Over the selected range, the system generated <strong id="historicalPanel"></strong> from the panels, and <strong id="historicalShingle"></strong> from the shingles.</h4>
<p id="system-live-time" class="text-left"></p>
<div class="dropdown">
<button class="btn btn-default dropdown-toggle" style="margin-bottom:15px" type="button" id="historicalDrop" data-toggle="dropdown" aria-haspopup="true">
Select Range - Month
<span class="caret"></span>
</button>
<ul class="dropdown-menu" id="historicalDrop" aria-labelledby="historicalDrop">
<li style="color:#000" ><a id="historicalMonth">Month</a></li>
<li style="color:#000" ><a id="historicalYear">Year</a></li>
<li style="color:#000" ><a id="historicalAll">All</a></li>
</ul>
</div>
<div id="historicalCol">
<canvas width="220" height="400" id="historical-data-chart"></canvas>
</div>
<a id="dataDownload" type="button" class="btn btn-primary" style="margin-bottom:5px; margin-top:5px" href="download.html" target="_blank">Download Data</a>
</div>
</div>
</div>
<div id="education" class="container-fluid">
<h1>Education</h1>
<p>
Select an education module from the tabs below:
</p>
<div id="tabs-section">
<ul class="nav nav-tabs" role="tablist">
<li id="generalTab" role="presentation" class="active"><a href="#general" aria-controls="general" role="tab" data-toggle="tab">General</a></li>
<li id="earlyTab"><a href="#early" aria-controls="early" role="tab" data-toggle="tab">Early Adopters</a></li>
<li id="firstRespondersTab"><a href="#firstResponders" aria-controls="firstResponders" role="tab" data-toggle="tab">First Responders</a></li>
</ul>
<div class="tab-content" >
<div role="tabpanel" class="tab-pane active" id="general" style="height:700px;max-height:60vh;" >
<iframe id ="generalFrame" src="education/genpub.html" style="width:100%;height:100%" ></iframe>
</div>
<div role="tabpanel" class="tab-pane" id="early" style="height:700px;max-height:60vh;">
<iframe id="earlyFrame" src="education/early.html" style="width:100%;height:100%" ></iframe>
</div>
<div role="tabpanel" class="tab-pane" id="firstResponders" style="height:700px;max-height:60vh;">
<h2>The OSH department has provided a powerpoint, available for download <a href="education/firstResponders.pptx">here</a></h2>
<h3>Check out the <a href="https://www.gvsu.edu/osh/" target="_blank">OSH page</a> for updates on First Responder Training</h3>
<iframe id="earlyFrame" src="https://www.gvsu.edu/osh/" style="width:100%;height:100%" ></iframe>
</div>
</div>
</div>
</div>
<div id="team" class="container-fluid">
<h1>Team</h1>
<div class="row">
<div class="col-xs-6 col-sm-4 col-md-2">
<img class = "center-block" style="padding:10px" height="200" src="images/1.png">
<h3 class="text-center">Billy Neuson</h3>
<h5 class="text-center">Computer Engineer</h5>
</div>
<div class="col-xs-6 col-sm-4 col-md-2">
<img class = "center-block" style="padding:10px" height="200" src="images/6.png">
<h3 class="text-center">Alec Nichols</h3>
<h5 class="text-center">Mechanical Engineer</h5>
</div>
<div class="col-xs-6 col-sm-4 col-md-2">
<img class = "center-block" style="padding:10px" height="200" src="images/4.png">
<h3 class="text-center">Tyler Roelfsema</h3>
<h5 class="text-center">Mechanical Engineer</h5>
</div>
<div class="col-xs-6 col-sm-4 col-md-2">
<img class = "center-block" style="padding:10px" height="200" src="images/2.png">
<h3 class="text-center">Ben Stenberg</h3>
<h5 class="text-center">Mechanical Engineer</h5>
</div>
<div class="col-xs-6 col-sm-4 col-md-2">
<img class = "center-block" style="padding:10px" height="200" src="images/3.png">
<h3 class="text-center">John Wilks</h3>
<h5 class="text-center">Mechanical Engineer</h5>
</div>
<div class="col-xs-6 col-sm-4 col-md-2">
<img class = "center-block" style="padding:10px" height="200" src="images/5.png">
<h3 class="text-center">Kevin Wu</h3>
<h5 class="text-center">Mechanical Engineer</h5>
</div>
</div>
<h3>Background</h3>
<p class="text-left" style="text-size:150%">
Consisting of an interdisciplinary group of engineering students, the Educational Solar Module
team worked to create the trailer from January to August of 2016.
</p>
</div>
<div id="thanks" class="container-fluid">
<h1>Thanks</h1>
<h3 style="padding-bottom:20px">The team would like to thank the following institutions for the assistance they provided with the project</h3>
<div class="row">
<div class="col-xs-12 col-sm-5 col-md-4 thankyous">
<a href="https://consumersenergy.com" target="_blank">
<img src="images/Consumers-Energy-logo.jpg" height=100></img>
<p>Consumers Energy</p>
</a>
</div>
<div class="col-xs-12 col-sm-5 col-md-4 thankyous">
<a href="http://www.gvsu.edu/" target="_blank">
<img src="images/gvsu.jpg" height=100></img>
<p>Grand Valley State University</p>
</a>
</div>
<div class="col-xs-12 col-sm-5 col-md-4 thankyous">
<a href="http://www.cyboenergy.com/" target="_blank">
<img src="images/CyboEnergy.jpg" height=100></img>
<p>CyboEnergy</p>
</a>
</div>
<div class="col-xs-12 col-sm-5 col-md-4 thankyous">
<a href="http://www.jrauto.com/" target="_blank">
<img src="images/jr.jpg" height=100></img>
<p>JR Automation</p>
</a>
</div>
<div class="col-xs-12 col-sm-5 col-md-4 thankyous">
<a href="https://www.mc-mc.com/" target="_blank">
<img src="images/mcmc-logo.png" height=100></img>
<p>McNaughton-McKay</p>
</a>
</div>
<div class="col-xs-12 col-sm-5 col-md-4 thankyous">
<a href="http://www.gvsu.edu/engineering/" target="_blank">
GVSU Faculty Advisors:
<ul>
<li>Dr. Karl Brakora</li>
<li>Dr. Heidi Jiao</li>
<li>Dr. Wael Mokhtar</li>
<li>Dr. Mehmet Sozen</li>
<li>Professor Terry Stevens</li>
</ul>
</a>
</div>
</div>
</div>
</body>
<script type="text/javascript">
function downloadJSAtOnload() {
var element = document.createElement("script");
element.src = "scripts/min/LAB.min.js";
document.body.appendChild(element);
var element = document.createElement("script");
element.src = "scripts/min/main.min.js";
document.body.appendChild(element);
var element = document.createElement("link");
element.src = "";
document.head.appendChild(element);
}
if (window.addEventListener)
window.addEventListener("load", downloadJSAtOnload, false);
else if (window.attachEvent)
window.attachEvent("onload", downloadJSAtOnload);
else window.onload = downloadJSAtOnload;
</script>
</html>