-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
375 lines (328 loc) · 15.9 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
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
<!DOCTYPE html>
<html>
<title>JHU-ChemE-Car</title>
<!-- Add icon library -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="apple-touch-icon" sizes="180x180" href="./img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./img/favicon-16x16.png">
<link rel="manifest" href="./img/site.webmanifest">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
body {font-family: "Lato", sans-serif}
.mySlides {display: none}
.IntroMobile {display: none}
body, html {
height: 100%;
}
.parallax {
/* The image used */
background-image: url("./img/Group (1).jpg");
/* Full height */
height: 600px;
/* Create the parallax scrolling effect */
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
@media only screen and (max-width:749px) {
.parallax {
height: 350px;
background-attachment: inherit;
background-image: url("./img/transparent logo.png");
background-size: 350px;
}
.IntroDesktop {display: none}
.IntroMobile {display: block}
}
/* Full-width input fields */
input[type=text], input[type=password] {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
}
/* Center the image and position the close button */
.imgcontainer {
text-align: center;
margin: 24px 0 12px 0;
position: relative;
}
img.avatar {
width: 40%;
border-radius: 50%;
}
.container {
padding: 16px;
}
span.psw {
float: right;
padding-top: 16px;
}
/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
padding-top: 60px;
}
/* Modal Content/Box */
.modal-content {
background-color: #fefefe;
margin: 1% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
border: 1px solid #888;
width: 75%; /* Could be more or less, depending on screen size */
}
/* The Close Button (x) */
.close {
position: absolute;
right: 25px;
top: 0;
color: #000;
font-size: 35px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: red;
cursor: pointer;
}
/* Add Zoom Animation */
.animate {
-webkit-animation: animatezoom 0.6s;
animation: animatezoom 0.6s
}
@-webkit-keyframes animatezoom {
from {-webkit-transform: scale(0)}
to {-webkit-transform: scale(1)}
}
@keyframes animatezoom {
from {transform: scale(0)}
to {transform: scale(1)}
}
/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
span.psw {
display: block;
float: none;
}
.cancelbtn {
width: 100%;
}
}
</style>
<body>
<!-- Navbar -->
<div class="w3-top">
<div class="w3-bar w3-black w3-card-2">
<a class="w3-bar-item w3-button w3-padding-large w3-hide-medium w3-hide-large w3-right" href="javascript:void(0)" onclick="openSidebar()" title="Toggle Navigation Menu"><i class="fa fa-bars"></i></a>
<a class="w3-bar-item w3-button w3-padding-large w3-hide-medium w3-hide-large w3-left" href="index.html" title="Toggle Navigation Menu"><img src="http://www.spieuk.com/media/filer_public/24/91/2491bc6e-ec30-4c92-8d34-bbdbef2fd7de/home_icon.png" style=width:22px;height=22px></a>
<a href="index.html" class="w3-bar-item w3-button w3-padding-large w3-hide-small"><img src="http://www.spieuk.com/media/filer_public/24/91/2491bc6e-ec30-4c92-8d34-bbdbef2fd7de/home_icon.png" style=width:22px;height=22px></a>
<a href="announcements.html" class="w3-bar-item w3-button w3-padding-large w3-hide-small">TEAM LOG <img src="http://newsmembres.rotary1720.org/images/cadenas.png" style=width:5px;height=5px=></a>
<a href="team.html" class="w3-bar-item w3-button w3-padding-large w3-hide-small">TEAM</a>
<a href="schedule.html" class="w3-bar-item w3-button w3-padding-large w3-hide-small">SCHEDULE <img src="http://newsmembres.rotary1720.org/images/cadenas.png" style=width:5px;height=5px=></a>
<div class="w3-dropdown-hover w3-hide-small">
<button class="w3-padding-large w3-button" title="More">REACTIONS <i class="fa fa-caret-down"></i></button>
<div class="w3-dropdown-content w3-bar-block w3-card-4">
<a href="reactions.html" class="w3-bar-item w3-button">Stopping: Iodine Clock</a>
<a href="reactions.html" class="w3-bar-item w3-button">Stopping: Hydrogen Decomposition</a>
<a href="reactions.html" class="w3-bar-item w3-button">Propulsion: Thermoelectric battery</a>
<a href="reactions.html" class="w3-bar-item w3-button">Propulsion: Aluminum-Air Battery</a>
</div>
</div>
<div class="w3-dropdown-hover w3-hide-small">
<button class="w3-padding-large w3-button" title="More">CARS <i class="fa fa-caret-down"></i></button>
<div class="w3-dropdown-content w3-bar-block w3-card-4">
<a href="cars.html" class="w3-bar-item w3-button">Fast and Ferrous</a>
<a href="cars.html" class="w3-bar-item w3-button">Ronny D-iesel</a>
<a href="cars.html" class="w3-bar-item w3-button">Rachel Reichner</a>
</div>
</div>
<a href= "reports.html" class="w3-bar-item w3-button w3-padding-large w3-hide-small">REPORTS <img src="http://newsmembres.rotary1720.org/images/cadenas.png" style=width:5px;height=5px></a>
<div class="w3-dropdown-hover w3-hide-small w3-alighn-left">
<button class="w3-padding-large w3-button" title="More"><a href="links.html" style="text-decoration:none">LINKS</a> <i class="fa fa-caret-down"></i></button>
<div class="w3-dropdown-content w3-bar-block w3-card-4">
<a class="w3-bar-item w3-button w3-hide-small" onClick="passWord()">Google Drive <img src="http://newsmembres.rotary1720.org/images/cadenas.png" style=width:7px;height=7px=></a>
<a href="https://engineering.jhu.edu/chembe/" class="w3-bar-item w3-button">Johns Hopkins ChemBE</a>
<a href="https://www.aiche.org/community/students/chem-e-car" class="w3-bar-item w3-button">AIChe Website</a>
<a href="https://www.aiche.org/community/students/chem-e-car-competition-rules/safety-training-test" class="w3-bar-item w3-button">Safety Test</a>
<a href="down.html" class="w3-bar-item w3-button">Make This an App<img src="https://www.freeiconspng.com/uploads/white-download-icon-png-32.png" style=width:25px;height=25px></a>
</div>
</div>
<div class="w3-dropdown-hover w3-hide-small">
<button class="w3-padding-large w3-button" title="More">EVENTS <i class="fa fa-caret-down"></i></button>
<div class="w3-dropdown-content w3-bar-block w3-card-4">
<a href="events.html" class="w3-bar-item w3-button">Design Day 2017</a>
<a href="events.html" class="w3-bar-item w3-button">AIChe Competition 2018</a>
<a href="events.html" class="w3-bar-item w3-button">Design Day 2018</a>
</div>
</div>
<div class="w3-dropdown-hover w3-hide-small">
<button class="w3-padding-large w3-button" title="More">SPONSORS<i class="fa fa-caret-down"></i></button>
<div class="w3-dropdown-content w3-bar-block w3-card-4">
<a href="http://www.jhuapl.edu/" class="w3-bar-item w3-button">Applied Physics Laboratory</a>
</div>
</div>
<div class="w3-bar-item w3-padding-small w3-hide-small w3-right">
<a onclick="document.getElementById('id01').style.display='block'"class="w3-bar-item w3-button w3-padding-small">Sign in</a>
</div>
</div>
</div>
<!-- Navbar on small screens -->
<div id="mySidebar" class="w3-sidebar w3-bar-block w3-display-topright w3-black" style="width:45%;height:80%;display:none">
<div class="w3-black" style"display:none">
<a href="javascript:void(0)" onclick="closeSidebar()"
class="w3-button w3-display-topright w3-small">x</a>
</div>
<a href="#" class="w3-bar-item w3-button w3-padding-large"> </a>
<a href="#" class="w3-bar-item w3-button w3-padding-large"> </a>
<a onclick="document.getElementById('id01').style.display='block'" class="w3-bar-item w3-button w3-padding-small"><img src="http://www.thepixelfarm.co.uk/wp-content/uploads/2016/05/admin_v01D_support.png" style="width:27px;height=27px">Sign in</a>
<a href="announcements.html" class="w3-bar-item w3-button w3-padding-large">Team Log<img src="http://newsmembres.rotary1720.org/images/cadenas.png" style=width:5px;height=5px=></a>
<a href="team.html" class="w3-bar-item w3-button w3-padding-large">Team</a>
<a href="schedule.html" class="w3-bar-item w3-button w3-padding-large">Schedule <img src="http://newsmembres.rotary1720.org/images/cadenas.png" style=width:5px;height=5px=></a>
<a href="reactions.html" class="w3-bar-item w3-button w3-padding-large">Reactions</a>
<a href="cars.html" class="w3-bar-item w3-button w3-padding-large">Cars</a>
<a href="links.html" class="w3-bar-item w3-button w3-padding-large">Links</a>
<a href="events.html" class="w3-bar-item w3-button w3-padding-large">Events</a>
<a href="reports.html" class="w3-bar-item w3-button w3-padding-large">Reports <img src="http://newsmembres.rotary1720.org/images/cadenas.png" style=width:5px;height=5px=></a>
<a href="down.html" class="w3-bar-item w3-button w3-padding-large">Download App</a>
</div>
<!--Sign-in content -->
<div id="id01" class="modal">
<form class="modal-content animate" action="">
<div class="imgcontainer">
<span onclick="document.getElementById('id01').style.display='none'" class="close" title="Close Modal">×</span>
<img src="http://www.thepixelfarm.co.uk/wp-content/uploads/2016/05/admin_v01D_support.png" style="width:100px;height=100px">
</div>
<div class="imgcontainer">
<label align="center"><b>Admin Use Only</b></label>
</div>
<div class="container">
<label for="uname"><b>Username</b></label>
<input type="text" placeholder="Enter Username" name="uname" required>
<label for="psw"><b>Password</b></label>
<input type="password" placeholder="Enter Password" name="psw" required>
<button type="submit" onclick="window.location.href = 'http://jhuchemecar.com/admin.html'" class="w3-button w3-blue w3-block w3-round-large">Login</button>
</div>
<div class="container" style="background-color:#f1f1f1">
<button type="button" onclick="document.getElementById('id01').style.display='none'" class="w3-button w3-red w3-round-large">Cancel</button>
<button type="button" onclick="forgot()" class="w3-button w3-gray w3-round-large w3-right">Forgot Password</button>
</div>
</form>
</div>
<!-- Page content -->
<div class="w3-content" style="max-width:2000px;margin-top:46px">
<div class="IntroMobile w3-row w3-xlarge w3=padding-small" id="IntroMobile">
<h1 class="w3-wide w3-center">Johns Hopkins</h1>
<h1 class="w3-wide w3-center">ChemE-Car</h1>
<p class="w3-center">Applied Science and Engineering</p>
</div>
<div class="IntroDesktop w3-row w3-padding-24 w3-xlarge">
<h1 class="w3-wide w3-center">Johns Hopkins University ChemE-Car</h1>
<p class="w3-center">Applied Science and Engineering</p>
</div>
<!-- Parallax Image -->
<div class="parallax"></div>
<!-- The Band Section -->
<div class="w3-container w3-content w3-center w3-padding-64" style="max-width:800px" id="band">
<h2 class="w3-wide"> Brief Summary</h2>
<p class="w3-justify">The Chem-E-Car team focuses on designing and building a fully chemically controlled car. The interdepartmental team brings students of different backgrounds in mechanical, chemical and electrical engineering as well as computer science together to achieve a unifying goal. As a part of the American Institute of Chemical Engineers, team members get an opportunity to compete against other universities at the regional level and then national level at the annual AIChe Conferences that take place all over the nation. Join Chem-E-Car to become part of a dynamic team of engineers solving real world challenges!</p>
<div class="w3-row w3-padding-32">
<h2 class="w3-wide w3-center">CONTACT</h2>
<i class="fa fa-id-badge" aria-hidden="true" style="width:30px"></i>Chris Lin & Daniel Xenes<br>
<div>
<i class="fa fa-map-marker" style="width:30px"></i> Johns Hopkins University Maryland Hall - Baltimore, MD USA<br>
<i class="fa fa-envelope" style="width:30px"> </i> Email: [email protected]<br>
<i class="fa fa-phone" style="width:30px"> </i> Call: 786-838-5576<br>
</div>
</div>
<!-- End Page Content -->
</div>
<!-- Footer -->
<footer class="w3-container w3-center w3-opacity w3-light-grey w3-xxlarge">
<a href="https://www.facebook.com/JHUChemECar/?ref=bookmarks" class="w3-bar-item w3-button"><img src="https://www.shareicon.net/download/2015/08/13/84750_facebook.ico" style=width:38px;height=38px></a>
<a href="https://github.com/JHU-Chem-E-Car" class="w3-bar-item w3-button"><img src="https://github.com/JHU-Chem-E-Car/JHU-Chem-E-Car.github.io/blob/master/img/github.png" style=width:42px;height=42px></a>
<a href="https://twitter.com/JHU_ChemBE?lang=en" class="w3-bar-item w3-button"><img src="http://goinkscape.com/wp-content/uploads/2015/07/twitter-logo-final.png" style=width:40px;height=40px></a>
<p class="w3-medium">Copyright © Johns Hopkins University May, 2018</p>
<p class="w3-medium">Site developed by <a href="http://luisrodriguezeng.com/">Luis Rodriguez</a></p>
</footer>
<script>
// Automatic Slideshow - change image every 5 seconds
var myIndex = 0;
carousel();
function carousel() {
var i;
var x = document.getElementsByClassName("mySlides");
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
myIndex++;
if (myIndex > x.length) {myIndex = 1}
x[myIndex-1].style.display = "block";
setTimeout(carousel, 5000);
}
// Used to toggle the menu on small screens when clicking on the menu button
function myFunction() {
var x = document.getElementById("navDemo");
if (x.className.indexOf("w3-show") == -1) {
x.className += " w3-show";
} else {
x.className = x.className.replace(" w3-show", "");
}
}
function passWord() {
var testV = 1;
var pass1 = prompt('Please Enter Your Password','');
while (testV < 3) {
if (!pass1)
history.go(-1);
if (pass1.toLowerCase() == "jhcar18") {
alert('That is correct! Click OK to proceed.');
window.open('https://drive.google.com/drive/folders/0B27ZGgANavj4cmcyZFBMWDB2eWc');
break;
}
testV+=1;
var pass1 =
prompt('Access Denied - Password Incorrect, Please Try Again.','Password');
}
if (pass1.toLowerCase()!="password" & testV ==3)
history.go(-1);
return " ";
}
function openSidebar() {
document.getElementById("mySidebar").style.display = "block";
}
function forgot() {
alert('If you have forgotten your username and password please email us at: [email protected]');
}
function closeSidebar() {
document.getElementById("mySidebar").style.display = "none";
}
// Get the modal
var modal = document.getElementById('id01');
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>
</body>
</html>