forked from sef-global/sef-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
irc.html
511 lines (487 loc) · 23.6 KB
/
irc.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
<!DOCTYPE html>
<html>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-167873271-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-167873271-1');
</script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="The International Research Council (IRC) is a community created by the Sustainable Education Foundation (SEF) to showcase the work of Sri Lankan researchers. One of the main goals of IRC is to provide a digital platform to connect our community of researchers who are actively pursuing research projects in various fields all over the world.">
<meta name="author" content="Sustainable Education Foundation">
<meta property="og:image" content="assets/img/irc/irchero.png">
<title>IRC | Sustainable Education Foundation</title>
<!-- Favicon -->
<link href="assets/img/brand/favicon.png" rel="icon" type="image/png">
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700" rel="stylesheet">
<!-- Icons -->
<link href="assets/vendor/nucleo/css/nucleo.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" rel="stylesheet">
<!-- Argon CSS -->
<link type="text/css" href="assets/css/argon.css?v=1.0.1" rel="stylesheet">
<!-- global CSS -->
<link type="text/css" href="assets/css/global-custom.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet">
</head>
<body style="font-family: 'Montserrat', sans-serif;">
<header class="header-global">
<!--nav bar goes here-->
<div id="navbar">
</div>
</header>
<section class="section pb-0 bg-gradient-white">
<div class="container">
<div class="row row-grid align-items-center">
<div class="col-lg-5 order-lg-1">
<div class="d-flex px-3">
<div class="pl-4">
<h1 class="display-2 pb-3" style="line-height: 1.2;">International Research Council</h1>
<p class="pb-5 text-left">The International Research Council (IRC) is a community created by the Sustainable Education
Foundation (SEF) to showcase the work of Sri Lankan researchers. One of the main goals of IRC is to provide a
digital platform to connect our community of researchers who
are actively pursuing research projects in various fields all over the world.</p>
</div>
</div>
</div>
<div class="col-md-7 order-lg-2 ml-lg-auto col-sm-12">
<div class="position-relative pl-md-5 pb-5 mt--100 mr--100">
<img src="assets/img/irc/irchero.png" class="img-center img-fluid">
</div>
</div>
</div>
</div>
</section>
<section class="section pb-0 bg-secondary">
<div id="researchers" class="container">
<h1 class="display-3 text-center mb-5">Researchers</h1>
<!--Profile cards goes here-->
<div id="teamContent">
<!-- Skeleton Profiles goes here -->
<div class="container">
<div class="row">
<div class="col-md-3">
<div class="skeleton">
<div>
<div class="row" style=" justify-content: center">
<div class="avatar"></div>
</div>
<div class="row profile-name ">
<div class="line"></div>
<div class="line line-secondary"></div>
</div>
</div>
</div>
</div>
<div class="col-md-3">
<div class="skeleton">
<div>
<div class="row" style=" justify-content: center">
<div class="avatar"></div>
</div>
<div class="row profile-name ">
<div class="line"></div>
<div class="line line-secondary"></div>
</div>
</div>
</div>
</div>
<div class="col-md-3">
<div class="skeleton">
<div>
<div class="row" style=" justify-content: center">
<div class="avatar"></div>
</div>
<div class="row profile-name ">
<div class="line"></div>
<div class="line line-secondary"></div>
</div>
</div>
</div>
</div>
<div class="col-md-3">
<div class="skeleton">
<div>
<div class="row" style=" justify-content: center">
<div class="avatar"></div>
</div>
<div class="row profile-name ">
<div class="line"></div>
<div class="line line-secondary"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row justify-content-center" id="btnResearchers" style="visibility:hidden;">
<button id="btnShowMore" class="btn btn-link btn-outline-secondary btn-info mb-3">SEE MORE</button>
<a href="#researchers" id="btnShowLess" class="btn btn-link btn-outline-secondary btn-info mb-3">SEE LESS</a>
</div>
</div>
</section>
<section class="section pb-0 bg-gradient-white">
<div class="container">
<h1 class="display-3 text-center mb-5">Research Interns In 2020</h1>
<!--Profile cards goes here-->
<div id="internContent">
<!-- Skeleton Profiles goes here -->
<table class="table table-striped">
<thead>
<tr>
<th scope="col"></th>
<th scope="col">Name</th>
<th scope="col">University</th>
<th scope="col">View Blog Article</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<div class="column-avatar"></div>
</td>
<td>
<div class="column-content"></div>
</td>
<td>
<div class="column-content"></div>
</td>
<td>
<div class="column-content"></div>
</td>
</tr>
<tr>
<td>
<div class="column-avatar"></div>
</td>
<td>
<div class="column-content"></div>
</td>
<td>
<div class="column-content"></div>
</td>
<td>
<div class="column-content"></div>
</td>
</tr>
<tr>
<td>
<div class="column-avatar"></div>
</td>
<td>
<div class="column-content"></div>
</td>
<td>
<div class="column-content"></div>
</td>
<td>
<div class="column-content"></div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</section>
<section class="section faq bg-secondary">
<div class="container">
<h1 class="display-3 text-center mb-5">Frequently Asked Questions</h1>
<!--FAQ Accordion-->
<div class="accordion">
<div class="row">
<div class="col-md-12 ml-auto">
<div class="accordion my-3" id="accordion">
<div class="py-3 card-toggle qa-card">
<div id="heading-1">
<div
class="text-dark text-left collapsed panel question"
data-toggle="collapse"
data-target="#collapse-1"
aria-expanded="false"
aria-controls="collapse-1">
<div class="question-heading">
Why IRC?
</div>
<div class="text-primary collapse-sign">
<i class="collapse-sign-icon fa fa-plus float-right"></i>
</div>
</div>
</div>
<div
id="collapse-1"
class="collapse"
aria-labelledby="heading-1"
data-parent="#accordion">
<div class="card-body opacity-8 text-justify">
SEF attracts a strong following of undergraduate and postgraduate students who are mostly confined to
our local education system that encourage traditional careers. The IRC can act as a catalyst for these
students to get insight to the wide array of possibilities available in the research space and even steer
towards an academic career. Having a strong community of researchers can also assist students to find or
connect with higher studies and research opportunities all over the world.
</div>
</div>
</div>
<div class="py-3 card-toggle qa-card">
<div id="heading-2">
<div
class="text-dark collapsed panel question"
data-toggle="collapse"
data-target="#collapse-2"
aria-expanded="false"
aria-controls="collapse-2">
<div class="question-heading">
Who can join the IRC?
</div>
<div class="text-primary collapse-sign"><i
class="collapse-sign-icon fa fa-plus float-right"></i></div>
</div>
</div>
<div
id="collapse-2"
class="collapse"
aria-labelledby="heading-2"
data-parent="#accordion">
<div class="card-body opacity-8 text-justify">
Any researcher of Sri Lankan origin who have completed or are currently working on an approved research proposal ideally pursuing postgraduate studies or a doctoral degree.
</div>
</div>
</div>
<div class="py-3 card-toggle qa-card">
<div id="heading-3">
<div
class="text-dark collapsed panel question"
data-toggle="collapse"
data-target="#collapse-3"
aria-expanded="false"
aria-controls="collapse-3">
<div class="question-heading">
Do I need to have postgraduate studies to enter the IRC?
</div>
<div class="text-primary collapse-sign"><i
class="collapse-sign-icon fa fa-plus float-right"></i></div>
</div>
</div>
<div
id="collapse-3"
class="collapse"
aria-labelledby="heading-3"
data-parent="#accordion">
<div class="card-body opacity-8 text-justify">
No, But in order to be featured on our social media channels, we expect you to be conducting impactful
research that cover one or more of the UN Sustainable Development Goals.
</div>
</div>
</div>
<div class="py-3 card-toggle qa-card">
<div id="heading-4">
<div
class="text-dark collapsed panel question"
data-toggle="collapse"
data-target="#collapse-4"
aria-expanded="false"
aria-controls="collapse-4">
<div class="question-heading">
Will it cost me a membership fee?
</div>
<div class="text-primary collapse-sign"><i
class="collapse-sign-icon fa fa-plus float-right"></i></div>
</div>
</div>
<div
id="collapse-4"
class="collapse"
aria-labelledby="heading-4"
data-parent="#accordion">
<div class="card-body opacity-8 text-justify">
No, it won’t cost you anything other than your valuable time.
</div>
</div>
</div>
<div class="py-3 card-toggle qa-card">
<div id="heading-5">
<div
class="text-dark collapsed panel question"
data-toggle="collapse"
data-target="#collapse-5"
aria-expanded="false"
aria-controls="collapse-5">
<div class="question-heading">
How can I join IRC?
</div>
<div class="text-primary collapse-sign"><i
class="collapse-sign-icon fa fa-plus float-right"></i></div>
</div>
</div>
<div
id="collapse-5"
class="collapse"
aria-labelledby="heading-5"
data-parent="#accordion">
<div class="card-body opacity-8">
Submit your details via our online form or drop us an email at
<a href="mailto:[email protected]">[email protected]</a> We look forward to hearing from you!
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="section pb-0 mt-5bg-gradient-white">
<div class="container">
<div class="row">
<div class="col-md-6">
<img src="assets/img/irc-signup.svg">
</div>
<div class="col-md-6 mb-5">
<h1 class="display-2 pb-3" style="line-height: 1.2;">Sign Up as a Researcher</h1>
<p class="pb-5">Submit your details via our online form or drop us an email at [email protected]. We look forward to hearing from you!</p>
<a class="btn btn-default" href="https://docs.google.com/forms/d/e/1FAIpQLSc0Mman3viM-CmCDyLSwhHIY2QQmJHA6_I9awPadLM743FI4g/viewform">Sign Up</a>
</div>
</div>
</div>
</section>
<footer class="footer">
<div id="footer"></div>
<!--footer goes here -->
</footer>
</body>
<!-- Core -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.10.4/headroom.min.js"></script>
<!-- Optional JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/noUiSlider/14.0.3/nouislider.min.js"></script>
<!-- Argon JS -->
<script src="assets/js/argon.js?v=1.0.1"></script>
<!--Mustache.js-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/mustache.js/2.3.0/mustache.min.js"></script>
<!-- Script for static navbar and footer -->
<script src="assets/js/navigation.js"></script>
<script src="assets/js/functions.js"></script>
<script type="text/html" id="templateTeam">
<div class="row">
{{#data}}
<div class="col-md-3 col-lg-3 mb-5">
<div class="px-4">
<div class="hover-profile-card">
<a href="https://www.linkedin.com/in/{{linkedin}}">
<img src="https://res.cloudinary.com/dsxobn1ln/image/upload/c_scale,h_200,w_200/{{image}}"
class="rounded-circle img-center img-fluid shadow shadow-lg--hover imgHover"
>
</a>
<div class="imgIcon">
<a href="https://www.linkedin.com/in/{{linkedin}}" class="btn btn-default btn-icon-only rounded-circle">
<i class="fab fa-linkedin"></i>
</a>
</div>
</div>
<div class="pt-4 text-center">
<h5 class="title">
<span class="d-block mb-1">{{name}}</span>
<small class="h6 text-muted">{{description}}</small>
</h5>
</div>
</div>
</div>
{{/data}}
</div>
</script>
<script>
$(function () {
loadNavAndFooter('assets/content/static'); //relative path to content directory
loadProfiles(); // call function to load profiles
loadResearchInterns(); // call function to load research interns
loadFaqComponent(); // call function for faq
});
//function to load profile data
function loadProfiles() {
$.ajax({
type: 'get',
url: 'https://script.google.com/macros/s/AKfycbxf6o9WGTe0q7ZtOUTxVgyRlNWPtsgOVhoNfShO5UR94P-kiCJzvLU6-Lph5qoHWbA/exec',
dataType: 'json',
success: function (data) {
//slice array to two parts
if (data.length >= 8) {
let partOne = data.slice(0, 8);
let partTwo = data.slice(8);
//mustache render - part one
let contentPartOne = Mustache.render($("#templateTeam").html(), {"data": partOne});
//display first 8 profiles
$("#teamContent").html(contentPartOne);
$("#btnShowLess").hide();
//hide button
$("#btnShowMore").click(function () {
let contentPartTwo = Mustache.render($("#templateTeam").html(), {"data": partTwo});
$("#teamContent").append(contentPartTwo);
$("#btnShowMore").hide();
$("#btnShowLess").show();
});
$("#btnShowLess").click(function () {
$("#teamContent").html(contentPartOne);
$("#btnShowMore").show();
$("#btnShowLess").hide();
});
} else {
//mustache render
let content = Mustache.render($("#templateTeam").html(), {"data": data});
//display first 8 profiles
$("#teamContent").html(content);
//hide button
$("#btnShowMore").hide();
$("#btnShowLess").hide();
}
}
});
}
function loadResearchInterns() {
$.ajax({
type: 'get',
url: 'https://script.google.com/macros/s/AKfycbxgfNN7In4ZDZvR4Ccg6S8WxNwxBP6giopoOjwNb500sd3odeHbmumF7IX17g0n9QwEcw/exec',
dataType: 'json',
success: function (data) {
let templateInterns = Mustache.render($("#templateInterns").html(), {"data": data});
document.getElementById('btnResearchers').style.visibility = "visible";
//display interns
$("#internContent").html(templateInterns);
}
});
}
</script>
<script type="text/html" id="templateInterns">
<table class="table table-striped">
<thead>
<tr>
<th scope="col"></th>
<th scope="col">Name</th>
<th scope="col">University</th>
<th scope="col">View Blog Article</th>
</tr>
</thead>
<tbody>
{{#data}}
<tr onclick="window.location='{{linkedin}}';">
<th scope="row">
<img src="https://res.cloudinary.com/dsxobn1ln/image/upload/c_scale,h_48,w_48/{{image}}" class="avatar">
</th>
<td>{{name}}</td>
<td>{{university}}</td>
<td>
<a class="btn btn-default" href={{mediumUrl}}>
View Blog
</a>
</td>
</tr>
{{/data}}
</tbody>
</table>
</script>
</html>