Skip to content

Commit

Permalink
user photos (old)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbredif committed Sep 25, 2024
1 parent 98c3807 commit 36684a4
Show file tree
Hide file tree
Showing 57 changed files with 27 additions and 26 deletions.
33 changes: 17 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>Vis Network | Basic usage</title>
<title>UMR LASTIG teams</title>

<script type="text/javascript" src="js/vis-network.min.js"></script>
<link rel="stylesheet" href="css/rSlider.min.css">
Expand All @@ -27,20 +27,20 @@
</head>
<body>
<div id="filter">
<label>Double-click on teams or people to check their websites. Filters: </label>
<input type="checkbox" name="checkFilter" id="team" checked=""><label>Teams</label>
<input type="checkbox" name="checkFilter" id="perm" checked=""><label>Permanent</label>
<input type="checkbox" name="checkFilter" id="temp" checked=""><label>Temporary</label>
<input type="checkbox" name="checkFilter" id="member"><label>Member-only</label>
<input type="checkbox" name="checkFilter" id="team" checked=""><label>Teams</label><br/>
<input type="checkbox" name="checkFilter" id="perm" checked=""><label>Permanent staff</label><br/>
<input type="checkbox" name="checkFilter" id="temp" checked=""><label>Temporary staff</label><br/>
<input type="checkbox" name="checkFilter" id="member"><label>Current staff only</label><br/>
<label>Double-click on teams or people to check their websites.</label><br/>
<input type="text" id="dateSlider" />
</div>

<div id="mynetwork"></div>

<script type="text/javascript">
const root = 'https://www.umr-lastig.fr';
const default_img = '/lastig_data/img/abstract-user-icon.svg';
const YYYY = (new Date()).getFullYear();
const today = new Date();
const YYYY = today.getFullYear();
const removeAccents = str => str.normalize('NFD').replace(/[\u0300-\u036f]/g, '');

