forked from fossasia/gci16.fossasia.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
780 lines (759 loc) · 35.3 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
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
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
---
---
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="icon" sizes="20x20" href="images/icons/favicon.ico">
<link href="//fonts.googleapis.com/css?family=Architects+Daughter" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="stylesheets/bootstrap.min.css" media="screen">
<link rel="stylesheet" href="stylesheets/main.css" media="screen">
<link rel="stylesheet" href="ism/css/my-slider.css" media="screen">
<link rel="stylesheet" href="stylesheets/popup.css">
<link rel="stylesheet" href="stylesheets/contributors.css">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<title>FOSSASIA | Google Code-In 2016</title>
</head>
<body>
<!-- Navigation Bar -->
<nav class="navbar navbar-default navbar-fixed-top">
<!-- Start ignoring LineLengthBear -->
<a href="//github.com/fossasia/gci16.fossasia.org" class="github-corner" aria-label="View source on Github"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#64CEAA; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style>
<!-- Stop ignoring LineLengthBear -->
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed"
data-toggle="collapse" data-target="#collapse"
aria-expanded="false">
<span class="sr-only"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="">
<img src="./images/fossasia-dark.png">
</a>
</div>
<div class="collapse navbar-collapse" id="collapse">
<ul class="nav navbar-nav" id="menu">
<li><a class="menu-item" href="#welcome">Welcome</a></li>
<li><a class="menu-item" href="#map">Map</a></li>
<li><a class="menu-item" href="#mentors">Mentors</a></li>
<li><a class="menu-item" href="#contributors">Contributors</a></li>
<li><a class="menu-item" href="#students">Students</a></li>
<li class="dropdown">
<a class="menu-item" href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Projects <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#stprojects">Student projects</a></li>
<li><a href="#blogs">Blog posts</a></li>
<li><a href="#designs">MBDyn Logo Designs</a></li>
<li><a href="#designsv2">MBDyn Logo Designs v2</a></li>
<li><a href="#issues">Latest Issues</a></li>
<li><a href="#loklak">Loklak Webtweets</a></li>
</ul>
</li>
<li><a class="menu-item" href="#social-media">Social media</a></li>
</ul>
</div>
</div>
</nav>
<!-- End of Navigation Bar -->
<!-- Slider -->
<div class="slider-container" id="welcome">
<div class="ism-slider" data-play_type="loop" data-image_fx="zoompan" data-transition_type="fade" id="my-slider">
<ol>
{% for slide in site.data.slides %}
<li>
<img src="images/{{slide.img}}">
<div class="ism-caption ism-caption-0">{{slide.caption}}</div>
<div class="ism-caption ism-caption-1" data-delay="0">
{{slide.exp-1}}<br>
{{slide.exp-2}}<br>
{{slide.exp-3}}
{% if slide.action %}
<a href="{{slide.actionURL}}">{{slide.action}}</a>
{% endif %}
</div>
</li>
{% endfor %}
</ol>
</div>
</div>
<!-- End of Slider -->
<!-- Main Content -->
<section class="main-content">
<div class="container">
<div id="map"></div>
</div>
<div class="container">
<!-- Mentors Section -->
<section class="mentors" id="mentors" href="#mentors">
<div class="row mentors-wrapper">
<!-- Start ignoring BootLintBear -->
<h2>MENTORS</h2>
<!-- Stop ignoring -->
{% for mentor in site.data.mentors %}
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">
<div class="card">
<div class="avatar">
{% if mentor.image %}
<img src="images/mentors/{{mentor.image}}" alt="{{ mentor.name }}">
{% else %}
<img src="images/mentors/member.png" alt="{{ mentor.name }}">
{% endif %}
<div class="social">
Show more<br>
information
</div>
<p style="display: inline-block;">{{mentor.name}}</p>
</div>
</div>
{% include popup.html person=mentor who='mentor' %}
</div>
{% endfor %}
</div>
</section>
<!-- End of Mentor Section -->
<div id="contributors-thanks" href="#contributors">
<div id="contributors-thanks-list" class="row">
<div class="col-xs-12">
<div class="content">
<div class="visible">
<p id="name">
Thanks for your contributions, everyone!
</p>
</div>
</div>
</div>
</div>
</div>
<!-- Contributor Section -->
<section id="contributors" class="contributors-sec">
<div id="contributors-list" class="row">
<!-- Start ignoring BootLintBear -->
<h2>CONTRIBUTORS</h2>
<!-- Stop ignoring BootLintBear -->
</div>
</section>
<!-- End of Contributor Section -->
<!-- Student Section -->
<section class="students-sec" id="students" href="#students">
<div class="row students-wrapper">
<!-- Start ignoring BootLintBear -->
<h2>STUDENTS</h2>
<!-- Stop ignoring -->
{% for student in site.data.students %}
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">
<div class="card stu-card">
<div class="avatar">
{% if student.image %}
<img src="images/students/{{student.image}}"
alt="{{student.name}}"
width="200px" height="200px">
{% else %}
<img src="images/mentors/member.png"
alt="{{student.name}}"
width="200px" height="200px">
{% endif %}
<div class="social">
Show more<br>information
</div>
<p style="padding-top:3px;width: 200px;display: inline-block;margin-top: 9px;">
<i class="fa fa-code"></i>
<span class="stu-name card-text" title="{{student.name}}">
{{student.name}}
</span>
</p>
</div>
</div>
{% include popup.html person=student who='student' %}
</div>
{% endfor %}
</div>
</section>
<!-- End of Student Section -->
<!-- Projects (including student projects, blog, logo, issues, loklak) -->
<div id="projects" href="#projects">
<!-- Student Projects Section -->
<section class="projects-sec" id="stprojects" href="#stprojects">
<div class="row projects-wrapper">
<!-- Start ignoring BootLintBear -->
<h2>STUDENT PROJECTS</h2>
<!-- Stop ignoring -->
{% for project in site.data.projects %}
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">
<div class="card">
<div class="avatar">
{% if project.image %}
<img src="images/projects/{{project.image}}"
alt="{{project.name}}"
width="200px" height="200px">
{% else %}
<img src="images/projects/default.png"
alt="{{project.name}}"
width="200px" height="200px">
{% endif %}
<div class="links">
<a href="{{project.link}}" target="_blank">
<i class="fa fa-link"></i>
</a>
<a href="{{project.source}}" target="_blank">
<i class="fa fa-code"></i>
</a>
</div>
<p style="padding-top:3px;width:200px;display:inline-block;margin-top:9px;">
<i class="fa fa-code"></i>
<span title="{{project.name}} by {{project.owner}}" class="stu-name card-text">
{{project.name}} by {{project.owner}}
</span>
</p>
</div>
</div>
</div>
{% endfor %}
</div>
</section>
<!-- End of Student Projects Section -->
<!-- Stop ignoring -->
<!-- Blog Posts Section -->
<section id="blogs" href="#blogs" class="blogs-sec">
<div class="row blogs-wrapper">
<!-- Start ignoring BootLintBear -->
<h2>BLOG POSTS</h2>
<!-- Stop ignoring -->
<!-- Start ignoring LineLengthBear, HTMLLintBear -->
{% for blog in site.data.blogs %}
<div class="blog-holder col-xs-24 col-sm-12 col-md-8 col-lg-6">
<div class="card">
<div class="avatar">
{% if blog.blog_img %}
<a href="{{blog.article_link}}">
<div class="img" style="background-image:url(images/blogs/{{blog.blog_img}});"></div>
</a>
{% else %}
<a href="#">
<div class="img" style="background-image:url(images/blogs/default.jpg);"></div>
</a>
{% endif %}
<p>
Blog of <a href="{{blog.article_link}}">{{blog.name}}</a><br />
{% if blog.article %}{{blog.article}}{% endif %}
</p>
</div>
</div>
</div>
{% endfor %}
<!-- Stop ignoring -->
</div>
</section>
<!-- End of Blog Posts Section -->
<!-- Designs Section -->
<section id="designs" href="#designs" class="designs-sec">
<!-- Start ignoring SpaceConsistencyBear -->
<div class="row designs-wrapper">
<!-- Start ignoring BootLintBear -->
<h2>MBDyn Logo Designs</h2>
<!-- Stop ignoring -->
{% for logo in site.data.logos %}
<div class="col-xs-6 col-sm-3">
<div class="grid">
<figure class="effect-gcihover">
<!-- Ignore HTMLLintBear -->
<img src="images/logos/{{logo.img}}" width="200px" height="200px" alt="By {{logo.author}}">
<figcaption>
<p>
<span style="color: #000000">by {{logo.author}}</span>
</p>
</figcaption>
</figure>
</div>
</div>
{% endfor %}
</div>
<!-- Stop ignoring -->
</section>
<!-- End of Designs Section -->
<!-- Designs v2 Section -->
<section id="designsv2" href="#designsv2" class="designs-sec">
<!-- Start ignoring SpaceConsistencyBear -->
<div class="row designs-wrapper">
<!-- Start ignoring BootLintBear -->
<h2>MBDyn Logo Designs V2</h2>
<!-- Stop ignoring -->
{% for logo in site.data.logosv2 %}
<div class="col-xs-6 col-sm-3">
<div class="grid">
<figure class="effect-gcihover">
<!-- Ignore HTMLLintBear -->
<img src="images/logos/v2/{{logo.img}}" width="200px" height="200px" alt="By {{logo.author}}" style="border:0;">
<figcaption>
<p>
<span style="color: #000000">by {{logo.author}}</span>
</p>
</figcaption>
</figure>
</div>
</div>
{% endfor %}
</div>
<!-- Stop ignoring -->
</section>
<!-- End of Designs Section -->
<!-- Latest Issues Section -->
<section class="latest-issues" id="issues">
<div class="issues-wrapper">
<!-- Start ignoring BootLintBear -->
<h2>LATEST ISSUES</h2>
<!-- Stop ignoring -->
<div id="issues-categories-wrapper">
<div class="issues-category" id="unlabeled-category">
<div class="button"><a href="//github.com/fossasia/gci16.fossasia.org/issues?q=is%3Aopen+is%3Aissue+no%3Alabel">Unlabeled</a></div>
</div>
<!-- <div class="button">
<a href="//github.com/fossasia/gci16.fossasia.org/issues">
See all issues on <i class="fa fa-github"></i>github
</a>
</div> -->
</div>
<a class="btn btn-success btn-lg"
style="margin-left: 40%; color: #fff;"
href="//github.com/fossasia/gci16.fossasia.org/issues">
See all issues on <i class="fa fa-github"></i>
</a>
</div>
</section>
<!-- End of Latest Issues Section -->
<!-- Loklak API -->
<section class="latest-issues" id="loklak" href="#loklak">
<!-- Start ignoring BootLintBear -->
<div class="row">
<h2>Loklak API Tweets</h2>
<div class="col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1 text-center">
<div class="twitter-feed">
<i class="icon social-twitter text-white"></i>
<div class="tweets-feed panel" id="tweets" data-count="50" data-query="fossasia #gci">
<div class="arrow-up"></div>
<p id="tweet" class="tweet">
Loading...
</p>
<div class="panel-footer">
<span id="tweet-info">Fetching tweets...</span>
</div>
</div>
<button type="button" class="btn" id="previous"onclick="lastTweet()">
← Previous Tweet!
</button>
<button type="button" class="btn" id="next"onclick="nextTweet()">
Next Tweet! →
</button>
</div>
</div>
</div>
<!-- Stop ignoring -->
</section>
<!-- End of Loklak API -->
</div>
<!-- End of Projects (including student projects, blog, logo, issues, loklak) -->
</div> <!-- End of .container inside the main-wrapper section -->
<div class="social-media" id="social-media" href="#social-media">
<div class="container-fluid">
<!-- Start ignoring BootLintBear -->
<div class="row">
<h2 class="white-header">FOSSASIA on social media</h2>
<div class="col-xs-12 col-md-6 facebook-widget"></div>
<div class="col-xs-12 col-md-6 g-page-embed">
<div class="g-page" data-href="//plus.google.com/+fossasiaorg" data-width="370"></div>
</div>
</div>
<!-- Stop ignoring -->
<!-- Start ignoring BootLintBear -->
<div class="row">
<div class="col-xs-12 col-md-6">
<a class="twitter-timeline" data-width="370" data-height="500"
href="//twitter.com/fossasia">Tweets by fossasia</a>
</div>
<div class="col-xs-12 col-md-6">
<div class="github-widget" data-username="fossasia"></div>
</div>
</div>
</div> <!--Fluid-Container-->
<!-- Stop ignoring -->
<div class="last-one">
<!-- Ignore LineLengthBear -->
<div class="container">
<div class="row">
<div class="col-xs-12 col-md-6 yt">
<div class="embed-responsive embed-responsive-4by3"></div>
</div>
<div class="col-xs-12 col-md-6">
<div id="flickrembed"></div>
</div>
</div>
</div>
</div> <!--Last One-->
</div> <!--Social Media-->
</section>
<!-- End of Main Content -->
<!-- Footer -->
<section class="footer container">
<div class="row">
<div class="col-xs-12 col-sm-6 col-md-4 social">
<h2>Social Media</h2>
<a href="//facebook.com/fossasia" target="_blank">
<i class="fa fa-facebook" style="margin-left: 14px;"></i>
</a>
<a href="//twitter.com/fossasia" target="_blank">
<i class="fa fa-twitter"></i>
</a>
<a href="//plus.google.com/108920596016838318216" target="_blank">
<i class="fa fa-google-plus"></i>
</a>
<a href="//www.linkedin.com/groups/FOSSASIA-3762811" target="_blank">
<i class="fa fa-linkedin"></i>
</a>
<br>
<a href="//github.com/fossasia" target="_blank">
<i class="fa fa-github"></i>
</a>
<a href="//flickr.com/photos/fossasia" target="_blank">
<i class="fa fa-flickr"></i>
</a>
<a href="//www.youtube.com/channel/UCQprMsG-raCIMlBudm20iLQ" target="_blank">
<i class="fa fa-youtube"></i>
</a>
<a href="//en.wikipedia.org/wiki/FOSSASIA" target="_blank">
<i class="fa fa-wikipedia-w"></i>
</a>
</div>
<div class="col-xs-12 col-sm-6 col-md-4">
<h2>About FOSSASIA</h2>
<p>FOSSASIA is an open source technology organization in Asia that aims to
bring together an inspiring community across borders and ages to form a better
future with Open Technologies and ICT.
</p>
<p>FOSSASIA is involved in Google Code-In, which serves as a great introduction
to the world of open source collaboration and an excellent mediator to involve
the next generation of digital collaborators.
</p>
</div>
<div class="col-xs-12 col-sm-6 col-md-4">
<h2>FOSSASIA Links</h2>
<ul style="list-style-type:none">
<li><a href="//fossasia.org"><i class="fa fa-link"></i>Main site</a></li>
<li><a href="//blog.fossasia.org"><i class="fa fa-link"></i>Blog</a></li>
<li><a href="//codein.withgoogle.com/organizations/fossasia/">
<i class="fa fa-link"></i>Google Code-In Page
</a>
</li>
<li><a href="//events.fossasia.org"><i class="fa fa-link"></i>Events</a></li>
<li><a href="//2016.fossasia.org">
<i class="fa fa-link"></i>FOSSASIA 2016
</a>
</li>
<li><a href="#"><i class="fa fa-link"></i>Top of the page</a></li>
</ul>
</div>
</div>
<p class="text-center">© Copyright 2009-2016 FOSSASIA | Made with
<i class="fa fa-heart"></i> for Google Code-In</p>
</section>
<!-- End of Footer -->
<!-- Scripts -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="javascripts/js-yaml.min.js"></script>
<script src="javascripts/main.js"></script>
<script src="//maps.googleapis.com/maps/api/js?key=AIzaSyCrmk_lnhYhLIqEzLAYSSfIyTzEHP0Jssc&callback=initMap" async defer></script>
<!-- Start ignoring JSHintBear, LineLengthBear -->
<script>
window.initMap = function() {
var map = new google.maps.Map(document.getElementById('map'), {
zoom: 2,
scrollwheel: false,
center: {
lat: 0,
lng: 0
},
styles: [{
"elementType": "geometry",
"stylers": [{
"color": "#1d2c4d"
}]
}, {
"elementType": "labels.text.fill",
"stylers": [{
"color": "#8ec3b9"
}]
}, {
"elementType": "labels.text.stroke",
"stylers": [{
"color": "#1a3646"
}]
}, {
"featureType": "administrative",
"elementType": "geometry",
"stylers": [{
"visibility": "off"
}]
}, {
"featureType": "administrative.country",
"elementType": "geometry.stroke",
"stylers": [{
"color": "#4b6878"
}]
}, {
"featureType": "administrative.land_parcel",
"stylers": [{
"visibility": "off"
}]
}, {
"featureType": "administrative.land_parcel",
"elementType": "labels.text.fill",
"stylers": [{
"color": "#64779e"
}]
}, {
"featureType": "administrative.neighborhood",
"stylers": [{
"visibility": "off"
}]
}, {
"featureType": "administrative.province",
"elementType": "geometry.stroke",
"stylers": [{
"color": "#4b6878"
}]
}, {
"featureType": "landscape.man_made",
"elementType": "geometry.stroke",
"stylers": [{
"color": "#334e87"
}]
}, {
"featureType": "landscape.natural",
"elementType": "geometry",
"stylers": [{
"color": "#023e58"
}]
}, {
"featureType": "poi",
"stylers": [{
"visibility": "off"
}]
}, {
"featureType": "poi",
"elementType": "geometry",
"stylers": [{
"color": "#283d6a"
}]
}, {
"featureType": "poi",
"elementType": "labels.text",
"stylers": [{
"visibility": "off"
}]
}, {
"featureType": "poi",
"elementType": "labels.text.fill",
"stylers": [{
"color": "#6f9ba5"
}]
}, {
"featureType": "poi",
"elementType": "labels.text.stroke",
"stylers": [{
"color": "#1d2c4d"
}]
}, {
"featureType": "poi.park",
"elementType": "geometry.fill",
"stylers": [{
"color": "#023e58"
}]
}, {
"featureType": "poi.park",
"elementType": "labels.text.fill",
"stylers": [{
"color": "#3C7680"
}]
}, {
"featureType": "road",
"elementType": "geometry",
"stylers": [{
"color": "#304a7d"
}]
}, {
"featureType": "road",
"elementType": "labels",
"stylers": [{
"visibility": "off"
}]
}, {
"featureType": "road",
"elementType": "labels.icon",
"stylers": [{
"visibility": "off"
}]
}, {
"featureType": "road",
"elementType": "labels.text.fill",
"stylers": [{
"color": "#98a5be"
}]
}, {
"featureType": "road",
"elementType": "labels.text.stroke",
"stylers": [{
"color": "#1d2c4d"
}]
}, {
"featureType": "road.arterial",
"elementType": "labels",
"stylers": [{
"visibility": "off"
}]
}, {
"featureType": "road.highway",
"elementType": "geometry",
"stylers": [{
"color": "#2c6675"
}]
}, {
"featureType": "road.highway",
"elementType": "geometry.stroke",
"stylers": [{
"color": "#255763"
}]
}, {
"featureType": "road.highway",
"elementType": "labels",
"stylers": [{
"visibility": "off"
}]
}, {
"featureType": "road.highway",
"elementType": "labels.text.fill",
"stylers": [{
"color": "#b0d5ce"
}]
}, {
"featureType": "road.highway",
"elementType": "labels.text.stroke",
"stylers": [{
"color": "#023e58"
}]
}, {
"featureType": "road.local",
"stylers": [{
"visibility": "off"
}]
}, {
"featureType": "transit",
"stylers": [{
"visibility": "off"
}]
}, {
"featureType": "transit",
"elementType": "labels.text.fill",
"stylers": [{
"color": "#98a5be"
}]
}, {
"featureType": "transit",
"elementType": "labels.text.stroke",
"stylers": [{
"color": "#1d2c4d"
}]
}, {
"featureType": "transit.line",
"elementType": "geometry.fill",
"stylers": [{
"color": "#283d6a"
}]
}, {
"featureType": "transit.station",
"elementType": "geometry",
"stylers": [{
"color": "#3a4762"
}]
}, {
"featureType": "water",
"elementType": "geometry",
"stylers": [{
"color": "#0e1626"
}]
}, {
"featureType": "water",
"elementType": "labels.text",
"stylers": [{
"visibility": "off"
}]
}, {
"featureType": "water",
"elementType": "labels.text.fill",
"stylers": [{
"color": "#4e6d70"
}]
}]
});
var marker;
var marker2;
var infowindow = null;
{% for mentor in site.data.mentors %}
{% for student in site.data.students %}
{% if mentor.lat %}
marker = new google.maps.Marker({
position: new google.maps.LatLng({{mentor.lat}}, {{mentor.lng}}),
label: 'M',
map: map
});
infowindow = null;
var content = "<div><img class='img-rounded' src='images/mentors/{{mentor.image}}' width='240' height='240'><br/>{{mentor.name}}<br/></div>";
google.maps.event.addListener(marker, 'click', (function(marker, content) {
return function() {
if (infowindow) {
infowindow.close();
}
infowindow = new google.maps.InfoWindow();
infowindow.setContent(content);
infowindow.open(map, marker);
};
})(marker, content));
{% endif %}
{% if student.lat %}
marker2 = new google.maps.Marker({
position: new google.maps.LatLng({{student.lat}}, {{student.lng}}),
label : 'S',
map: map
});
infowindow = null;
var content = "<div><img class='img-rounded' src='images/students/{{student.image}}' width='240' height='240'><br/>{{student.name}}<br/></div>";
google.maps.event.addListener(marker2, 'click', (function(marker2, content) {
return function() {
if (infowindow) {
infowindow.close();
}
infowindow = new google.maps.InfoWindow();
infowindow.setContent(content);
infowindow.open(map, marker2);
};
})(marker2, content));
{% endif %}
{% endfor %}
{% endfor %}
};
</script>
<!-- Stop ignoring -->
<script src="ism/js/ism-2.2.min.js"></script>
<script src="//use.fontawesome.com/7f8b61349a.js" async></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous" async></script>
<script src="./javascripts/loklak-fetcher.js"></script>
<script src="./javascripts/tweet.js"></script>
</body>
</html>