-
Notifications
You must be signed in to change notification settings - Fork 0
/
people.html
365 lines (319 loc) · 17.9 KB
/
people.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
<html>
<head>
<title>GLAMOR Lab - People</title>
<link rel="icon" type="image/x-icon" href="./thumbnails/favicon.png">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous">
<link href='https://fonts.googleapis.com/css?family=Lato:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="./main.css">
<link href='https://fonts.googleapis.com/css?family=Nunito' rel='stylesheet'>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<script src="people/phd.js"></script>
<script src="people/ug_ms.js"></script>
<script src="people/alumni_ugms.js"></script>
<script src="people/alumni_visiting.js"></script>
<base href="/">
<!-- General CSS for this page -->
<style>
.card {
border: 0px;
display: flex;
align-items: start;
justify-content: start;
}
.card-body {
text-align: left;
padding: 0rem 1rem;
}
.card-title {
margin-bottom:0rem;
}
.tiny-thumbnail {
height: 24px;
}
@media screen and (max-width: 480px) {
#news > * {
padding: 0 0 0 0;
}
#news {
margin: 0 0 0 0.5em;
}
}
#banner {
height: 400px;
}
@media screen and (max-width: 480px) {
#banner {
height: 200px
}
}
</style>
<!-- Defines .bib block -->
<style>
.bib {
font-family: 'Roboto Mono', Roboto, 'Lucida Sans Typewriter', 'Lucida Typewriter', monospace;
font-size: 12px;
padding: 8px 8px 8px 8px;
border-style: ridge;
background-color: aliceblue;
}
</style>
<!-- Defines scripts -->
<script>
var world_scope_descs = ["", "World Scope 1 - Corpora and Representations", "World Scope 2 - The Written Word", "World Scope 3 - The World of Sights and Sounds", "World Scope 4 - Embodiment and Action", "World Scope 5 - The Social World"];
function onPageLoad() {
populateStudents();
}
function populateStudents() {
// PhD Students
// load from json
var full_names = phd_students.map(x => x.full_names);
var display_names = phd_students.map(x => x.display_names);
var websites = phd_students.map(x => x.websites);
var photos = phd_students.map(x => x.photos);
var roles = phd_students.map(x => x.roles);
var note = phd_students.map(x => x.note);
var ws_themes = phd_students.map(x => x.ws_themes);
var ws = phd_students.map(x => x.ws);
var idx = 0;
var order = [...Array(full_names.length).keys()].map(x => ++x);
order = order.sort((a, b) => 0.5 - Math.random());
for (idx=0; idx < full_names.length; idx++) {
jdx = order[idx] - 1;
var string_out = '';
string_out += '<div class="card mb-3" style="max-width: 1000px; min-height: 160px;"><div class="row g-0 col-12"><div class="col-md-4 my-0">';
var photo = (photos[jdx].length > 0) ? 'glamor_photos/' + photos[jdx] : 'thumbnails/ws1.png';
string_out += '<a href="' + websites[jdx] + '" target="_blank"><img src="' + photo + '" class="img-full rounded-start" title="' + full_names[jdx] + '"></a>';
string_out += '</div><div class="col-md-8"><div class="card-body">';
string_out += '<h5 class="card-title">' + display_names[jdx] + '</h5>';
string_out += '<p class="card-text">' + roles[jdx] + " " + note[jdx] + "<br/>";
var br_idx = 0;
//for (br_idx=0; br_idx < 2 - ws[jdx].length; br_idx++) {
// string_out += '<br/>';
//}
var ws_idx = 0;
string_out += '</p></div><p class="card-text" style="text-align:left;padding:0rem 1rem">'
for (ws_idx=0; ws_idx < ws[jdx].length; ws_idx++) {
string_out += '<a href="world_scopes.html#ws' + ws[jdx][ws_idx] + '" target="_blank"><img class="tiny-thumbnail" src="thumbnails/ws' + ws[jdx][ws_idx] + '.png" title="' + world_scope_descs[ws[jdx][ws_idx]] + '"></a> ' + ws_themes[jdx][ws_idx] + "  <br/>";
}
//for (br_idx=0; br_idx < 3 - ws[jdx].length; br_idx++) {
//string_out += '<br/>';
//}
string_out += '</p></div></div></div>';
// Load to left/right side based on parity, populating left side first in case of odd number
var side = (idx % 2 == 0) ? document.getElementById("phd_students_left") : document.getElementById("phd_students_right");
//var side = document.getElementById("phd_students_left")
side.innerHTML += string_out;
}
// Undergraduate Students
var full_names = ug_students.map(x => x.full_names);
var display_names = ug_students.map(x => x.display_names);
var year = ug_students.map(x => x.year);
var program = ug_students.map(x => x.program);
var ug_websites = ug_students.map(x => x.ug_websites);
var photos = ug_students.map(x => x.photos);
var ug_program = ug_students.map(x => x.ug_program);
var phd_mentor = ug_students.map(x => x.phd_mentor);
var idx = 0;
var order = [...Array(full_names.length).keys()].map(x => ++x);
order = order.sort((a, b) => 0.5 - Math.random());
for (idx=0; idx < full_names.length; idx++) {
jdx = order[idx] - 1;
var string_out = '';
string_out += '<div class="card mb-3" style="max-width: 1000px; min-height: 160px;"><div class="row g-0 col-12"><div class="col-md-4 my-0">';
var photo = (photos[jdx].length > 0) ? 'glamor_photos/' + photos[jdx] : 'thumbnails/ws1.png';
string_out += '<a href="' + ug_websites[jdx] + '" target="_blank"><img src="' + photo + '" class="img-full rounded-start" title="' + full_names[jdx] + '"></a>';
string_out += '</div><div class="col-md-8"><div class="card-body">';
string_out += '<h5 class="card-title">' + display_names[jdx] + '</h5>';
string_out += '<p class="card-text">' + year[jdx] + ", ";
string_out += program[jdx] + "<br/>";
if (phd_mentor[jdx].length > 0) {
string_out += 'PhD Mentor: ' + phd_mentor[jdx] + "</br>";
}
string_out += ug_program[jdx];
string_out += '</p></div></div></div>';
// Load to left/right side based on parity, populating left side first in case of odd number
var side = (idx % 2 == 0) ? document.getElementById("ug_students_left") : document.getElementById("ug_students_right");
//var side = document.getElementById("ug_students_left");
side.innerHTML += string_out;
}
// Alumni Undergraduates
var full_names = alumni_ugms.map(x => x.full_names);
var display_names = alumni_ugms.map(x => x.display_names);
var affiliation = alumni_ugms.map(x => x.affiliation);
var visit_period = alumni_ugms.map(x => x.visit_period);
var program = alumni_ugms.map(x => x.program);
var program_link = alumni_ugms.map(x => x.program_link);
var project_title = alumni_ugms.map(x => x.project_title);
var project_deliverable = alumni_ugms.map(x => x.project_deliverable);
var link_anchors = alumni_ugms.map(x => x.link_anchors);
var phd_mentor = alumni_ugms.map(x => x.phd_mentor);
var websites = alumni_ugms.map(x => x.websites);
var next = alumni_ugms.map(x => x.next);
var idx = 0;
var order = [...Array(full_names.length).keys()].map(x => ++x);
//order.reverse();
document.getElementById("alumni_ugms").innerHTML += '<ul>'
for (idx=0; idx < full_names.length; idx++) {
jdx = order[idx] - 1;
//string_out += '<a id="#' + link_anchors[jdx] + '"></a>';
//string_out += '<div class="card mb-3" style="max-width: 1000px; min-height: 160px;"><div class="row g-0 col-12"><div class="col-md-4 my-0">';
//var photo = (photos[jdx].length > 0) ? 'glamor_photos/' + photos[jdx] : 'thumbnails/ws1.png';
//string_out += '<a href="' + websites[jdx] + '" target="_blank"><img src="' + photo + '" class="img-full rounded-start" title="' + full_names[jdx] + '"></a>';
//string_out += '</div><div class="col-md-8"><div class="card-body">';
var string_out = '<li style="margin:0px;">';
if (websites[jdx].length > 0) {
string_out += '<b style="color:#990000;"><a href="' + websites[jdx] + '">' + display_names[jdx] + ':</a> </b>' ;
} else {
string_out += '<b style="color:#990000;">' + display_names[jdx] + ': </b>' ;
}
string_out += visit_period[jdx];
if (program_link[jdx].length > 0) {
string_out += ' via <a href="' + program_link[jdx] + '">' + program[jdx] + '</a>. ';
} else if (program[jdx].length > 0) {
string_out += ' via ' + program[jdx] + '. ';
}
else {
string_out += '. ';
}
//string_out += "PhD Mentor: " + phd_mentor[jdx] + ". ";
if (project_deliverable[jdx].length > 0) {
string_out += '<a href="' + project_deliverable[jdx] + '">Project</a>. ';
}
if (next[jdx].length > 0) {
string_out += 'Next: ' + next[jdx] + '. ';
}
string_out += '</li>';
document.getElementById("alumni_ugms").innerHTML += string_out;
}
document.getElementById("alumni_ugms").innerHTML += '</br></ul>'
// Alumni Visiting Students
var full_names = alumni_visiting.map(x => x.full_names);
var display_names = alumni_visiting.map(x => x.display_names);
var affiliation = alumni_visiting.map(x => x.affiliation);
var visit_period = alumni_visiting.map(x => x.visit_period);
var program = alumni_visiting.map(x => x.program);
var program_link = alumni_visiting.map(x => x.program_link);
var project_title = alumni_visiting.map(x => x.project_title);
var project_deliverable = alumni_visiting.map(x => x.project_deliverable);
var websites = alumni_visiting.map(x => x.websites);
var link_anchors = alumni_visiting.map(x => x.link_anchors);
var idx = 0;
var order = [...Array(full_names.length).keys()].map(x => ++x);
//order.reverse();
document.getElementById("alumni_visiting").innerHTML += '<ul>'
for (idx=0; idx < full_names.length; idx++) {
jdx = order[idx] - 1;
//string_out += '<a id="#' + link_anchors[jdx] + '"></a>';
//string_out += '<div class="card mb-3" style="max-width: 1000px; min-height: 160px;"><div class="row g-0 col-12"><div class="col-md-4 my-0">';
//var photo = (photos[jdx].length > 0) ? 'glamor_photos/' + photos[jdx] : 'thumbnails/ws1.png';
//string_out += '<a href="' + websites[jdx] + '" target="_blank"><img src="' + photo + '" class="img-full rounded-start" title="' + full_names[jdx] + '"></a>';
//string_out += '</div><div class="col-md-8"><div class="card-body">';
var string_out = '<li style="margin:0px;">';
if (websites[jdx].length > 0) {
string_out += '<b style="color:#990000;"><a href="' + websites[jdx] + '">' + display_names[jdx] + ':</a> </b>' ;
} else {
string_out += '<b style="color:#990000;">' + display_names[jdx] + ': </b>' ;
}
string_out += "Visited from " + affiliation[jdx] + " during " + visit_period[jdx];
if (program_link[jdx].length > 0) {
string_out += ' via <a href="' + program_link[jdx] + '">' + program[jdx] + '</a>. ';
} else if (program[jdx].length > 0) {
string_out += ' via ' + program[jdx] + '. ';
}
else {
string_out += '. ';
}
//if (project_title[jdx].length > 0) {
// string_out += 'Project: <a href="' + project_deliverable[jdx] + '">' + project_title[jdx] + '</a>';
//}
if (project_deliverable[jdx].length > 0) {
string_out += '<a href="' + project_deliverable[jdx] + '">Project</a>';
}
string_out += '</li>';
document.getElementById("alumni_visiting").innerHTML += string_out;
}
document.getElementById("alumni_visiting").innerHTML += '</ul>'
}
</script>
</head>
<body onload="onPageLoad()">
<nav class="navbar navbar-expand-lg navbar-light" style="background-color: #990000;">
<div class="container-fluid">
<a class="navbar-brand" href="#">
<img class="glamor-thumbnail" src="thumbnails/glamor-logo-big.svg" title="GLAMOR lab logo">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ms-auto mb-lg-0" >
<li class="nav-item"><a id="nav-link-custom" class="nav-link" href="people.html">People</a></li>
<li class="nav-item"><a id="nav-link-custom" class="nav-link" href="publications.html">Publications</a></li>
<li class="nav-item"><a id="nav-link-custom" class="nav-link" href="sponsors.html">Sponsors</a></li>
<li class="nav-item"><a id="nav-link-custom" class="nav-link" href="opportunities.html">Opportunities</a></li>
<li class="nav-item"><a id="nav-link-custom" class="nav-link" href="fun.html">Fun!</a></li>
</ul>
</div>
</div>
</nav>
<div id="container">
<br/>
<div class="row">
<h3 style="color:#990000;text-align:left">People</span></h3>
<br/>
</div>
<!--
<div class="row">
<a id="news"></a>
<div class="row">
<div class="col-md-12">
<table class="table-sm"><tr><td colspan="4"><h4>News</h4></td></tr>
<tr><td class="col-md-3"><b>Opportunity!</b><br/> REU</td><td class="col-md-5">Glass is to Break as Rubber is to Bend: Analogies for Natural Language Processing</td><td class="col-md-2"><a class="btn btn-light" style="padding:5px;" href="#analogies_urap">details</a></td><td class="col-md-2">Fall 2022-Spring 2023</td></tr>
<tr><td class="col-md-3"><b>Robotics Ed Week</b><br/> Viterbi K-12 STEM Center</td><td class="col-md-5">Talking to Robots: Challenges for Communicating with Robots in Text</td><td class="col-md-2"><a class="btn btn-light" style="padding:5px;" href="https://viterbik12.usc.edu/robotics-ed-week/">website</a></td><td class="col-md-2">April 8, 2022</td></tr>
</table>
</div>
</div>
</div>
-->
<br/>
<div class="row">
<div class="row col-md-12">
<a id="group"></a>
<div class="col-md-6">
<div class="card mb-3" style="max-width: 1000px; min-height: 160px;">
<div class="row g-0 col-12">
<div class="col-md-4 my-0">
<a href="https://jessethomason.com/" target="_blank"><img src="glamor_photos/jesse.jpeg" class="img-full rounded-start" title="Jesse Thomason"></a>
</div>
<div class="col-md-8">
<div class="card-body mt-0">
<h5 class="card-title">Prof. Jesse Thomason</h5>
<p class="card-text">Principal Investigator<br/><br/><br/><br/></p>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-3"></div>
<div class="col-md-12">
<h4 style="text-align:left;color:#990000;margin-bottom:20px">PhD Students</h4>
</div>
<div class="col-md-6" id="phd_students_left"></div>
<div class="col-md-6" id="phd_students_right"></div>
<div class="col-md-12">
<h4 style="text-align:left;color:#990000;margin-bottom:20px">Undergraduate and Masters Students</h4>
</div>
<div class="col-md-6" id="ug_students_left"></div>
<div class="col-md-6" id="ug_students_right"></div>
</div>
<div class="col-md-12">
<h4 style="text-align:left;color:#990000;margin-bottom:20px">Alumni</h4>
<h5 style="text-align:left;color:#990000;margin-bottom:20px">Undergraduates and Masters Students</h4>
<div style="text-align:left;" id="alumni_ugms"></div>
<h5 style="text-align:left;color:#990000;margin-bottom:20px">Visiting Students</h4>
<div style="text-align:left;" id="alumni_visiting"></div>
</div>
</div>
</div>
</body>
</html>