function init(people) {
Expand All @@ -59,22 +59,23 @@
const cols = line.trim().split(',').map(s => s.startsWith('"') ? s.substr(1,s.length-2) : s);
if(cols.length < 3 || cols[0]=='firstname') continue;
const firstname = cols[0];
// const alt_firstname = cols[1];
const lastname = cols[2];
const team = cols[3];
const statut = cols[5];
const status = cols[6];
const href = (cols[6]===undefined || cols[6].startsWith('http'))? cols[6] : (root+cols[6]);
// const statut = cols[4];
// const status = cols[5];
const href = (cols[6]===undefined) ? undefined : ((cols[6].startsWith('http'))? cols[6] : (root+cols[6]));
const HAL = cols[7];
const start_date = cols[8]!='' ? new Date(cols[8]) : undefined;
const end_date = cols[9]!='' ? new Date(cols[9]) : undefined;
const member = cols[10] == 'true';
cols[10] = cols[10] || default_img;
// const member = cols[10] == 'true';
const member = !(today < start_date || end_date < today); // handles undefined dates as +- infinity
// const photo = cols[11];
const perm = cols[12] == 'true';
const label = firstname+'\n'+lastname;
const id = (HAL || removeAccents(firstname+'-'+lastname).replace(' ','-')).toLowerCase();
const photo = "user/"+id+".jpg";
const node = { id: id, label:label, group:'people', image: photo, opacity:member?1:0.2, href:href, perm: perm, member: member, start: start_date, end: end_date};
console.log(node);
const image = "user/"+id+".jpg";
const node = { id: id, label:label, group:'people', image: image, opacity:member?1:0.3, href: href, perm: perm, member: member, start: start_date, end: end_date};
nodes.add(node);
edges.add({ from: id, to: team});
}
Expand Down
20 changes: 10 additions & 10 deletions people.csv
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"Sidonie",,"Christophe","GEOVIS","DR2 MTE","Senior researcher","/sidonie-christophe","sidonie-christophe",2006-09-01,,"true","/sidonie-christophe/img/sido.png","true"
"Emmanuel",,"Clédat","ACTE","Enseignant Chercheur","Lecturer","/Emmanuel-Cledat",,"2020-09",,"true",,"true"
"Maxime",,"Colomb","STRUDEL","Doctorant","PhD student","http://maxime-colomb.eu/","maxime-colomb",2015-10-01,2019-09-27,"false","/lastig_data/img/colomb.jpg","false"
"Benoît",,"Costes","STRUDEL","Chercheur","Researcher","http://recherche.ign.fr/labos/cogit/cv.php?nom=Costes",,2010-10-01,2019-07-14,"false","/lastig_data/img/costes.jpg","true"
"Benoît",,"Costes","STRUDEL","Chercheur","Researcher",,,2010-10-01,2019-07-14,"false","/lastig_data/img/costes.jpg","true"
"Azelle",,"Courtial","MEIG","Post-doc","Post-doc","/azelle-courtial","azelle-courtial",2019-10-01,,"true","/azelle-courtial/img/AzelleCourtialCarr%C3%A9e.jpg","false"
"Daniela",,"Craciun","STRUDEL","Post-doc","Post-doc","/daniela-craciun","daniela-craciun",2020-11-23,2022-10-09,"false",,"false"
"Martin",,"Cubaud","STRUDEL","Doctorant","PhD student","/martin-cubaud",,2022-09-15,,"true","/martin-cubaud/img/m2.png","true"
Expand All @@ -43,15 +43,15 @@
"Chuanming",,"Dong","MEIG","Doctorant","PhD student","/chuanming-dong","chuanming-dong",2019-07-01,2023-11-07,"false",,"false"
"Cécile",,"Duchêne","MEIG","Enseignant Chercheur","Lecturer","/cecile-duchene","cecile-duchene",1997,,"true","/cecile-duchene/img/cduchene3.png","true"
"Bertrand",,"Duménieu","STRUDEL","Chercheur associé","Associated researcher","http://crh.ehess.fr/index.php?5206",,,,"true",,"false"
"Oussama",,"Ennafii","STRUDEL","Doctorant","PhD student","/oennafii_homepage","Oussama-ennafii",2016-09-01,2020-09-01,"false","/oennafii_homepage/img/ennafii.jpg","false"
"Oussama",,"Ennafii","STRUDEL","Doctorant","PhD student","/oennafii_homepage","oussama-ennafii",2016-09-01,2020-09-01,"false","/oennafii_homepage/img/ennafii.jpg","false"
"Imane",,"Fikri","ACTE","Doctorant","PhD student",,,"2018-10",2020-10-01,"false",,"false"
"Pierre-Louis",,"Frison","ACTE","MCF HDR","Assistant Professor","/plf_homepage",,,,"true","/lastig_data/img/frison.jpg","true"
"Bénédicte",,"Fruneau","ACTE","MCF HDR","Assistant Professor","/benedicte-fruneau","benedicte-fruneau",,,"true",,"true"
"Sylvain",,"Galopin","ACTE","Doctorant","PhD student",,,,,"true",,"false"
"Anatol",,"Garioud","STRUDEL","Doctorant","PhD student","/anatol-garioud","anatol-garioud",2018-10-01,2022-05-20,"false","/lastig_data/img/garioud.png","false"
"Jacques",,"Gautier","GEOVIS","Enseignant-Chercheur","Lecturer","/jacques-gautier","jacques-gautier",2019-09-15,,"true","/jacques-gautier/img/gautier.png","true"
"Florent",,"Geniet","ACTE","Doctorant","PhD student","/florent-geniet","florent-geniet",2021-09-01,,"true","/florent-geniet/img/geniet.jpg","true"
"Sébastien",,"Giordano","STRUDEL","Chargé de Recherches","Researcher","/sebastien-giordano","sebastien-giordano",2016-09-01,2020-06-30,"false","/lastig_data/img/giordano.jpg","true"
"Sébastien",,"Giordano","STRUDEL","Chargé de Recherches","Researcher","/sebastien-giordano","sebastien-giordano",2016-09-01,2020-06-30,"false","/lastig_data/img/giordano.jfpaypg","true"
"Dimitri",,"Gominski","ACTE","Doctorant","PhD student",,,2018-01-22,2021-11-09,"false",,"false"
"Nicolas",,"Gonthier","STRUDEL","Chercheur","Researcher","https://ngonthier.github.io/","gonthier.nicolas",2022-09-01,,"true","https://ngonthier.github.io/images/avatar.jpg","true"
"Valérie",,"Gouet-Brunet","ACTE","DR1 MTE","Senior Researcher","/vgouet","valerie-gouet-brunet",2012-10-01,,"true","/vgouet/img/photo_valerie.jpg","true"
Expand All @@ -70,7 +70,7 @@
"Colin",,"Kerouanton","STRUDEL","Doctorant","PhD student","https://www.researchgate.net/profile/Colin_Kerouanton","colin-kerouanton",2015-10-01,2020-01-31,"false","https://i1.rgstatic.net/ii/profile.image/380038672338945-1467619688968_Q512/Colin_Kerouanton.jpg","false"
"Guillaume",,"Koehl","STRUDEL","Ingénieur","Engineer","/guillaume-koehl",,2022-07-04,,"true",,"true"
"Loic",,"Landrieu","STRUDEL","CR IGN","Researcher","https://loiclandrieu.com/","loic-landrieu",2015-10-01,2023-03-30,"false","/lastig_data/img/landrieu.jpg","true"
"Yann",,"Le Borgne","ACTE","Technicien d'études","Technician","http://loemi.recherche.ign.fr/cv.php?prenom=Yann&nom=Le",,,2020-01-01,"false",,"true"
"Yann",,"Le Borgne","ACTE","Technicien d'études","Technician",,,,2020-01-01,"false",,"true"
"Arnaud",,"Le Bris","STRUDEL","Enseignant-Chercheur","Lecturer","/arnaud-le-bris","arnaud-le-bris",2005-10-01,,"true","/lastig_data/img/le_bris.jpg","true"
"Arnaud",,"Le Guilcher","MEIG","CR - Responsable de l'équipe MEIG","Researcher - head of MEIG team","/aleguilcher_homepage","arnaud-le-guilcher",2013-10-01,,"true","/aleguilcher_homepage/img/aleguilcher.png","true"
"Manchun",,"Lei","ACTE","CR MTE","Researcher","/manchun-lei","manchun-lei",2016-11-01,,"true","/manchun-lei/img/lei.jpg","true"
Expand All @@ -83,10 +83,10 @@
"Ibrahim",,"Maidaneh Abdi","MEIG","Doctorant","PhD student",,,2019-10-01,2022-12-01,"false",,"false"
"Clément",,"Mallet","STRUDEL","DR IGN","Senior researcher","/clement-mallet","clement-mallet",2005-10-01,,"true","/clement-mallet/img/mallet.jpg","true"
"Yanis",,"Marchand","ACTE","Doctorant","PhD student","/yanis-marchand",,2019-10-01,2022-11-28,"false","/yanis-marchand/img/yanis.png","false"
"Olivier",,"Martin","ACTE","Ingénieur de Recherches","Research engineer","http://loemi.recherche.ign.fr/cv.php?prenom=Olivier&nom=MARTIN",,,,"true",,"true"
"Olivier",,"Martin","ACTE","Ingénieur de Recherches","Research engineer",,,,,"true",,"true"
"Yann",,"Méneroux","MEIG","CR IGN","Researcher",,,2013-10-01,2023-05-01,"false",,"true"
"Samuel",,"Mermet","STRUDEL","Ingénieur","engineer","/samuel-mermet","samuel-mermet",2021-09-01,2023-12-31,"false","/samuel-mermet/img/smermet.jpg","true"
"Christophe",,"Meynard","ACTE","Ingénieur de Recherches","Research engineer","http://loemi.recherche.ign.fr/cv.php?prenom=Christophe&nom=MEYNARD","christophe-meynard",,,"true",,"true"
"Christophe",,"Meynard","ACTE","Ingénieur de Recherches","Research engineer",,"christophe-meynard",,,"true",,"true"
"Alexandre",,"Mielniczek","GEOVIS","Doctorant","PhD student","/alexandre-mielniczek","alexandre-mielniczek",2022-12-01,,"true","/alexandre-mielniczek/img/amielniczek.png","false"
"Jean-Michaël",,"Muller","ACTE","Ingénieur de Recherches","Research engineer","/jmmuller_lastig_homepage",,2012,,"true",,"true"
"Sébastien",,"Mustière","MEIG","Enseignant Chercheur","Lecturer",,,1998,2023-04-30,"false",,"true"
Expand All @@ -95,7 +95,7 @@
"Alexane",,"Nghien","GEOVIS","Doctorante","PhD student","/alexane-nghien","alexane-nghien",2023-11-07,,"true","/geovis/faces/alexane-nghien.jpg","true"
"Ana-Maria",,"Olteanu-Raimond","MEIG","DR MTE","Senior researcher","/Ana-Maria-Raimond-homepage","ana-maria-olteanu-raimond",2013-01-01,,"true","/Ana-Maria-Raimond-homepage/img/raimond.png","true"
"Evelyn",,"Paiz-Reyes","GEOVIS","Doctorante","PhD student","/evelyn-paiz","evelyn-paiz",2018-10-01,2021-12-08,"false","/geovis/faces/paiz-reyes.jpg","false"
"Jean-Pierre",,"Papelard","ACTE","Ingénieur de Recherches","Research engineer","http://recherche.ign.fr/labos/matis/cv.php?nom=Papelard&prenom=Jean-Pierre",,,,"true",,"true"
"Jean-Pierre",,"Papelard","ACTE","Ingénieur de Recherches","Research engineer",,,,,"true",,"true"
"Julien",,"Perret","STRUDEL","DR MTE - Responsable de l'équipe STRUDEL","Senior researcher - head of STRUDEL team","/julien-perret","julienperret",2007-10-01,,"true","/julien-perret/img/julien.jpg","true"
"Nathan",,"Piasco","ACTE","Doctorant","PhD student","/np_homepage","nathan-piasco",2016-10-01,2020-01-01,"false","/np_homepage/img/piasco.jpg","false"
"Marc",,"Pierrot-Deseilligny","ACTE","DR0 MTE","Senior researcher","https://micmac.ensg.eu/index.php/Marc_Pierrot-Deseilligny","marc-pierrot-deseilligny",,,"true","/lastig_data/img/marc.jpg","true"
Expand All @@ -113,7 +113,7 @@
"Vivien",,"Sainte-Fare-Garnot","STRUDEL","Doctorant","PhD student","/vivien-sainte-fare-garnot","vivien-sainte-fare-garnot",2018-10-01,2022-01-07,"false","/vivien-sainte-fare-garnot/img/profpic.jpeg","false"
"Imane",,"Salhi","ACTE","Doctorant","PhD student",,,2017,2020,"false",,"false"
"Ali",,"Seba","ACTE","Post-doc","Post-doc",,,2017,2019-06-01,"false",,"false"
"Jean-Philippe",,"Souchon","ACTE","Ingénieur de Recherches","Research engineer","http://loemi.recherche.ign.fr/cv.php?prenom=Jean-Philippe&nom=SOUCHON",,,,"true",,"true"
"Jean-Philippe",,"Souchon","ACTE","Ingénieur de Recherches","Research engineer",,,,,"true",,"true"
"Christian",,"Staron","ACTE","Ingénieur","Engineer","/PageWebStaron",,2023-11-01,2024-09-15,"false","/PageWebStaron/img/ChristianStaron.jpeg","false"
"Raphael",,"Sulzer","ACTE","Doctorant","PhD student","https://raphaelsulzer.de/","raphael-sulzer",2018,2022-10-17,"false","https://raphaelsulzer.de/assets/img/me.png","false"
"Hermann",,"Tagné","STRUDEL","Doctorant","PhD student",,"hermann-tagne",2018,2023-09-29,"false",,"false"
Expand All @@ -124,11 +124,11 @@
"Solenn",,"Tual","STRUDEL","Doctorante","PhD student","/solenn-tual","solenn-tual",2022-10-24,,"true",,"false"
"Bruno",,"Vallet","ACTE","CR IGN - Responsable de l'équipe ACTE","Senior researcher - head of ACTE team","/bruno-vallet","bruno-vallet",2008-09-01,,"true","/bruno-vallet/img/vallet.png","true"
"Marie-Dominique",,"Van Damme","MEIG","Chargée d'études et de recherche","Research engineer","/mdvandamme","marie-dominique-vandamme","2012-05",,"true","/mdvandamme/img/mdvandamme.jpg","true"
"Charles",,"Villard","ACTE","Doctorant","PhD student","/charles-villard",,2020-11-20,,"false",,"false"
"Charles",,"Villard","ACTE","Doctorant","PhD student","/charles-villard",,2020-11-20,2024-07,"false",,"false"
"Laura",,"Wenclik","GEOVIS","Ingénieure","Engineer","/laura-wenclik","laura-wenclik",2022-09-01,,"true","/laura-wenclik/img/laura_wenclik.JPEG","true"
"Laura",,"Willot","ACTE","Doctorante","PhD student",,,,,"true",,"false"
"Teng",,"Wu","ACTE","Chercheur","Researcher","https://whuwuteng.github.io",,2023-11-11,,"true","https://whuwuteng.github.io/images/tengwu.png","true"
"Chahine-Nicolas",,"Zede","ACTE","Doctorant","PhD student","/Chahine-Nicolas-Zede","zzzchahine-nicolas-zede",2023-01-03,2026-01-02,"true",,"false"
"Chahine-Nicolas",,"Zede","ACTE","Doctorant","PhD student","/Chahine-Nicolas-Zede",,2023-01-03,2026-01-02,"true",,"false"
"Lulin",,"Zhang","ACTE","Post-doc","Post-doc","/Lulin-Zhang",,,,"false",,"false"
"Yilin",,"Zhou","ACTE","Doctorante","PhD student",,,,2020-01-01,"false",,"false"
"Mehdi","Mathieu","Zrhal","MEIG","Doctorant","PhD student","/Mehdi-Zrhal",,2019-09-01,2023-01-31,"false","/Mehdi-Zrhal/img/Zrhal.jpg","false"
Expand Down
Binary file added user/alexandre-mielniczek.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added user/alexandredevaux.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added user/anatol-garioud.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added user/arnaud-le-bris.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added user/azelle-courtial.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added user/benoit-costes.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added user/catherine-domingues.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added user/cecile-duchene.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added user/charly-bernard.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added user/christian-staron.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added user/christian-thom.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added user/chuanming-dong.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added user/clement-mallet.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added user/colin-kerouanton.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added user/damien-robert-ai.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added user/evelyn-paiz.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added user/florence-jacquinod.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added user/gerald-choqueux.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added user/ggrzeczkowicz.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added user/guillaume-touya.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added user/helen-mair-rawsthorne.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added user/julienperret.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added user/justin-berli.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added user/laura-wenclik.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added user/laurence-jolivet.jpg
Binary file added user/laurent-caraffa.jpg
Binary file added user/loic-landrieu.jpg
Binary file added user/maieul-gruget.jpg
Binary file added user/marc-pierrot-deseilligny.jpg
Binary file added user/maria-jesus-lobo.jpg
Binary file added user/martyna-poreba.jpg
Binary file added user/mehdi-zrhal.jpg
Binary file added user/melvin-hersent.jpg
Binary file added user/mickael-brasebin.jpg
Binary file added user/nathan-piasco.jpg
Binary file added user/oussama-ennafii.jpg
Binary file added user/pierre-biasutti.jpg
Binary file added user/pierre-louis-frison.jpg
Binary file added user/qasem-safariallahkheili.jpg
Binary file added user/quentin-potie.jpg
Binary file added user/raphael-sulzer.jpg
Binary file added user/remi-cura.jpg
Binary file added user/romain-loiseau.jpg
Binary file added user/samuel-mermet.jpg
Binary file added user/sebastien-biniek.jpg
Binary file added user/sebastien-giordano.jpg
Binary file added user/sidonie-christophe.jpg
Binary file added user/stephane-guinard.jpg
Binary file added user/tristan-postadjian.jpg
Binary file added user/vivien-sainte-fare-garnot.jpg
Binary file added user/yanis-marchand.jpg
Binary file added user/yiyan-li.jpg
Binary file added user/yizi-chen.jpg
Binary file added user/yuhao-jiang.jpg

0 comments on commit 36684a4

Please sign in to comment.