-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
441 lines (342 loc) · 19.1 KB
/
Copy pathindex.html
File metadata and controls
441 lines (342 loc) · 19.1 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
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Unilyf Monash</title>
<!-- Compiled and minified CSS -->
<script
src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.99.0/css/materialize.min.css">
<!-- Compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.99.0/js/materialize.min.js"></script>
<meta name="description"
content="Where Monash Students Connect and Learntogether. Compare timetables with friends at Monash University."/>
<meta name="keywords"
content="Compare timetable monash, monash timetable, Unilyf Monash, Learntogether Monash, connect and learntogether Compare timetable with friends Monash"/>
<meta name="copyright" content="Ishan Joshi, Arni Mittal, Surayez Rahman"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"/>
<meta property="og:url" content="https://learntog.github.io/login/"/>
<meta property="og:type" content="website"/>
<meta property="og:title" content="Unilyf Monash - Connect and LearnTogether"/>
<meta property="og:description"
content="Compare timetable with friends. See who's in your class or find free time to hang out at uni."/>
<meta property="og:image"
content="http://http://cdn2.iconfinder.com/data/icons/crazy-paparazzi-collection-svg/100/Noun_Project_100Icon_10px_grid_2-47-512.png">
<meta property="og:image:secure_url" content="https://learntog.github.io/img/uniicon.png"/>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script src="js/analytics.js"></script>
<script src="https://cdn.firebase.com/libs/firebaseui/2.0.0/firebaseui.js"></script>
<link type="text/css" rel="stylesheet" href="https://cdn.firebase.com/libs/firebaseui/2.0.0/firebaseui.css"/>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-9709599744007897",
enable_page_level_ads: true
});
</script>
<style>
.promotion {
width: 80%;
margin-left: 10%;
height: 250px;
opacity: 0.1;
}
.promotion:hover {
opacity: 1;
}
.pad {
padding: 15%;
}
.pad .row {
padding: 2%;
}
.valign-wrapper {
height: 270px;
}
.pad h5 {
padding-bottom: 2%;
}
.aboutprofile img {
opacity: 0.85;
padding: 5%;
width: 75%;
height: 300px;
}
.aboutprofile img:hover {
opacity: 1;
}
</style>
<script>
function signout() {
firebase.auth().signOut();
}
initApp = function () {
firebase.auth().onAuthStateChanged(function (user) {
if (user) {
document.getElementById('continueasbutton').innerHTML = "Continue as, " + user.displayName;
document.getElementById('continueasbutton').style.display = "block";
document.getElementById('firebaseui-auth-container').style.display = "none";
// console.log(user.displayName);
// User is signed in.
} else {
document.getElementById('continueasbutton').style.display = "none";
document.getElementById('firebaseui-auth-container').style.display = "block";
// User is signed out.
// alert("Don't try to hack");
// console.log("Signed out.. ");
}
}, function (error) {
console.log(error);
});
};
window.addEventListener('load', function () {
initApp();
});
</script>
</head>
<body>
<script src="https://www.gstatic.com/firebasejs/4.1.1/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyBLA6sDqXwnMX6tJayM4dmYCPRzt5CW91M",
authDomain: "learntogether-a250b.firebaseapp.com",
databaseURL: "https://learntogether-a250b.firebaseio.com",
projectId: "learntogether-a250b",
storageBucket: "learntogether-a250b.appspot.com",
messagingSenderId: "3175571907"
};
firebase.initializeApp(config);
</script>
<script type="text/javascript">
// FirebaseUI config.
function setURLembed() {
//
$('#contactuspage').attr('src', "https://docs.google.com/forms/d/e/1FAIpQLSc0mTqbJ9LJPCO4zskNv4IJJVvtIbG83AxwZkgaQHnjMuA27w/viewform?embedded=true");
$('.modal').modal('open');
}
var uiConfig = {
signInSuccessUrl: 'login/',
signInOptions: [
// Leave the lines as is for the providers you want to offer your users.
firebase.auth.GoogleAuthProvider.PROVIDER_ID,
// firebase.auth.FacebookAuthProvider.PROVIDER_ID,
// firebase.auth.TwitterAuthProvider.PROVIDER_ID,
// firebase.auth.GithubAuthProvider.PROVIDER_ID,
firebase.auth.EmailAuthProvider.PROVIDER_ID,
// firebase.auth.PhoneAuthProvider.PROVIDER_ID
],
// Terms of service url.
tosUrl: '<your-tos-url>'
};
// Initialize the FirebaseUI Widget using Firebase.
var ui = new firebaseui.auth.AuthUI(firebase.auth());
// The start method will wait until the DOM is loaded.
ui.start('#firebaseui-auth-container', uiConfig);
</script>
<div id="fb-root"></div>
<script>(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 = "//connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.9&appId=1913393705562842";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="navbar-fixed">
<nav class="blue white-text" style="box-shadow: none">
<div class="nav-wrapper">
<a style="padding-left: 2%;" href="#!" class="brand-logo">Unilyf Monash</a>
<ul class="right hide-on-med-and-down">
<li><a href="https://unilyfqut.github.io" target="_blank">Unilyf QUT</a></li>
<!--<li><a onclick="setURLembed()" href="#modalcontact">Contact Us</a></li>-->
</ul>
</div>
</nav>
</div>
<div class="row" style="padding-bottom: 0%">
<div style="padding: 10%; -webkit-clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);" class="blue white-text center col s12 m12 l12">
<h2 class="hide-on-med-and-down">Unilyf Monash</h2>
<h5>Connect and Learntogether</h5>
<br>
<h6><i>Unilyf Monash aims to provide an enhanced, connected and a collaborative Monash university
experience.</i></h6>
<br>
<div style="display: none" id="firebaseui-auth-container"></div>
<a href="login/" id="continueasbutton"
style="display: none; margin-left: 20%; width: 60%; border-radius: 6px; box-shadow: none; border: 1px solid white"
class="truncate blue btn">Continue as, Ishan Joshi
</a>
<br>
<a href='https://play.google.com/store/apps/details?id=io.github.learntog.unilyfmonash&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img alt='Get it on Google Play' style="width: 150px" src='https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png'/></a>
<br><a class="white-text" href="https://unilyfqut.github.io" target="_blank">Unilyf is also availabe for QUT</a>
</div>
<div style="padding: 5%; padding-top: 3%;" class=" col s12 m12 l10 offset-l1 ">
<div style="padding: 2%" class="fb-like" data-href="https://learntog.github.io/" data-layout="standard"
data-action="like"
data-size="large" data-show-faces="false" data-share="true"></div>
<div class="row">
<div id="comparediv" class="transparent col s12 m10 offset-m1 l10 offset-l1 pad">
<div class="row">
<a href="https://play.google.com/store/apps/details?id=io.github.learntog.unilyfmonash"><h4>Get the Android App</h4></a>
<div class="row">
<div class="center col s12 l6 m6">
<a href="https://play.google.com/store/apps/details?id=io.github.learntog.unilyfmonash">
<img style="width: 180px; height: 320px" src="img/one.png">
</a>
</div>
<div class="col center s12 l6 m6">
<a href="https://play.google.com/store/apps/details?id=io.github.learntog.unilyfmonash">
<img style="width: 180px; height: 320px" src="img/two.png">
</a>
</div>
</div>
<h5>Compare timetable</h5>
<div class="col s10 offset-s1 m8 offset-m2 l4">
<img class="promotion" src="img/compare.png">
</div>
<div style="vertical-align: middle" class=" valign-wrapper col s10 offset-s1 m8 offset-m2 l8">
<div>
<p>
See if your friends are in the same classes as you.
</p>
<p> Compare your timetable with your facebook friends, so you can find time to catch up at
uni.</p>
</div>
</div>
</div>
<!---->
</div>
<div id="peersdiv" class="col s12 m10 offset-m1 l10 offset-l1 pad">
<div class="row">
<h5>Take notes with peers</h5>
<div class="col s10 offset-s1 m8 offset-m2 l4">
<img src="img/notes.png" class="promotion">
</div>
<div style="vertical-align: middle" class=" valign-wrapper col s10 offset-s1 m8 offset-m2 l8">
<div>
<p>
Take notes with classmates on Google Drive.
</p>
<p> Create presentations, spreadsheets and drawings with your friends to enhance your
learning.</p>
</div>
</div>
</div>
</div>
<div id="newlyfdiv" class="col s12 m10 offset-m1 l10 offset-l1 pad">
<div class="row">
<h5>Enjoy a new unilyf</h5>
<div class="col s10 offset-s1 m8 offset-m2 l4">
<img src="img/peers.png" class="promotion">
</div>
<div style="vertical-align: middle" class=" valign-wrapper col s10 offset-s1 m8 offset-m2 l8">
<div>
<p>
Put in preferences for times for classes that don't suit you. We'll then find a match.
</p>
<p>
Connect with people who're free at a given time.
</p>
</div>
</div>
</div>
</div>
</div>
<script>
var options = [
{
selector: '#comparediv .promotion', offset: 200, callback: function (el) {
Materialize.fadeInImage($(el));
}
},
{
selector: '#peersdiv .promotion', offset: 200, callback: function (el) {
Materialize.fadeInImage($(el));
}
},
{
selector: '#newlyfdiv .promotion', offset: 200, callback: function (el) {
Materialize.fadeInImage($(el));
}
}
];
Materialize.scrollFire(options);
</script>
</div>
<section class="divider"></section>
<div style="padding: 5%" class="grey lighten-3 col s12 l10 offset-l1 ">
<h4>About Developers</h4>
<div class="row center">
<div class="col s12 m4 l4 aboutprofile">
<img class="circle" src="img/ishan.jpg"><br>
<strong><a target="_blank" href="//ishanjoshi.me">Ishan Joshi</a></strong>
</div>
<div class="col s12 m4 l4 aboutprofile">
<img class="circle" src="img/surayez.png"><br>
<strong><a href="#">Surayez Rahman</a></strong>
</div>
<div class="col s12 m4 l4 aboutprofile">
<img class="circle" src="img/arni.png"><br>
<strong><a href="#">Arni Mittal</a></strong>
</div>
<p class="col blue-text s8 offset-s2" style="font-size: 1.7em">We are three first year students who're
passionate about making university a more connected and a collaborative experience.</p>
</div>
</div>
</div>
<footer style="padding-top: 0px" class="blue page-footer">
<div class="container">
<div class="row">
<div class="col l4 s12">
<ul>
<!--<li><a class="grey-text text-lighten-3" href="#!">About</a></li>-->
<li><a onclick="setURLembed()" class="grey-text text-lighten-3" href="#modalcontact">Contact Us</a>
</li>
<li><a class="grey-text text-lighten-3" href="#">Privacy Policy</a></li>
<li><a class="grey-text text-lighten-3" href="#">Wiki</a></li>
</ul>
</div>
<div class="col l8 s12 center" style="padding-top: 3%">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHLwYJKoZIhvcNAQcEoIIHIDC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SqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTcwNjI2MDk0NDA3WjAjBgkqhkiG9w0BCQQxFgQUlXYl4P/DrNkPryPhcN3OCtTAyDgwDQYJKoZIhvcNAQEBBQAEgYBqvI5wakGrqS03K1xF3YSqE7TTL+dJYodJHRmY3pIsecQhrrVxSHF4Dm6dfmobwP81jiQ0vYuR9qbXC5ghHU92sPp6C3+TWQtWSVy8lbBcB9aKu/e7YrmDJkxDTmhxCdV5M7F1SuU9MoCl0WQWgzE80iMrAqr5vT/ljj+o366MZw==-----END PKCS7-----
">
<input type="image" src="https://www.paypalobjects.com/en_AU/i/btn/btn_donate_LG.gif" border="0"
name="submit" alt="PayPal – The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_AU/i/scr/pixel.gif" width="1"
height="1">
</form>
</div>
</div>
</div>
<div class="footer-copyright">
<div class="container">
© 2017 Unilyf Monash <p class="grey-text text-lighten-4">Not affiliated with Monash University.</p>
</div>
</div>
</footer>
<div id="modalcontact" style="width: 80%; height: 660px;" class="modal center">
<div class="modal-content" style=" height: 100%;">
<!--<div class="fb-page" data-href="https://www.facebook.com/monashunilyf/" data-tabs="messages" data-width="400"
data-height="400" data-small-header="true" data-adapt-container-width="true" data-hide-cover="true"
data-show-facepile="false">
<blockquote cite="https://www.facebook.com/monashunilyf/" class="fb-xfbml-parse-ignore"><a
href="https://www.facebook.com/monashunilyf/">Monash UniLyf</a></blockquote>
</div>-->
<!--$('#contactuspage').attr('src', "https://docs.google.com/forms/d/e/1FAIpQLSc0mTqbJ9LJPCO4zskNv4IJJVvtIbG83AxwZkgaQHnjMuA27w/viewform?embedded=true");-->
<iframe id="contactuspage" src=""
width="100%" height="600" frameborder="0" marginheight="0" marginwidth="0">Loading...
</iframe>
</div>
</div>
<div class="fixed-action-btn">
<a onclick="setURLembed()" class="btn-floating btn-large pulse black lighten-3">
<i class="large material-icons">message</i>
</a>
</div>
</body>
</html>