forked from brain-web/brain-web.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
419 lines (379 loc) · 22.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>BrainWeb</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<link href="https://unpkg.com/[email protected]/dist/aos.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/quasar.min.css" rel="stylesheet" type="text/css">
<link href="https://cdn.jsdelivr.net/npm/animate.css@^3.5.2/animate.min.css" rel="stylesheet">
<link rel="shortcut icon" type="image/x-icon" href="./favicon.ico" />
<link href="https://fonts.googleapis.com/css?family=Raleway:100,300,400,500,900" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Oswald:700" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="/css/main.css">
</head>
<body>
<!-- Firebase authentication -->
<div id="firebaseui-auth-container" class="auth-dialog"></div>
<!-- navigation bar -->
<!-- currently, the fixed top class is added, so it sticks to the top -->
<!-- data value of nav bar corresponds to id in each section -->
<nav class="navbar navbar-expand-lg fixed-top ">
<a class="navbar-brand" href="/">
<div class="logo_brainweb">
<p style="padding-left:4em;color:white;cursor:pointer;font-size:14px;font-weight:300;line-height:2.7;vertical-align: middle;">BrainWeb</p>
</div>
</a>
<button class="navbar-toggler landing-page myCollapsedMenuBarIcon" id="myMenuBtn" type="button" data-toggle="collapse" data-target="#myMenu" aria-controls="myMenu" aria-expanded="false" aria-label="Toggle navigation" style="padding:0;border:none; width:1.5em;height:1.5em;"
onclick="this.blur();">
</button>
<style>
.userIcon {
width: 32px;
height: 32px;
clip-path: circle(16px at center);
}
#userAvatar {
display: none;
}
.auth-dialog>div:first-child {
position: absolute;
left: 50%;
top: 50%;
background: rgba(0, 0, 0, 0.5);
border: thin solid #777;
transform: translate( -50%, -50%);
z-index: 1050;
}
#loginStatus a {
border-bottom: none;
}
#loginStatus a:hover {
border-bottom: 1px solid white;
}
#csv {
margin-top: 4em;
margin-bottom: 2em;
}
</style>
<div class="collapse navbar-collapse" id="myMenu" style="width:100%;">
<ul class="navbar-nav mr-4">
<li class="nav-item">
<a class="nav-link" data-value="home" href="#">BrainWeb</a>
</li>
<li class="nav-item">
<a class="nav-link" data-value="events" href="#">Events</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/projects/">Projects</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/community/">Community</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/videoconference/">Videoconference</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/ohbm2020/">OHBM posters</a>
</li>
<li class="nav-item">
<span class="nav-link" id="loginStatus" style="border-bottom:none"><a style="color:white" href="#" onclick="signIn()">Sign In</a></span>
</li>
<li class="nav-item" id="userAvatar">
<img class="userIcon" />
</li>
</ul>
</div>
</nav>
<!-- my header -->
<header class="header" id="myheader">
<div class="overlay">
</div>
<div class="container no-quasar">
<div class="row">
<div id="chart"></div>
<div id="chart2"></div>
<div id="intro" style="color:white;position:absolute;top:8em;right:15%;text-align:left;padding:0.25em">
<h1 id="introbrainweb">BrainWeb</h1>
<h1 id="introneurocollab">NEUROSCIENCE COLLABORATION</h1>
<h1 id="introinthetimeof">IN THE TIME OF THE CORONA</h1>
<h2 id="introkickoff">October 26 BrainWeb Hackoween 🎃</h2>
<!-- <p><a href="https://meet.jit.si/BrainWeb" target="_blank"><span style="font-size:32px;margin-left:0px;">☕</span> European Coffee: 8 am UTC</a></p><br/> -->
<!-- <p><a href="https://meet.jit.si/BrainWeb" target="_blank"><span style="font-size:44px;margin-left:-6px;">🥤</span> American Coffee: 2 pm UTC</a></p><br/> -->
<!-- <p><a href="https://meet.jit.si/BrainWeb" target="_blank"><span style="font-size:38px;">🍵</span> Global Tea & <span style="font-size:30px;">🚀</span> Project updates: 5 pm UTC</a></p><br/> -->
<p><a href="/videoconference/" target="_blank"><span style="font-size:38px;">🍵</span> Global C&C at 5 pm UTC</a></p><br/>
</div>
<span class="btn-scroll-down scroll"></span>
</div>
</div>
</header>
<!-- BrainWeb description -->
<div class="row mainpageparts hide" id="home">
<div class="container">
<h1>BrainWeb</h1>
<div class="row">
<!-- left side 1 -->
<div class="col-lg-4 col-md-4 col-sm-12">
<div data-aos="fade-in" data-aos-easing="linear" data-aos-duration="3000" data-aos-offset="0">
<img data-aos="fade-in" data-aos-easing="linear" data-aos-duration="3000" data-aos-offset="0" src="./images/landing/brainweb-voronoi-1.png" style="width:60%;padding-top:2.8em;" class="img-fluid" alt="">
</div>
<div>
<span></span>
</div>
<div>
<p><br></p>
</div>
</div>
<!-- right side 1 -->
<div class="col-lg-8 col-md-8 col-sm-12 desc">
<h3>The BrainWeb</h3>
<p>
BrainWeb is a permanent virtual space for online collaborations on projects related to neuroscience. Inspired by initiatives such as Brainhack Global, the OHBM Hackathon, and the OHBM Equinox Brain Twitter Conference, BrainWeb aims at providing an online
workspace to facilitate distributed collaboration on a continuous basis. <br> Let's connect as a community around the globe once every 6 weeks via <a href="https://meet.jit.si/BrainWeb" style="cursor:pointer">videoconference</a> where anyone can join in flexibly.
<br/><br/>
</p>
</div>
<!-- left side 2 -->
<div class="col-lg-4 col-md-4 col-sm-12">
<div data-aos="fade-in" data-aos-easing="linear" data-aos-duration="3000" data-aos-offset="0">
<img src="./images/landing/brainweb-voronoi-2.png" style="width:60%; filter:grayscale(50%) contrast(100%) opacity(90%); -webkit-filter:grayscale(60%) contrast(100%) opacity(90%);" class="img-fluid" alt="">
</div>
<div>
<span></span>
</div>
<div>
<p><br></p>
</div>
</div>
<!-- right side 2 -->
<div class="col-lg-8 col-md-8 col-sm-12 desc">
<h3>Coding, coffee & collaborations</h3>
<p>
We are inviting all nodes of the BrainWeb to coffee & catch up every 6 weeks. This will be our regular opportunity to chat, present our progress if you wish, do spontaneous unconferences or kick off new projects and collaborations. <br> BrainWeb’s kickoff meeting is April 6th, shortly after the OHBMX Twitter conference and neuromatch 2020 have stimulated endless new ideas and enthusiasm. <a href="https://meet.jit.si/BrainWeb" style="cursor:pointer">Let’s get together at 3pm UTC on the BrainWeb</a>!
<br>
<br>
</p>
</div>
<!-- left side 3 -->
<div class="col-lg-4 col-md-4 col-sm-12">
<div data-aos="fade-in" data-aos-duration="3000" data-aos-offset="0">
<img src="./images/landing/brainweb-voronoi-3.png" style="width:60%;filter:grayscale(50%) contrast(100%) opacity(90%); -webkit-filter:grayscale(50%) contrast(100%) opacity(90%);" class="img-fluid" alt="">
</div>
<div>
<span></span>
</div>
<div>
<p><br></p>
</div>
</div>
<!-- right side 3 -->
<div class="col-lg-8 col-md-8 col-sm-12 desc">
<h3>Propose a project</h3>
<p>
Before, during, and after the BrainWeb kickoff we will keep track of all BrainWeb projects. All you need to do to add your project to the BrainWeb community is to create a repository on GitHub and to add “BrainWeb” as a <i>topic</i>.
<br> During our meetings, you are invited to pitch your project, find enthusiasts, break out into smaller meetings in parallel, and continue to work in teams after the online BrainWeb meeting.
</p>
</div>
<!-- left side 4 -->
<div class="col-lg-4 col-md-4 col-sm-12">
<div data-aos="fade-in" data-aos-duration="3000" data-aos-offset="0">
<img src="./images/landing/brainweb-voronoi-4.png" style="width:60%;filter:grayscale(50%) contrast(100%) opacity(90%); -webkit-filter:grayscale(50%) contrast(100%) opacity(90%);" class="img-fluid" alt="">
</div>
<div>
<span></span>
</div>
<div>
<p><br></p>
</div>
</div>
<!-- right side 4 -->
<div class="col-lg-8 col-md-8 col-sm-12 desc">
<h3>Communication</h3>
<p>
While we all meet in the <a href="/videoconference/" target="_blank" style="cursor:pointer">main Jitsi</a>, you can also create your own, more focused videoconference room to discuss & brainstorm in parallel. You will be able to find the
list of all simultaneous project rooms in our shared Google Doc below. <br> We also encourage you to create a channel on <a href="https://mattermost.brainhack.org/signup_user_complete/?id=orpd9qqjb7gqpnwg5k1fdagrqa" target="_blank"
style="cursor:pointer">Brainhack’s Mattermost</a> , to keep track of your progress and collaborate in between BrainWeb meetings. This will also make it easier for new collaborators to learn about what your team has already achieved.
</p>
</div>
<!-- left side 5 -->
<div class="col-lg-4 col-md-4 col-sm-12">
<div data-aos="fade-in" data-aos-duration="3000" data-aos-offset="0">
<img src="./images/landing/brainweb-voronoi-5.png" style="width:60%;filter:grayscale(50%) contrast(100%) opacity(90%); -webkit-filter:grayscale(50%) contrast(100%) opacity(90%);" class="img-fluid" alt="">
</div>
<div>
<span></span>
</div>
<div>
<p><br></p>
</div>
</div>
<!-- right side 5 -->
<div class="col-lg-8 col-md-8 col-sm-12 desc">
<h3>Format</h3>
<p>
BrainWeb will kick off with project pitches as a start into 3 days of hacking together, unconferencing, coffee chats and a peek into project progress. At the end of the 3 days, each team is invited to share updates on their projects with the entire community!<br> Let's work together no matter where we are!
</p>
</div>
</div>
</div>
</div>
<!-- part 2 Events -->
<div class="row mainpageparts hide" id="events">
<div class="container">
<h1>Events</h1>
<!-- visual head image of section -->
<div class="row">
<div data-aos="fade-in" data-aos-duration="3000" data-aos-offset="0">
<img src="./images/landing/brainweb-connectome-in-a-sphere.png" style="padding-left:1em;padding-right:1em;padding-bottom:2em;filter:grayscale(80%) contrast(100%) opacity(90%); -webkit-filter:grayscale(80%) contrast(100%) opacity(90%);" class="img-fluid"
alt="">
</div>
</div>
<div class="row">
<!-- two-spilt part -->
<!-- left side 1 -->
<div class="col-lg-4 col-md-4 col-sm-12">
<div data-aos="fade-in" data-aos-duration="3000" data-aos-offset="0">
<img src="./images/landing/events_2.jpg" style="width:60%;filter:grayscale(70%) contrast(100%) opacity(90%); -webkit-filter:grayscale(70%) contrast(100%) opacity(90%);" class="img-fluid" alt="">
</div>
<div>
<p><br></p>
</div>
</div>
<!-- right side 1 -->
<div class="col-lg-8 col-md-8 col-sm-12 desc">
<h3>BrainWeb Kickoff & 3-day Hackathon</h3>
<p>
<b style="font-weight:900;">April 6 Kickoff</b><br/> BrainWeb’s kickoff meeting is April 6th, shortly after the OHBMX Twitter conference, and neuromatch 2020 have stimulated new ideas and enthusiasm. <a href="https://meet.jit.si/BrainWeb"
target="_blank" style="color:white; cursor: pointer">Let’s get together at 3pm UTC on the BrainWeb!</a><br><br>
<b style="font-weight:900;">3-day Hackathon</b><br/> The 3-day Hackathon will feature project pitches, have room for ignite talks & spontaneous unconferences, coffee & chats, and of course hacking together. At the end of the 3
days, each team can share updates on their projects with the entire community. <br> Let's work together no matter where we are!
<br/><br/><br/>
</p>
</div>
</div>
<div id="csv">
<h1 style="padding-bottom:2rem;">Agenda</1>
<p style="padding-top:2rem; line-height:1.7em;">Please add the links to your breakout topic discussion rooms to our <a href="https://docs.google.com/spreadsheets/d/1q7KD6JnA1G8LBbHt1Dw5Aqje3c-6L6y4V4cqGbVohPY/edit#gid=0">BrainWeb topic session Google sheet</a> and they will automatically
appear here in real time for the community to join.</p>
</div>
</div>
<div class="row mainpageparts hide" id="CoC" style="width:100%; position:absolute; bottom:-10px; margin:0;padding:0;border:0; color:white; background:#000000;">
<p style="font-size:14px;position:absolute;left:50%;transform: translate(-50%,0);">Made with love ❤ Please respect the <a href="https://github.com/brain-web/brain-web.github.io/blob/master/CoC.md" target="_blank">BrainWeb Code of Conduct.</a></p>
</div>
</div>
<!-- <footer class="page-footer font-small special-color-dark pt-4 hide">
<div class="footer-copyright text-center py-3">Made with love ❤ Please respect the
<a href="https://github.com/brain-web/brain-web.github.io/blob/master/CoC.md"> BrainWeb Code of Conduct.</a>
</div>
</footer> -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/aos.js"></script>
<script src="/js/main.js"></script>
<link type="text/css" rel="stylesheet" href="https://www.gstatic.com/firebasejs/ui/4.5.0/firebase-ui-auth.css" />
<script defer src="https://www.gstatic.com/firebasejs/ui/4.5.0/firebase-ui-auth.js"></script>
<script defer src="https://www.gstatic.com/firebasejs/7.12.0/firebase-app.js"></script>
<script defer src="https://www.gstatic.com/firebasejs/7.12.0/firebase-auth.js"></script>
<script defer src="https://www.gstatic.com/firebasejs/7.12.0/firebase-database.js"></script>
<!-- <script type="module">
const circleName = "MiserableSkills"; function initApp() { firebase.auth().onAuthStateChanged((user) => { if (user) { const {displayName, email, emailVerified, photoURL, uid, phoneNumber, providerData} = user; user.getIdToken().then(function(accessToken)
{ document.querySelector("#userAvatar img").src = photoURL; document.querySelector("#userAvatar").style.display = "inline-block"; document.getElementById("loginStatus").innerHTML = `${displayName} (<a style="color:white" href="#" onclick="signOut()">Sign Out</a>)`;
}); // prompt("Copy/paste this information:","Go to: https://www.crowdcast.io/e/brainweb\nUse this: BrainWebKickOff!") } else { document.querySelector("#userAvatar").style.display = "none"; document.querySelector("#userAvatar img").src = ""; document.getElementById("loginStatus").innerHTML
= `<a style="color:white" href="#" onclick="signIn()">Sign In</a>`; } }, function(error) { console.log(error); }); } function signIn() { uiAuth.start('#firebaseui-auth-container', uiConfig); } window.signIn = signIn; function signOut() { firebase.auth().signOut();
} window.signOut = signOut; function startFirebase() { uiAuth = new firebaseui.auth.AuthUI(firebase.auth()); window.addEventListener('load', function() { initApp(); }); } window.startFirebase = startFirebase;
</script> -->
<script>
function initApp() {
firebase.auth().onAuthStateChanged((user) => {
if (user) {
const {displayName, email, emailVerified, photoURL, uid, phoneNumber, providerData} = user;
user.getIdToken().then(function(accessToken) {
document.querySelector("#userAvatar img").src = photoURL;
document.querySelector("#userAvatar").style.display = "inline-block";
document.getElementById("loginStatus").innerHTML = `${displayName} (<a style="color:white" href="#" onclick="signOut()">Sign Out</a>)`;
});
} else {
document.querySelector("#userAvatar").style.display = "none";
document.querySelector("#userAvatar img").src = "";
document.getElementById("loginStatus").innerHTML = `<a style="color:white" href="#" onclick="signIn()">Sign In</a>`;
}
}, function(error) {
console.log(error);
});
}
function signIn() {
uiConfig.signInSuccessUrl = "/";
uiAuth.start('#firebaseui-auth-container', uiConfig);
}
window.signIn = signIn;
function signOut() {
firebase.auth().signOut();
}
window.signOut = signOut;
function startFirebase() {
uiAuth = new firebaseui.auth.AuthUI(firebase.auth());
window.addEventListener('load', function() {
initApp();
});
}
</script>
<script>
const url = "https://docs.google.com/spreadsheets/d/1q7KD6JnA1G8LBbHt1Dw5Aqje3c-6L6y4V4cqGbVohPY/export?format=tsv&id=1q7KD6JnA1G8LBbHt1Dw5Aqje3c-6L6y4V4cqGbVohPY&gid=0"
const xhr = new XMLHttpRequest();
xhr.open('GET', url);
xhr.send(null);
xhr.onreadystatechange = function() {
const DONE = 4,
OK = 200;
if (xhr.readyState === DONE && xhr.status === OK) {
const txt = xhr.responseText;
const rows = txt.split("\n");
for (let i = 0; i < 2; i++) {
document.getElementById("csv").innerHTML += `<p>${rows[i]}</p>`;
}
let html = "<table border=1>\n"
for (let i = 2; i < rows.length; i++) {
const cols = rows[i].split(/\t[ ]*/);
console.log(cols);
html += "<tr>";
for (let j = 0; j < cols.length; j++) {
html += `<td>${cols[j]}</td>`;
}
html += "</tr>\n";
}
html += "</table>\n";
document.getElementById("csv").innerHTML += html;
} else {
console.log('Error: ' + xhr.status);
}
}
</script>
<script defer src="/js/init-firebase.js"></script>
<script>
AOS.init();
</script>
<!-- ObservableHQ 1 -->
<script type="module">
import {Runtime, Inspector} from "https://cdn.jsdelivr.net/npm/@observablehq/runtime@4/dist/runtime.js"; import notebook from "https://api.observablehq.com/@katjaq/voronoi-update.js?v=3"; if(selectedChart == 0) { const main = new Runtime().module(notebook,
(name) => { if(name === "chart") { console.log(name); setTimeout(unhide,1000); return new Inspector(document.getElementById("chart")); } }); main.redefine("height",window.innerHeight); main.redefine("width",window.innerWidth); }
</script>
<!-- ObservableHQ 2 -->
<script type="module">
import {Runtime, Inspector} from "https://cdn.jsdelivr.net/npm/@observablehq/runtime@4/dist/runtime.js"; import notebook from "https://api.observablehq.com/@katjaq/voronoi-update/2.js?v=3"; if(selectedChart > 0) { const main = new Runtime().module(notebook,
(name) => { if(name === "chart") { console.log(name); setTimeout(unhide,1000); return new Inspector(document.getElementById("chart2")); } }); main.redefine("height",window.innerHeight); main.redefine("width",window.innerWidth); }
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-138729622-3"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-138729622-3');
</script>
</body>
</html>
<!--
References
1. https://bl.ocks.org/puzzler10/4438752bb93f45dc5ad5214efaa12e4a
-->