-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
395 lines (354 loc) · 19.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Prime-DRE-BrainWeb</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900|Material+Icons" rel="stylesheet" type="text/css">
<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 rel="stylesheet" type="text/css" href="./css/main.css">
<link rel="stylesheet" type="text/css" href="./community/community.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;">Prime-DRE-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>
<div class="collapse navbar-collapse" id="myMenu" style="width:100%;">
<ul class="navbar-nav mr-4" >
<li class="nav-item">
<a class="nav-link" href="./">Prime-DRE-BrainWeb</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./projects/">Projects</a>
</li>
<li class="nav-item">
<span class="nav-link" id="loginStatus" style="border-bottom:none">
Sign In
</span>
</li>
<li class="nav-item" id="userAvatar">
<img class="userIcon"/>
</li>
</ul>
</div>
</nav>
<!-- main -->
<div id="q-app">
<!-- part 1: Community network : Prime-DRE community -->
<div id="community">
<div id="conftitle">
<h1>Prime-DRE-BrainWeb</h1>
</div>
<div id="search-field">
<q-select
rounded outlined
label="Find skills"
color="white"
v-model="searchItems"
use-input
use-chips
multiple
hide-dropdown-icon
input-debounce="0"
new-value-mode="add-unique"
:options="searchOptions"
@filter="searchFn"
@input="searchAdd"
>
<!-- <q-icon name="search" @click.stop style="font-size: 24px; height: inherit"/> -->
</q-select>
</div>
<!-- network -->
<div id="network"></div>
<!-- <div id="networkContainer">
<div id="network"></div>
<div id="networkInfo" v-if="!spinning && !userSignedIn">
<a href="#" onclick="signIn(app)">Join the network!</a>
</div>
</div> -->
<!-- spinner -->
<q-spinner-ball
color="white"
size="4em"
v-if="spinning"
style="position:absolute;top:50%;left:50%;transform: translate( -50%, -50%);z-index:1000"
></q-spinner-ball>
<!-- <q-dialog v-model="displaySignIn" id="sign-in">
<q-card>
<q-card-section>
<p>
This is the <strong>Prime-DRE-BrainWeb</strong> community graph.
Add yourself to the graph by signing in with GitHub, add your skills to take your place in the network graph.
</p>
<p>
The Prime-DRE community is part of the larger <a href="https://brain-web.github.io">BrainWeb community</a>
and you can explore your connections within the wider network.
</p>
<div id="firebaseui-auth-container"></div>
</q-card-section>
</q-card>
</q-dialog> -->
<div class="container" style="margin-top: 1em">
<!-- skills card -->
<div v-cloak class="row">
<!-- other person's card -->
<div v-if="cardUID !== uid">
<q-dialog v-model="displayCard">
<q-card style="height:400px;width:400px">
<q-card-section>
<q-chip>
<q-avatar round size="48px">
<img :src="cardImgSrc" />
</q-avatar>
<a v-cloak class="col text-h6" :href="cardGitHubURL">
{{cardDisplayName}}
</a>
</q-chip>
</q-card-section>
<q-card-section style="background: hsla(0,0%,100%,0.07);border-radius:4px 4px 0 0;margin:16px">
<q-chip v-cloak color="dark" v-for="skill in cardSkills">
{{skill}}
</q-chip>
</q-card-section>
</q-card>
</q-dialog>
</div>
<!-- logged person's card -->
<div v-else>
<q-dialog v-model="displayCard" @hide="updateUser">
<q-card style="height:400px;width:400px">
<q-card-section>
<q-chip>
<q-avatar round size="48px">
<img :src="`https://avatars3.githubusercontent.com/u/${uid}?v=4`" />
</q-avatar>
<a v-cloak class="col text-h6" :href="`https://github.com/${userGitHubName}`">
{{userDisplayName}}
</a>
</q-chip>
</q-card-section>
<q-card-section>
<q-select
label="Skills"
filled
v-model="people[people.map((o)=>o.uid).indexOf(uid)].skills"
use-input
use-chips
multiple
hide-dropdown-icon
input-debounce="0"
new-value-mode="add-unique"
:options="skills"
@filter="filterFn"
@new-value="createValue"
></q-select>
</q-card-section>
</q-card>
</q-dialog>
</div>
</div>
</div> <!-- end of container -->
<!-- part 2: about Prime-DRE -->
<div class="row" id="about">
<div class="container">
<h4>Prime-DRE-BrainWeb</h4>
<!-- <div v-cloak v-if="!spinning" class="row"> -->
<p><br />
A permanent space for the primate neuroscience community to find collaborators, projects and start working together.<br />
<!-- The Primate Data and Resource Exchange, Prime-DRE, aims at facilitating access to primate brain imaging datasets, as well as building a community around. -->
</p>
<p>
Over the last years, the non-human primate neuroimaging community has formed and built the <a href="https://fcon_1000.projects.nitrc.org/indi/indiPRIME.html" target="_blank" >Primate Data Exchange (PRIME-DE</a>, <a href="https://doi.org/10.1016/j.neuron.2018.08.039" target="_blank">Milham et al. 2018)</a>, <a href="https://doi.org/https://doi.org/10.1016/j.neuron.2019.12.023" target="_blank">2020</a> as well as the <a href="https://github.com/PRIME-RE/prime-re.github.io" target="_blank">Primate Resource exchange (PRIME-RE</a>, <a href="https://doi.org/10.1016/j.neuroimage.2020.117519" target="_blank">Messinger et al. 2021)</a> to share data, tools and experience. PrimeDRE-BrainWeb has been created to add a community component that allows to find collaborators and projects across labs.<br />
The PrimeDRE-BrainWeb is part of the larger <a href="https://brain-web.github.io" target="_blank">BrainWeb</a> and you can explore your connections in the larger network beyond primates.
<br/>
</p>
</div>
</div>
<!-- video presenting Prime-DRE BrainWeb -->
<!-- <div class="row" id="videopresentation">
<div class="container">
<h4>Prime-DRE-BrainWeb at a glance</h4>
<p><br />
A short video on what drives us and how to join.
</p>
<iframe
width="1000"
height="600"
src="https://www.youtube.com/embed/..." title="YouTube video player"
frameborder="0"
style="border: 1px solid #EEE;border-radius:3px"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin"
allowfullscreen>
</iframe> -->
<!--
webkitallowfullscreen="true"
mozallowfullscreen="true"
allow="microphone; camera;"
-->
<!-- </div>
</div> -->
<!-- part 3 Organisers -->
<div v-cloak v-if="!spinning" class="row" id="organizers">
<div v-cloak v-if="!spinning" class="container" style="background: rgba(0,0,0,0.2);">
<h4>Team of organisers</h4>
<div v-cloak v-if="!spinning" class="row">
<div id="TableContainer">
<div class="TableDescription" style="padding-bottom:2rem;">
<div id="organizerColumns">
<div id="organizerColumnLeft">
<div class="organizerCard">
<p>
<a href="https://katjaq.github.io">Katja Heuer</a> (Institut Pasteur, France)<br/>
<a style="font-weight: 300;" href="https://twitter.com/katjaQheuer"><img style="width:1.8rem;transform:translate(0,0px);margin-right:5px;" src="./images/landing/twitter_white.png" /img>@katjaQheuer</a>
</p>
</div>
<div class="organizerCard">
<p>
<a href="https://childmind.org/bio/michael-p-milham-md-phd">Michael Milham</a> (CMI, USA)<br/>
<a style="font-weight: 300;" href="https://twitter.com/MilhamMichael"><img style="width:1.8rem;transform:translate(0,0px);margin-right:5px;" src="./images/landing/twitter_white.png" /img>@MilhamMichael</a>
</p>
</div>
<div class="organizerCard">
<p>
<a href="https://www.uu.nl/staff/PCKlink">Chris Klink</a> (Utrecht University, Netherlands)<br/>
<a style="font-weight: 300;" href="https://twitter.com/ChrizKlink"><img style="width:1.8rem;transform:translate(0,0px);margin-right:5px;" src="./images/landing/twitter_white.png" /img>@ChrizKlink</a>
</p>
</div>
<div class="organizerCard">
<p>
<a href="https://www.nki.rfmh.org/people/renee-hartig-ph-d">Renée Hartig</a> (NKI, USA)<br/>
<a style="font-weight: 300;" href="https://x.com/HartigRenee"><img style="width:1.8rem;transform:translate(0,0px);margin-right:5px;" src="./images/landing/twitter_white.png" /img>@HartigRenee</a>
</p>
</div>
<div class="organizerCard">
<p>
<a href="https://childmind.org/bio/ting-xu-phd">Ting Xu</a> (CMI, USA)<br/>
<a style="font-weight: 300;" href="https://x.com/TingsterX"><img style="width:1.8rem;transform:translate(0,0px);margin-right:5px;" src="./images/landing/twitter_white.png" /img>@TingsterX</a>
</p>
</div>
<div class="organizerCard">
<p>
<a href="https://www.mcgill.ca/neuro/amir-shmuel-phd">Amir Shmuel</a> (McGill University, USA)<br/>
<a style="font-weight: 300;" href="https://x.com/AmirShmuel"><img style="width:1.8rem;transform:translate(0,0px);margin-right:5px;" src="./images/landing/twitter_white.png" /img>@AmirShmuel</a>
</p>
</div>
</div><!--organizerColumn left-->
<div id="organizerColumnRight">
<div class="organizerCard">
<p>
<a href="https://neuroanatomy.github.io">Roberto Toro</a> (Institut Pasteur, France)<br/>
<a style="font-weight: 300;" href="https://twitter.com/R3RT0"><img style="width:1.8rem;transform:translate(0,0px);margin-right:5px;" src="./images/landing/twitter_white.png" /img>@R3RT0</a>
</p>
</div>
<div class="organizerCard">
<p>
<a href="https://www.ncl.ac.uk/cbe/about/staff/profile/chrispetkov.html#background">Christopher I Petkov</a> (Newcastle, UK)<br/>
<a style="font-weight: 300;" href="https://twitter.com/cipetkov"><img style="width:1.8rem;transform:translate(0,0px);margin-right:5px;" src="./images/landing/twitter_white.png" /img>@cipetkov</a>
</p>
</div>
<div class="organizerCard">
<p>
<a href="https://www.nki.rfmh.org/faculty/charles-schroeder-phd">Charles E Schroeder</a> (Nathan S. Kline Institute for Psychiatric Research, USA)<br/>
</p>
</div>
<div class="organizerCard">
<p>
<a href="https://institutducerveau-icm.org/en/member/?user=1622">Daniel S Margulies</a> (ICM, France)<br/>
<a style="font-weight: 300;" href="https://twitter.com/DanielMargulies"><img style="width:1.8rem;transform:translate(0,0px);margin-right:5px;" src="./images/landing/twitter_white.png" /img>@DanielMargulies</a>
</p>
</div>
<div class="organizerCard">
<p>
<a href="https://www.ohsu.edu/people/alison-weiss-phd">Alison Weiss</a> (Oregon National Primate Research Center, USA)<br/>
<!-- <a style="font-weight: 300;" href=""><img style="width:1.8rem;transform:translate(0,0px);margin-right:5px;" src="./images/landing/twitter_white.png" /img>@</a> -->
</p>
</div>
<div class="organizerCard">
<p>
<a href="https://www.mcgill.ca/neuro/fr/justine-clery-phd">Justine Cléry</a> (McGill University, Canada)<br/>
<a style="font-weight: 300;" href="https://x.com/JustineClery"><img style="width:1.8rem;transform:translate(0,0px);margin-right:5px;" src="./images/landing/twitter_white.png" /img>@JustineClery</a>
</p>
</div>
<div class="organizerCard">
<p>
<a href="http://www.rbmars.dds.nl/lab.html">Rogier Mars</a> (University of Oxford & Donders Institute, Radboud University Nijmegen, UK and The Netherlands)<br/>
<a style="font-weight: 300;" href="https://x.com/neuroecologylab"><img style="width:1.8rem;transform:translate(0,0px);margin-right:5px;" src="./images/landing/twitter_white.png" /img>@neuroecologylab</a>
</p>
</div>
</div><!--organizerColumn right-->
</div> <!--organizerColumns-->
</div> <!--TableDescription-->
</div> <!--TableContainer-->
</div> <!--row of organizer section-->
</div> <!--container of organizer section-->
</div> <!--organizers div-->
</div> <!-- end of community div -->
<!-- footer -->
<div class="row" id="CoC" v-if="!spinning" style="width:100%; position:relative; bottom:0px; margin:0;padding-top:1%;border:0; color:white; background:#111111;">
<p style="text-align: center; font-size: 0.9rem; width: 100%">Made with love ❤ <a href="https://github.com/brain-web/brain-web.github.io/blob/contributors" target="_blank">BrainWeb</a> ❤ Please respect the <a href="https://prime-re.github.io/coc" target="_blank">Prime-DRE Code of Conduct.</a></p>
</div>
</div> <!-- end of q-app -->
<!-- sentry -->
<script src="./js/sentry.min.js" data-lazy="no"></script>
<!-- Vue and Quasar -->
<script src="https://cdn.jsdelivr.net/npm/vue@^2.0.0/dist/vue.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/quasar.umd.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/icon-set/svg-material-icons.umd.min.js"></script>
<!-- Firebase -->
<script defer src="https://www.gstatic.com/firebasejs/ui/4.5.0/firebase-ui-auth.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/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 defer src="./js/init-firebase.js"></script>
<!-- D3 and BrainWeb graph -->
<script src="https://d3js.org/d3.v5.min.js"></script>
<script type="module">
import * as BW from "./community/brainweb.js";
// const circleName = "BrainWeb";
// const circleSkill = null;
const circleSkill = "Prime-DRE";
const filterSkills = ["Histology", "Neuroimaging", "Brain evolution", "Primate", "Non-human primate", "Macaque"].map((s)=>s.toLowerCase());
if(circleSkill) {
filterSkills.push(circleSkill);
}
BW.init({
appSel: "#q-app",
networkSel: "#network",
circleName: "BrainWeb",
circleSkill,
filterSkills
});
</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>