/
index.html
252 lines (223 loc) · 9.32 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Plain Green Tees</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- Le styles -->
<link rel="stylesheet" href="css/screen.css" media="screen"/>
<link rel="stylesheet" href="css/lightbox.css" media="screen"/>
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
<style type="text/css">
body {
padding-top: 60px;
padding-bottom: 40px;
}
#content {
width:1100px;
margin:20px auto;
}
#login {
display: none;
text-align: right;
}
#login-button {
float:right;
}
.hackpic {
display:block;
float:left;
padding:5px;
}
#jumbo {
height:500px;
padding: 40px 75px;
}
.fb-login-button {
padding-right: 35px;
}
.member {
height:70px;
}
.member img {
margin-right: 15px;
float:left;
display: block;
}
.logo {
text-align: center;
margin:auto;
display:block;
}
</style>
</head>
<body>
<div class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<a href="/" class="navbar-brand">Plain Green Tees / Hackathon 2014</a>
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#navbar-main">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="navbar-collapse collapse" id="navbar-main">
<ul class="nav navbar-nav">
<li>
<a href="about.html">About Us</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><br /><div class="fb-login-button" data-max-rows="1" data-size="medium" data-show-faces="false" data-auto-logout-link="true"></div></li>
</ul>
</div>
</div>
<div id="fb-root"></div>
<script type="text/javascript">
window.fbAsyncInit = function() {
FB.init({
appId : '134653470038410',
status : true,
cookie : true,
xfbml : true
});
var name = "";
FB.Event.subscribe('auth.authResponseChange', function(response) {
// Here we specify what we do with the response anytime this event occurs.
if (response.status === 'connected') {
document.getElementById('login').style.display = "block";
//console.log(FB);
FB.api( "/"+response.authResponse.userID,
function (response) {
if (response && !response.error) {
writename(response.name);
}
}
);
} else if (response.status === 'not_authorized') {
FB.login();
document.getElementById('login').style.display = "none";
} else {
FB.login();
document.getElementById('login').style.display = "none";
}
});
};
// Load the SDK asynchronously
(function(d){
var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js";
ref.parentNode.insertBefore(js, ref);
}(document));
function writename(name) {
document.getElementById("name").innerHTML = name;
}
window.onload = function() {
var loginbutton = document.getElementById("login-button");
loginbutton.addEventListener("click", function(){
window.location.href = "http://10.67.29.243:8888/game"
});
console.log(loginbutton);
};
</script>
</div>
<div id="content"><br />
<div class="row">
<div class="col-lg-9">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Welcome!</h3>
</div>
<div class="panel-body">
The Plain Green Tees was created by CNU students S.Darling, G. McAlister, J. Peyton, and J. Vallejo, inspired by top down graphics and MMO's interface. Susannah Darling designed the graphics, Gerald McAlister was the front end creater, Joseph Peyton did the web development, and Juan Vallejo did the technical backend. Instead of browsing through links, the Plain White Tees' game lets you browse by interacting with the game.
</div>
</div>
</div>
<div id="login">
<div class="col-lg-3">
<div class="panel panel-primary">
<div class="panel-body">
Logged in as: <span id="name"></span><br /><br />
<button type="button" id="login-button" class="btn btn-default">Play Now!</button>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<div class="panel panel-default">
<div class="panel-heading">The Team</div>
<div class="panel-body">
<div class="member" >
<a href="http://www.facebook.com/squirrelarmies/"><img src="http://graph.facebook.com/squirrelarmies/picture" alt="member" width="48px" height="48px" />
<p>Joseph Peyton</a> - Junior<br />
Computer Engineering</p>
</div>
<div class="member" >
<a href="http://www.facebook.com/gerald.mcalister/"><img src="https://graph.facebook.com/gerald.mcalister/picture" alt="member" width="48px" height="48px" />
Gerald Mcalister</a> - Senior<br />
Computer Engineering/Science
</div>
<div class="member" >
<a href="http://www.facebook.com/juuanvallejo/"><img src="https://graph.facebook.com/juuanvallejo/picture" alt="member" width="48px" height="48px" />
Juan Vallejo</a> - Sophmore<br />
Computer Science
</div>
<div class="member" >
<a href="http://www.facebook.com/soozi.darling/"><img src="https://graph.facebook.com/soozi.darling/picture" alt="member" width="48px" height="48px" />
Susannah Darling</a> - Junior<br />
Physics
</div>
</div>
</div>
</div>
<div class="col-lg-8">
<div class="panel panel-default">
<div class="panel-heading">Products/Technology</div>
<div class="panel-body">
<div class="col-lg-4">
<a href="http://getbootstrap.com/" target="_blank"><img class="logo" src="pics/logo1.jpg" alt="logo1" width="" height="50px" /></a><br />
<a href="https://github.com/juanvallejo/Lib.js" target="_blank"><img class="logo" src="pics/logo2.jpg" alt="logo2" width="" height="50px" /></a><br />
<a href="http://jquery.com/" target="_blank"><img class="logo" src="pics/logo3.png" alt="logo3" width="" height="50px" /></a><br />
<a href="https://developers.facebook.com/" target="_blank"><img class="logo" src="pics/logo4.png" alt="logo4" width="" height="50px" /></a><br />
</div>
<div class="col-lg-4">
<a href="http://www.appcelerator.com/" target="_blank"><img class="logo" src="pics/logo5.png" alt="logo5" width="" height="40px" /></a><br />
<a href="http://www.gimp.org/" target="_blank"><img class="logo" src="pics/logo6.jpg" alt="logo6" width="" height="50px" /></a><br />
<a href="http://www.systemax.jp/en/sai/" target="_blank"><img class="logo" src="pics/logo7.jpg" alt="logo7" width="" height="50px" /></a><br />
<a href="http://us.wacom.com/en/support" target="_blank"><img class="logo" src="pics/logo8.png" alt="logo8" width="" height="50px" /></a>
</div>
<div class="col-lg-4">
<a href="http://nodejs.org/" target="_blank"><img class="logo" src="pics/logo9.png" alt="logo9" width="" height="50px" /></a><br />
<a href="http://heliosapi.homes.com/docs/" target="_blank"><img class="logo" src="pics/logo10.jpg" alt="logo10" width="" height="40px" /></a><br />
<a href="http://lokeshdhakar.com/projects/lightbox2/ target="_blank""><img class="logo" src="pics/logo11.png" alt="logo11" width="" height="50px" /></a><br />
<a href="http://www.mysql.com/" target="_blank"><img class="logo" src="pics/logo12.png" alt="logo11" width="" height="50px" /></a>
</div>
</div>
</div>
</div>
</div>
<div id="jumbo" class="jumbotron">
<a href="pics/hackathon4.png" data-lightbox="hackathon"><img class="hackpic" src="pics/hackathon4.png" alt="hackathon4" width="269px" height="" /></a>
<a href="pics/hackathon2.jpg" data-lightbox="hackathon"><img class="hackpic" src="pics/hackathon2.jpg" alt="hackathon2" width="175px" height="" /></a>
<a href="pics/hackathon3.jpg" data-lightbox="hackathon"><img class="hackpic" src="pics/hackathon3.jpg" alt="hackathon3" width="175px" height="" /></a>
<a href="pics/hackathon5.png" data-lightbox="hackathon"><img class="hackpic" src="pics/hackathon5.png" alt="hackathon5" width="175px" height="" /></a>
<a href="pics/hackathon6.png" data-lightbox="hackathon"><img class="hackpic" src="pics/hackathon6.png" alt="hackathon6" width="175px" height="" /></a>
<a href="pics/hackathon1.png" data-lightbox="hackathon"><img class="hackpic" src="pics/hackathon1.png" alt="hackathon1" width="700px" height="" /></a>
</div>
</div>
</div>
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
<script src="bootstrap/js/bootswatch.js"></script>
<script src="js/lightbox-2.6.min.js"></script>
</body>
</html>