-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
363 lines (312 loc) · 13.5 KB
/
index.html
File metadata and controls
363 lines (312 loc) · 13.5 KB
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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css/studyonfoundation.css">
<link rel="stylesheet" href="css/studyonstyle.css">
<script src="js/vendor/jquery.js"></script>
<script src="js/vendor/modernizr.js"></script>
<script src="js/foundation.min.js"></script>
<script src="js/foundation/foundation.reveal.js"></script>
<script src="js/create_new_session.js"></script>
<script type="text/javascript" src="http://www.parsecdn.com/js/parse-1.3.1.min.js">
</script>
<style>
.row {display: block;}
</style>
</head>
<body>
<div id="fb-root"></div>
<script>
// This is called with the results from from FB.getLoginStatus().
function statusChangeCallback(response) {
console.log('statusChangeCallback');
console.log(response);
// The response object is returned with a status field that lets the
// app know the current login status of the person.
// Full docs on the response object can be found in the documentation
// for FB.getLoginStatus().
if (response.status === 'connected') {
// Logged into your app and Facebook.
testAPI();
} else if (response.status === 'not_authorized') {
// The person is logged into Facebook, but not your app.
document.getElementById('status').innerHTML = 'Please log ' +
'into this app.';
} else {
// The person is not logged into Facebook, so we're not sure if
// they are logged into this app or not.
document.getElementById('status').innerHTML = 'Please log ' +
'into Facebook.';
}
}
// This function is called when someone finishes with the Login
// Button. See the onlogin handler attached to it in the sample
// code below.
function checkLoginState() {
FB.getLoginStatus(function(response) {
statusChangeCallback(response);
});
};
window.fbAsyncInit = function() {
FB.init({
appId : '568635909933560',
xfbml : true,
version : 'v2.1'
});
FB.getLoginStatus(function(response) {
statusChangeCallback(response);
});
};
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "http://connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
Parse.initialize("OGTM9P9wjR2Si02oxIln7Rj3beLQBchC74OMjO5j", "OC7hOXDbtELOroAPvecKe2q7MyY4G1u8moTnegOY");
</script>
<div id="content">
<h1>
<span class="raise">Raise</span>
<span class="on ">On</span>
</h1>
</div>
<div id="menu">
<ul>
<li><a href="Question.html">In Class</a></li>
<li><a href="Quiz.html">Quiz</a></li>
<li><a href="index.html">After School</a></li>
<li><a href="Contact.html">Contact Us</a></li>
<li><a href="Sign up.html">Login</a></li>
</ul>
</div>
<div id="fb_login_button">
<fb:login-button scope="public_profile,email" onlogin="checkLoginState();">
</fb:login-button>
</div>
<h2><big>Who is studying?</big>
<div id="status"></div>
</h2>
<div class="NewSessionButton">
<a href="#" class="button" id="session">Create New Study Session</a>
</div>
<form name="createnew">
<div class="NewSession">
<SPAN style="position: absolute; top: 300px; left: 530px;width: 500px; height: 500px">
<div class="row">
<div class="large-7 columns">
<label>Subject
<select>
<option value="class1">CSCI 104</option>
<option value="class2">HIS 100</option>
<option value="class3">EALC 110</option>
<option value="class4">EE 101</option>
</select>
</label>
</div>
</div>
<div class="row">
<div class="large-7 columns">
<label>Topic
<input type="text" name="topic" placeholder="Which specific topic?" />
</label>
</div>
</div>
<div class="row">
<div class="large-7 columns">
<label>Building/Room Number
<input type="text" name="place" placeholder="Where can people find you" />
</label>
</div>
</div>
<div class="row">
<div class="large-7 columns">
<label>Ending Time (2014-10-11T11:51:00)
<input type="text" name="endTime" placeholder="When " />
</label>
</div>
</div>
<div class="row">
<div class="large-7 columns">
<label>Description
<textarea placeholder="Please describe study content briefly"></textarea>
</label>
</div>
</div>
<div id="container" style="width:100%;">
<SPAN style="position: absolute; top: 400px; left: 15px;width: 500px; height: 500px">
<div class="create_option", style="float:left; width:50%;" >
<a href="#" class="button">Create</a>
</SPAN>
<div class="cancel_button" style="float:right; width:50%;">
<SPAN style="position: absolute; top: 0.2px; left: 150px;width: 500px; height: 500px">
<a href="#" class="button">Cancel</a>
</SPAN>
</div>
</div>
</div>
</form>
<br> <br>
</div>
<div id="container" style="width:100%;">
<div id="left" style="float:left; width:20%;">
<ul class="side-nav">
<li style = font-family:"Oswald"><a href="#" id="class1">CSCI 104</a></li>
<li style = font-family:"Oswald"><a href="#" id="class2">HIS 100</a></li>
<li style = font-family:"Oswald"><a href="#" id="class3">EALC 110</a></li>
<li style = font-family:"Oswald"><a href="#" id="class4">EE 101</a></li>
</ul>
</div>
<div id="right" style="float:right; width:80%;">
<div id="class1Data">
<dl class="accordion" data-accordion>
<dd class="accordion-navigation">
<a href="#panel1">Linked List Review! Let's do it together for upcoming midterm</a>
<div id="panel1" class="content active">
<p>Subject | Location | Start Time | Date</p>
<a href="#" class="button [tiny small large]">Chat</a>
<a href="#" class="button [tiny small large]">Join</a>
</div>
</dd>
<br>
<dd class="accordion-navigation">
<a href="#panel2"> HW5. Iterator Review. I got someone knows well to help</a>
<div id="panel2" class="content">
<p>Subject | Location | Start Time | Date</p>
<a href="#" class="button [tiny small large]">Chat</a>
<a href="#" class="button [tiny small large]">Join</a>
</div>
</dd>
<br>
<dd class="accordion-navigation">
<a href="#panel3">Accordion 3</a>
<div id="panel3" class="content">
<p>Subject | Location | Start Time | Date</p>
<a href="#" class="button [tiny small large]">Chat</a>
<a href="#" class="button [tiny small large]">Join</a>
</div>
</dd>
</dl>
</div>
<div id="class2Data">
<dl class="accordion" data-accordion>
<dd class="accordion-navigation">
<a href="#panel1">History Chapter 10! Help!!</a>
<div id="panel1" class="content active">
<p>Subject | Location | Start Time | Date</p>
<a href="#" class="button [tiny small large]">Chat</a>
<a href="#" class="button [tiny small large]">Join</a>
</div>
</dd>
<br>
<dd class="accordion-navigation">
<a href="#panel2"> Want to check notes and review together? Join us!</a>
<div id="panel2" class="content">
<p>Subject | Location | Start Time | Date</p>
<a href="#" class="button [tiny small large]">Chat</a>
<a href="#" class="button [tiny small large]">Join</a>
</div>
</dd>
<br>
<dd class="accordion-navigation">
<a href="#panel3">I have midterm from last year.Wanna review together?</a>
<div id="panel3" class="content">
<p>Subject | Location | Start Time | Date</p>
<a href="#" class="button [tiny small large]">Chat</a>
<a href="#" class="button [tiny small large]">Join</a>
</div>
</dd>
</dl>
</div>
<div id="class3Data">
<dl class="accordion" data-accordion>
<dd class="accordion-navigation">
<a href="#panel1">Let's work together on final exam!</a>
<div id="panel1" class="content active">
<p>Subject | Location | Start Time | Date</p>
<a href="#" class="button [tiny small large]">Chat</a>
<a href="#" class="button [tiny small large]">Join</a>
</div>
</dd>
<br>
<dd class="accordion-navigation">
<a href="#panel2"> TA Phil says he is going to help us check outlines for paper today.Join us!</a>
<div id="panel2" class="content">
<p>Subject | Location | Start Time | Date</p>
<a href="#" class="button [tiny small large]">Chat</a>
<a href="#" class="button [tiny small large]">Join</a>
</div>
</dd>
<br>
<dd class="accordion-navigation">
<a href="#panel3">History is Horrible! Help</a>
<div id="panel3" class="content">
<p>Subject | Location | Start Time | Date</p>
<a href="#" class="button [tiny small large]">Chat</a>
<a href="#" class="button [tiny small large]">Join</a>
</div>
</dd>
</dl>
</div>
<div id="class4Data">
<dl class="accordion" data-accordion>
<dd class="accordion-navigation">
<a href="#panel1">Linked List Review! Let's do it together for upcoming midterm</a>
<div id="panel1" class="content active">
<p>Subject | Location | Start Time | Date</p>
<a href="#" class="button [tiny small large]">Chat</a>
<a href="#" class="button [tiny small large]">Join</a>
</div>ml\
</dd>
<br>
<dd class="accordion-navigation">
<a href="#panel2"> HW5. Iterator Review. I got someone knows well to help</a>
<div id="panel2" class="content">
<p>Subject | Location | Start Time | Date</p>
<a href="#" class="button [tiny small large]">Chat</a>
<a href="#" class="button [tiny small large]">Join</a>
</div>
</dd>
<br>
<dd class="accordion-navigation">
<a href="#panel3">Accordion 3</a>
<div id="panel3" class="content">
<p>Subject | Location | Start Time | Date</p>
<a href="#" class="button [tiny small large]">Chat</a>
<a href="#" class="button [tiny small large]">Join</a>
</div>
</dd>
</dl>
</div>
</div>
</div>
</div>
<br> <br> <br> <br> <br> <br> <br> <br>
<div class="footer">
<div class="footer_menu">
<SPAN style="position: absolute; top: 800px; left: 425px;width: 500px; height: 500px">
<a href="#" data-reveal-id="myModal">Developer Info</a>
</SPAN>
</div>
<div id="myModal" class="reveal-modal" data-reveal>
<h2>GO Panda_Hackerz!! :)</h2>
<p class="lead">TEAM MEMBERS</p>
<p>Elliscope Mingzhe Fang</p>
<p>Ho Ching Justin Cheng</p>
<p>Sampurna Basu</p>
<p>Da Young Joanne Kwon</p>
<p>Ben Lee</p>
<SPAN style="position: absolute; top: 80px; left: 300px;width: 500px; height: 500px">
<img src="http://s27.postimg.org/s1rqvxccz/group_picture.jpg" alt="Family">
</SPAN>
<SPAN style="position: absolute; top: 80px; left: 700px;width: 500px; height: 500px">
<img src="http://s9.postimg.org/vo96z779r/icon.jpg" alt="panda">
</SPAN>
</div>
</div>
<script>
$(document).foundation();
</script>
</body>
</html>