Difference between revisions of "Results"

 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- Declare that you are going to use html code instead of wiki code -->
 
 
{{2015Top}}
 
{{2015Top}}
 
<html>
 
<html>
 
<style> #igemLogo, #pageTitle, #grayLine_Clear { display: none;}  
 
<style> #igemLogo, #pageTitle, #grayLine_Clear { display: none;}  
  
#image_leftColumn_MainPage  
+
#image_leftColumn_MainPage  
{
+
{
margin-left: -15px;
+
margin-left: -15px;
margin-top: -5px;
+
margin-top: -5px;
}
+
}
  
  
#rightColumn_MainPage {
+
#rightColumn_MainPage {
background-color: #f2f2f2;  
+
background-color: #f2f2f2;  
width: 180px;
+
width: 180px;
float: left;
+
float: left;
height:3200px;
+
height:3200px;
padding-top:5px;
+
padding-top:5px;
}
+
}
  
  
  
 
/*Class for creating a block 1/4 of the size of the left_Column in the Main page, */
 
/*Class for creating a block 1/4 of the size of the left_Column in the Main page, */
.small_block_leftColumn_MainPage{
+
.small_block_leftColumn_MainPage{
    margin-bottom: 5px;
+
margin-bottom: 5px;
    float: left;
+
float: left;
    width:180px;
+
width:180px;
    margin-right:10px;  
+
margin-right:10px;  
    margin-left:5px;
+
margin-left:5px;
    background-color: #fff;
+
background-color: #fff;
}
+
}
 +
</style>
  
 +
<script src='https://igem.org/common/DataTables-1.10.7/media/js/jquery.dataTables.js'></script>
 +
<link rel='stylesheet' type='text/css' href='https://igem.org/common/DataTables-1.10.7/media/css/jquery.dataTables.css'>
  
 +
<style type="text/css">
 +
#table_team td.team-info-control {
 +
background: url('https://igem.org/common/DataTables-1.10.7/examples/resources/details_open.png') no-repeat center center;
 +
cursor: pointer;
 +
}
 +
#table_team tr.shown td.team-info-control {
 +
background: url('https://igem.org/common/DataTables-1.10.7/examples/resources/details_close.png') no-repeat center center;
 +
}
 +
#table_team th, #table_team td {
 +
font-size: larger;
 +
padding: 7px;
 +
}
 +
td.team-name-column {
 +
text-align: right;
 +
}
 +
td.medal-column {
 +
text-align: center;
 +
}
 +
td.award-column {
 +
text-align: left;
 +
}
 +
#table_team tbody img {
 +
padding: 0px;
 +
}
 +
</style>
  
 +
<script>
 +
var t;
 +
var currentYear = 2015;
 +
var resultsAreOpen = true;
  
</style>
+
var manualDataSet = [
 +
{"id": 1585, "team_name": "Aachen", "region": "Europe", "section": "Overgrad", "medal": "Gold", "awards": ["Best Manufacturing Project, Overgrad", "Nominated for Best Software Tool, Overgrad"]},
 +
{"id": 1655, "team_name": "Aalto-Helsinki", "region": "Europe", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1751, "team_name": "AHUT_China", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1601, "team_name": "Aix-Marseille", "region": "Europe", "section": "Overgrad", "medal": "Bronze"},
 +
{"id": 1719, "team_name": "Amoy", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1844, "team_name": "Amsterdam", "region": "Europe", "section": "Overgrad", "medal": "Gold"},
 +
{"id": 1750, "team_name": "ANU-Canberra", "region": "Asia", "section": "Undergrad", "medal": "Bronze"},
 +
{"id": 1639, "team_name": "ATOMS-Turkiye", "region": "Europe", "section": "Undergrad", "medal": "Silver", "awards": ["Nominated for Best New Composite Part, Undergrad"]},
 +
{"id": 1806, "team_name": "AUC_TURKEY", "region": "Europe", "section": "High School", "medal": "Gold", "awards": ["Nominated for Best New Composite Part, High School"]},
 +
{"id": 1627, "team_name": "Austin_UTexas", "region": "North America", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1677, "team_name": "BABS_UNSW_Australia", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1617, "team_name": "Berlin", "region": "Europe", "section": "Overgrad", "medal": "Silver"},
 +
{"id": 1699, "team_name": "BGU_Israel", "region": "Asia", "section": "Overgrad", "medal": "Gold", "awards": ["Finalist, Overgrad", "First Runner Up, Overgrad", "Best Health and Medicine Project, Overgrad", "Best New Basic Part, Overgrad", "Nominated for Best Part Collection, Overgrad"]},
 +
{"id": 1758, "team_name": "Bielefeld-CeBiTec", "region": "Europe", "section": "Overgrad", "medal": "Gold", "awards": ["Best Environment Project, Overgrad", "Nominated for Best Model, Overgrad", "Nominated for Best Applied Design, Overgrad", "Security Commendation", "Best Integrated Human Practices, Overgrad", "Nominated for Best Wiki, Overgrad", "Best Presentation, Overgrad", "Nominated for Best New Basic Part, Overgrad", "Best New Composite Part, Overgrad"]},
 +
{"id": 1684, "team_name": "BIOSINT_Mexico", "region": "Latin America", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1846, "team_name": "Birkbeck", "region": "Europe", "section": "Overgrad", "medal": "Bronze"},
 +
{"id": 1651, "team_name": "BIT", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1675, "team_name": "BIT-China", "region": "Asia", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best New Appliation Project, Undergrad"]},
 +
{"id": 1660, "team_name": "BNU-CHINA", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1686, "team_name": "Bordeaux", "region": "Europe", "section": "Overgrad", "medal": "Gold"},
 +
{"id": 1733, "team_name": "BostonU", "region": "North America", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Foundational Advance Project"]},
 +
{"id": 1819, "team_name": "Brasil-USP", "region": "Latin America", "section": "Overgrad", "medal": "Gold"},
 +
{"id": 1813, "team_name": "British_Columbia", "region": "North America", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Environment Project, Undergrad", "Nominated for Best Poster, Undergrad"]},
 +
{"id": 1871, "team_name": "BroadRun-NorthernVA", "region": "North America", "section": "High School", "medal": "Silver", "awards": ["Nominated for Best Wiki, High School", "Best Poster, High School", "Best Presentation, High School", "Nominated for Best High School Project"]},
 +
{"id": 1854, "team_name": "Cairo_Egypt", "region": "Africa", "section": "Undergrad", "medal": "Bronze"},
 +
{"id": 1703, "team_name": "Cambridge-JIC", "region": "Europe", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Hardware Project", "Nominated for Best Software Tool, Undergrad", "Nominated for Best Applied Design, Undergrad", "Nominated for Best Poster, Undergrad"]},
 +
{"id": 1732, "team_name": "Carnegie_Mellon", "region": "North America", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1657, "team_name": "CAU_China", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1762, "team_name": "CCA_SanDiego", "region": "North America", "section": "High School", "medal": "No Medal"},
 +
{"id": 1821, "team_name": "Central_Calgary", "region": "North America", "section": "High School", "medal": "Bronze"},
 +
{"id": 1728, "team_name": "CGU_Taiwan", "region": "Asia", "section": "Overgrad", "medal": "Silver"},
 +
{"id": 1603, "team_name": "Chalmers-Gothenburg", "region": "Europe", "section": "Overgrad", "medal": "Silver"},
 +
{"id": 1779, "team_name": "CHINA_CD_UESTC", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1634, "team_name": "China_Tongji", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1695, "team_name": "CityU_HK", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1664, "team_name": "Colegio_EmelinaU", "region": "Latin America", "section": "High School", "medal": "Bronze"},
 +
{"id": 1848, "team_name": "Columbia_NYC", "region": "North America", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1830, "team_name": "Concordia", "region": "North America", "section": "Overgrad", "medal": "Bronze"},
 +
{"id": 1834, "team_name": "Consort_Alberta", "region": "North America", "section": "High School", "medal": "Gold", "awards": ["Nominated for Best Integrated Human Practices, High School", "Nominated for Best High School Project"]},
 +
{"id": 1746, "team_name": "Cooper_Union", "region": "North America", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1698, "team_name": "Cork_Ireland", "region": "Europe", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Integrated Human Practices, Undergrad"]},
 +
{"id": 1595, "team_name": "Cornell", "region": "North America", "section": "Undergrad", "medal": "Gold", "awards": ["Best Environment Project, Undergrad", "Best Applied Design, Undergrad", "Best Supporting Entrepreneurship, Undergrad"]},
 +
{"id": 1702, "team_name": "CSU_Fort_Collins", "region": "North America", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1718, "team_name": "CU_Boulder", "region": "North America", "section": "Overgrad", "medal": "Silver"},
 +
{"id": 1690, "team_name": "Czech_Republic", "region": "Europe", "section": "Undergrad", "medal": "Gold", "awards": ["Finalist, Undergrad", "First Runner Up, Undergrad", "Best Health and Medicine Project, Undergrad", "Best Software Tool, Undergrad", "Best Model, Undergrad", "Nominated for Best Applied Design, Undergrad", "Nominated for Best Wiki, Undergrad", "Nominated for Best Presentation, Undergrad"]},
 +
{"id": 1872, "team_name": "Dalhousie_Halifax_NS", "region": "North America", "section": "Overgrad", "medal": "No Medal"},
 +
{"id": 1790, "team_name": "Danzi_Kesh_8", "region": "Asia", "section": "High School", "medal": "Silver"},
 +
{"id": 1716, "team_name": "DTU-Denmark", "region": "Europe", "section": "Overgrad", "medal": "Gold", "awards": ["Nominated for Best Education and Public Engagement, Overgrad"]},
 +
{"id": 1835, "team_name": "Duke", "region": "North America", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1590, "team_name": "Dundee", "region": "Europe", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1615, "team_name": "Edinburgh", "region": "Europe", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Health and Medicine Project, Undergrad", "Best Integrated Human Practices, Undergrad"]},
 +
{"id": 1584, "team_name": "Elan_Vital_Korea", "region": "Asia", "section": "High School", "medal": "Bronze"},
 +
{"id": 1723, "team_name": "EPF_Lausanne", "region": "Europe", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1847, "team_name": "ETH_Zurich", "region": "Europe", "section": "Overgrad", "medal": "Gold", "awards": ["Nominated for Best Health and Medicine Project, Overgrad", "Best Model, Overgrad", "Nominated for Best Wiki, Overgrad", "Nominated for Best Poster, Overgrad", "Nominated for Best New Basic Part, Overgrad", "Best Part Collection, Overgrad"]},
 +
{"id": 1611, "team_name": "Evry", "region": "Europe", "section": "Overgrad", "medal": "Silver"},
 +
{"id": 1586, "team_name": "Exeter", "region": "Europe", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1864, "team_name": "FAFU-CHINA", "region": "Asia", "section": "Undergrad", "medal": "Bronze"},
 +
{"id": 1861, "team_name": "FAU_Erlangen", "region": "Europe", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1621, "team_name": "Freiburg", "region": "Europe", "section": "Overgrad", "medal": "Gold", "awards": ["Nominated for Best Health and Medicine Project, Overgrad", "Nominated for Best Innovation in Medicine, Overgrad", "Nominated for Best Wiki, Overgrad", "Nominated for Best Presentation, Overgrad"]},
 +
{"id": 1777, "team_name": "Fudan", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1749, "team_name": "Gaston_Day_School", "region": "North America", "section": "Undergrad", "medal": "Bronze"},
 +
{"id": 1870, "team_name": "GenetiX_Tec_CCM", "region": "Latin America", "section": "High School", "medal": "Bronze"},
 +
{"id": 1799, "team_name": "Genspace", "region": "North America", "section": "Overgrad", "medal": "Gold", "awards": ["Best Community Labs Project"]},
 +
{"id": 1743, "team_name": "GeorgiaTech", "region": "North America", "section": "Undergrad", "medal": "Bronze"},
 +
{"id": 1800, "team_name": "Georgia_State", "region": "North America", "section": "Overgrad", "medal": "Silver"},
 +
{"id": 1859, "team_name": "Gifu", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1725, "team_name": "Glasgow", "region": "Europe", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best New Appliation Project, Undergrad", "Nominated for Best Integrated Human Practices, Undergrad"]},
 +
{"id": 1865, "team_name": "Goettingen", "region": "Europe", "section": "Overgrad", "medal": "Bronze"},
 +
{"id": 1597, "team_name": "Groningen", "region": "Europe", "section": "Overgrad", "medal": "Gold"},
 +
{"id": 1646, "team_name": "H4Z-Hangzhou", "region": "Asia", "section": "High School", "medal": "No Medal"},
 +
{"id": 1827, "team_name": "HAFS-Korea", "region": "Asia", "section": "High School", "medal": "Bronze"},
 +
{"id": 1860, "team_name": "Hamburg", "region": "Europe", "section": "Overgrad", "medal": "Bronze"},
 +
{"id": 1863, "team_name": "Hamilton_McMaster", "region": "North America", "section": "Undergrad", "medal": "No Medal"},
 +
{"id": 1671, "team_name": "Hangzhou-H14Z", "region": "Asia", "section": "High School", "medal": "Silver"},
 +
{"id": 1850, "team_name": "Harvard_BioDesign", "region": "North America", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Foundational Advance Project"]},
 +
{"id": 1614, "team_name": "Heidelberg", "region": "Europe", "section": "Undergrad", "medal": "Gold", "awards": ["Finalist, Undergrad", "Second Runner Up, Undergrad", "Best Foundational Advance Project", "Nominated for Best Software Tool, Undergrad", "Nominated for Best Applied Design, Undergrad", "Nominated for Best Wiki, Undergrad", "Best Poster, Undergrad", "iGEMers Prize"]},
 +
{"id": 1693, "team_name": "HFUT-China", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1682, "team_name": "HKUST-Rice", "region": "Asia", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Environment Project, Undergrad", "Nominated for Best New Basic Part, Undergrad"]},
 +
{"id": 1714, "team_name": "HokkaidoU_Japan", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1648, "team_name": "Hong_Kong-CUHK", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1774, "team_name": "Hong_Kong_HKU", "region": "Asia", "section": "Undergrad", "medal": "No Medal"},
 +
{"id": 1613, "team_name": "HSNU-TAIPEI", "region": "Asia", "section": "High School", "medal": "Gold", "awards": ["Best Applied Design, High School", "Best Integrated Human Practices, High School", "Nominated for Best Education and Public Engagement, High School", "Nominated for Best Wiki, High School", "Nominated for Best Poster, High School", "Nominated for Best High School Project"]},
 +
{"id": 1592, "team_name": "HUST-China", "region": "Asia", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Environment Project, Undergrad", "Nominated for Best New Basic Part, Undergrad"]},
 +
{"id": 1713, "team_name": "HZAU-China", "region": "Asia", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Information Processing Project"]},
 +
{"id": 1780, "team_name": "IISER_Pune", "region": "Asia", "section": "Undergrad", "medal": "Bronze"},
 +
{"id": 1866, "team_name": "IIT_Delhi", "region": "Asia", "section": "Overgrad", "medal": "Bronze"},
 +
{"id": 1862, "team_name": "IIT_Kharagpur", "region": "Asia", "section": "Undergrad", "medal": "No Medal"},
 +
{"id": 1654, "team_name": "IIT_Madras", "region": "Asia", "section": "Undergrad", "medal": "No Medal"},
 +
{"id": 1616, "team_name": "IONIS_Paris", "region": "Europe", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1685, "team_name": "ITB_INDONESIA", "region": "Asia", "section": "Overgrad", "medal": "Silver"},
 +
{"id": 1706, "team_name": "Jilin_China", "region": "Asia", "section": "Undergrad", "medal": "Bronze"},
 +
{"id": 1740, "team_name": "KAIT_Japan", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1739, "team_name": "Kent", "region": "Europe", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1754, "team_name": "Korea_U_Seoul", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1709, "team_name": "KU_Leuven", "region": "Europe", "section": "Overgrad", "medal": "Gold", "awards": ["Nominated for Best New Application Project, Overgrad", "Nominated for Best Model, Overgrad", "Nominated for Best Education and Public Engagement, Overgrad", "Nominated for Best Poster, Overgrad"]},
 +
{"id": 1662, "team_name": "Lambert_GA", "region": "North America", "section": "High School", "medal": "Bronze"},
 +
{"id": 1624, "team_name": "LASATX", "region": "North America", "section": "High School", "medal": "Gold", "awards": ["Nominated for Best Wiki, High School", "Nominated for Best Poster, High School", "Nominated for Best Presentation, High School"]},
 +
{"id": 1747, "team_name": "LaVerne-Leos", "region": "North America", "section": "Undergrad", "medal": "Bronze"},
 +
{"id": 1715, "team_name": "Leicester", "region": "Europe", "section": "Undergrad", "medal": "No Medal"},
 +
{"id": 1791, "team_name": "Lethbridge", "region": "North America", "section": "Overgrad", "medal": "Gold"},
 +
{"id": 1792, "team_name": "Lethbridge_HS", "region": "North America", "section": "High School", "medal": "Bronze"},
 +
{"id": 1663, "team_name": "Liceo_Eugenio_Hostos", "region": "Latin America", "section": "High School", "medal": "Bronze"},
 +
{"id": 1704, "team_name": "Linkoping_Sweden", "region": "Europe", "section": "Overgrad", "medal": "Bronze"},
 +
{"id": 1845, "team_name": "London_Biohackspace", "region": "Europe", "section": "Unspecified", "medal": "Bronze"},
 +
{"id": 1755, "team_name": "LZU-China", "region": "Asia", "section": "Overgrad", "medal": "Silver"},
 +
{"id": 1640, "team_name": "Macquarie_Australia", "region": "Asia", "section": "Overgrad", "medal": "Gold", "awards": ["Nominated for Best Energy Project", "Nominated for Best Model, Overgrad", "Nominated for Best New Basic Part, Overgrad"]},
 +
{"id": 1670, "team_name": "Manchester-Graz", "region": "Europe", "section": "Overgrad", "medal": "Gold"},
 +
{"id": 1650, "team_name": "Marburg", "region": "Europe", "section": "Overgrad", "medal": "Gold", "awards": ["Best Food and Nutrition Project", "Best Innovation in Measurement, Overgrad", "Nominated for Best Education and Public Engagement, Overgrad", "Nominated for Best Wiki, Overgrad", "Nominated for Best Poster, Overgrad", "Nominated for Best New Composite Part, Overgrad", "Nominated for Best Part Collection, Overgrad"]},
 +
{"id": 1658, "team_name": "METU_HS_Ankara", "region": "Europe", "section": "High School", "medal": "Silver", "awards": ["Nominated for Best Applied Design, High School", "Nominated for Best Integrated Human Practices, High School", "Nominated for Best Education and Public Engagement, High School", "Best New Composite Part, High School", "Best Part Collection, High School"]},
 +
{"id": 1606, "team_name": "METU_Turkey", "region": "Europe", "section": "Undergrad", "medal": "No Medal"},
 +
{"id": 1843, "team_name": "Michigan", "region": "North America", "section": "Overgrad", "medal": "No Medal"},
 +
{"id": 1785, "team_name": "Michigan_Software", "region": "North America", "section": "Overgrad", "medal": "Bronze"},
 +
{"id": 1608, "team_name": "Mingdao", "region": "Asia", "section": "High School", "medal": "No Medal"},
 +
{"id": 1626, "team_name": "Minnesota", "region": "North America", "section": "Undergrad", "medal": "No Medal"},
 +
{"id": 1805, "team_name": "Missouri_Columbia", "region": "North America", "section": "Overgrad", "medal": "No Medal"},
 +
{"id": 1737, "team_name": "Missouri_Rolla", "region": "North America", "section": "Undergrad", "medal": "Bronze"},
 +
{"id": 1705, "team_name": "MIT", "region": "North America", "section": "Undergrad", "medal": "Bronze"},
 +
{"id": 1653, "team_name": "Nagahama", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1787, "team_name": "NAIT_Edmonton", "region": "North America", "section": "Overgrad", "medal": "Silver"},
 +
{"id": 1701, "team_name": "Nanjing-China", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1643, "team_name": "Nanjing_NFLS", "region": "Asia", "section": "High School", "medal": "No Medal"},
 +
{"id": 1628, "team_name": "Nankai", "region": "Asia", "section": "Undergrad", "medal": "Bronze"},
 +
{"id": 1694, "team_name": "NCTU_Formosa", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1757, "team_name": "NEAU-China", "region": "Asia", "section": "Undergrad", "medal": "Bronze"},
 +
{"id": 1666, "team_name": "NEFU_China", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1649, "team_name": "NJAU_China", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1633, "team_name": "NJU-China", "region": "Asia", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Health and Medicine Project, Undergrad", "Nominated for Best Model, Undergrad", "Nominated for Best Presentation, Undergrad"]},
 +
{"id": 1857, "team_name": "Northeastern_Boston", "region": "North America", "section": "Undergrad", "medal": "Bronze"},
 +
{"id": 1618, "team_name": "NRP-UEA-Norwich", "region": "Europe", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Food and Nutrition Project", "Nominated for Best Education and Public Engagement, Undergrad"]},
 +
{"id": 1840, "team_name": "NTNU_Trondheim", "region": "Europe", "section": "Overgrad", "medal": "Gold"},
 +
{"id": 1841, "team_name": "NTU-LIHPAO-Taiwan", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1676, "team_name": "NTU-Singapore", "region": "Asia", "section": "Overgrad", "medal": "Gold"},
 +
{"id": 1789, "team_name": "NUDT_CHINA", "region": "Asia", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Part Collection, Undergrad"]},
 +
{"id": 1828, "team_name": "NU_Kazakhstan", "region": "Asia", "section": "Overgrad", "medal": "Silver"},
 +
{"id": 1769, "team_name": "NYMU-Taipei", "region": "Asia", "section": "Overgrad", "medal": "Gold"},
 +
{"id": 1867, "team_name": "NYU-AD", "region": "Asia", "section": "Undergrad", "medal": "Bronze"},
 +
{"id": 1756, "team_name": "NYU_Shanghai", "region": "Asia", "section": "Undergrad", "medal": "Silver", "awards": ["Nominated for Best Poster, Undergrad"]},
 +
{"id": 1717, "team_name": "OLS_Canmore_AB_CA", "region": "North America", "section": "High School", "medal": "Bronze", "awards": ["Nominated for Best Integrated Human Practices, High School", "Nominated for Best Education and Public Engagement, High School", "Nominated for Best Presentation, High School"]},
 +
{"id": 1679, "team_name": "OUC-China", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1659, "team_name": "Oxford", "region": "Europe", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Health and Medicine Project, Undergrad", "Nominated for Best Model, Undergrad", "Nominated for Best Wiki, Undergrad", "Nominated for Best Presentation, Undergrad", "Nominated for Best New Basic Part, Undergrad"]},
 +
{"id": 1710, "team_name": "PacificU-Oregon", "region": "North America", "section": "Undergrad", "medal": "No Medal"},
 +
{"id": 1678, "team_name": "Paris_Bettencourt", "region": "Europe", "section": "Overgrad", "medal": "Gold", "awards": ["Nominated for Best Food and Nutrition Project", "Nominated for Best Integrated Human Practices, Overgrad", "Nominated for Best Presentation, Overgrad"]},
 +
{"id": 1707, "team_name": "Paris_Saclay", "region": "Europe", "section": "Overgrad", "medal": "Bronze"},
 +
{"id": 1622, "team_name": "Pasteur_Paris", "region": "Europe", "section": "Overgrad", "medal": "Bronze"},
 +
{"id": 1689, "team_name": "Peking", "region": "Asia", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Health and Medicine Project, Undergrad", "Nominated for Best Wiki, Undergrad", "Best New Composite Part, Undergrad", "Best Part Collection, Undergrad"]},
 +
{"id": 1815, "team_name": "Penn", "region": "North America", "section": "Undergrad", "medal": "No Medal"},
 +
{"id": 1833, "team_name": "Pitt", "region": "North America", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1768, "team_name": "Pretoria_UP", "region": "Africa", "section": "Undergrad", "medal": "Bronze"},
 +
{"id": 1772, "team_name": "Purdue", "region": "North America", "section": "Undergrad", "medal": "No Medal"},
 +
{"id": 1831, "team_name": "Queens_Canada", "region": "North America", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1708, "team_name": "Reading", "region": "Europe", "section": "Overgrad", "medal": "No Medal"},
 +
{"id": 1729, "team_name": "RHIT", "region": "North America", "section": "Undergrad", "medal": "Bronze"},
 +
{"id": 1721, "team_name": "Rock_Ridge_Virginia", "region": "North America", "section": "High School", "medal": "Bronze"},
 +
{"id": 1869, "team_name": "Santa_Clara", "region": "North America", "section": "Overgrad", "medal": "Silver"},
 +
{"id": 1665, "team_name": "San_Andres", "region": "Latin America", "section": "High School", "medal": "Bronze"},
 +
{"id": 1724, "team_name": "SCUT", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1778, "team_name": "Scut-Champion-Park", "region": "Asia", "section": "Overgrad", "medal": "Bronze"},
 +
{"id": 1720, "team_name": "SCUT-China", "region": "Asia", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Integrated Human Practices, Undergrad", "Nominated for Best New Composite Part, Undergrad"]},
 +
{"id": 1796, "team_name": "SCU_China", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1672, "team_name": "SDA-Encinitas", "region": "North America", "section": "High School", "medal": "No Medal"},
 +
{"id": 1638, "team_name": "SDU-Denmark", "region": "Europe", "section": "Overgrad", "medal": "Gold", "awards": ["Nominated for Best Manufacturing Project, Overgrad"]},
 +
{"id": 1839, "team_name": "SF_Bay_Area_DIYBio", "region": "North America", "section": "Overgrad", "medal": "Bronze"},
 +
{"id": 1607, "team_name": "Shenzhen_SFLS", "region": "Asia", "section": "High School", "medal": "Silver", "awards": ["Nominated for Best Poster, High School"]},
 +
{"id": 1744, "team_name": "Sherbrooke", "region": "North America", "section": "Overgrad", "medal": "Gold"},
 +
{"id": 1667, "team_name": "Shiyan_SY_China", "region": "Asia", "section": "High School", "medal": "Bronze", "awards": ["Best Education and Public Engagement, High School"]},
 +
{"id": 1642, "team_name": "SJTU-BioX-Shanghai", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1759, "team_name": "SJTU-Software", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1793, "team_name": "SKLBC-China", "region": "Asia", "section": "High School", "medal": "No Medal"},
 +
{"id": 1794, "team_name": "SKLBC-DGSYZX", "region": "Asia", "section": "High School", "medal": "Bronze", "awards": ["Best Supporting Entrepreneurship, High School"]},
 +
{"id": 1669, "team_name": "Slovenia_HS", "region": "Europe", "section": "High School", "medal": "Gold", "awards": ["Nominated for Best Integrated Human Practices, High School", "Nominated for Best Wiki, High School", "Nominated for Best Presentation, High School", "Nominated for Best High School Project"]},
 +
{"id": 1804, "team_name": "SPSingapore", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1692, "team_name": "Stanford-Brown", "region": "North America", "section": "Undergrad", "medal": "Gold", "awards": ["Best Manufacturing Project, Undergrad", "Nominated for Best Poster, Undergrad", "Nominated for Best New Composite Part, Undergrad", "Nominated for Best Part Collection, Undergrad"]},
 +
{"id": 1766, "team_name": "Stockholm", "region": "Europe", "section": "Overgrad", "medal": "Gold", "awards": ["Nominated for Best Health and Medicine Project, Overgrad"]},
 +
{"id": 1810, "team_name": "Stony_Brook", "region": "North America", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1814, "team_name": "SVA-NYC", "region": "North America", "section": "Overgrad", "medal": "Gold", "awards": ["Best Art and Design Project", "Nominated for Best Integrated Human Practices, Overgrad", "Nominated for Best Education and Public Engagement, Overgrad", "Nominated for Best Presentation, Overgrad"]},
 +
{"id": 1826, "team_name": "SVCE_Chennai", "region": "Asia", "section": "Overgrad", "medal": "Bronze"},
 +
{"id": 1736, "team_name": "Sydney_Australia", "region": "Asia", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Model, Undergrad", "Nominated for Best Integrated Human Practices, Undergrad", "Nominated for Best Education and Public Engagement, Undergrad"]},
 +
{"id": 1591, "team_name": "SYSU-Software", "region": "Asia", "section": "Undergrad", "medal": "Gold", "awards": ["Best Software Project"]},
 +
{"id": 1641, "team_name": "SYSU_CHINA", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1687, "team_name": "SZMS_15_Shenzhen", "region": "Asia", "section": "High School", "medal": "Bronze"},
 +
{"id": 1722, "team_name": "SZU_China", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1610, "team_name": "TAS_Taipei", "region": "Asia", "section": "High School", "medal": "Gold", "awards": ["Finalist, High School", "Grand Prize Winner, High School", "Nominated for Best Education and Public Engagement, High School", "Best Wiki, High School", "Nominated for Best Poster, High School", "Nominated for Best Presentation, High School", "Nominated for Best New Composite Part, High School", "Best High School Project"]},
 +
{"id": 1727, "team_name": "TCU_Taiwan", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1852, "team_name": "Tec-Chihuahua", "region": "Latin America", "section": "Undergrad", "medal": "No Medal"},
 +
{"id": 1734, "team_name": "Tec-Monterrey", "region": "Latin America", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1636, "team_name": "TecCEM", "region": "Latin America", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1629, "team_name": "TecCEM_HS", "region": "Latin America", "section": "High School", "medal": "Gold"},
 +
{"id": 1767, "team_name": "Technion_HS_Israel", "region": "Asia", "section": "High School", "medal": "Silver", "awards": ["Best Model, High School"]},
 +
{"id": 1674, "team_name": "Technion_Israel", "region": "Europe", "section": "Overgrad", "medal": "Gold", "awards": ["Best New Application Project, Overgrad", "Nominated for Best Applied Design, Overgrad", "Nominated for Best Presentation, Overgrad", "Nominated for Best New Basic Part, Overgrad"]},
 +
{"id": 1801, "team_name": "Tec_Guadalajara", "region": "Latin America", "section": "Undergrad", "medal": "Bronze"},
 +
{"id": 1582, "team_name": "Tianjin", "region": "Asia", "section": "Undergrad", "medal": "Gold", "awards": ["Best New Application Project, Undergrad", "Best New Basic Part, Undergrad", "Nominated for Best New Composite Part, Undergrad"]},
 +
{"id": 1696, "team_name": "TJU", "region": "Asia", "section": "Undergrad", "medal": "Gold", "awards": ["Best Energy Project"]},
 +
{"id": 1765, "team_name": "Tokyo-NoKoGen", "region": "Asia", "section": "Undergrad", "medal": "Bronze"},
 +
{"id": 1632, "team_name": "Tokyo_Tech", "region": "Asia", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Information Processing Project", "Nominated for Best Part Collection, Undergrad"]},
 +
{"id": 1760, "team_name": "Toronto", "region": "North America", "section": "Overgrad", "medal": "Silver", "awards": ["Nominated for Best Applied Design, Overgrad"]},
 +
{"id": 1587, "team_name": "Toulouse", "region": "Europe", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Applied Design, Undergrad"]},
 +
{"id": 1788, "team_name": "TP_CC-SanDiego", "region": "North America", "section": "High School", "medal": "Bronze", "awards": ["Nominated for Best Poster, High School"]},
 +
{"id": 1808, "team_name": "TrinityCollegeDublin", "region": "Europe", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1797, "team_name": "Tsinghua", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1700, "team_name": "Tsinghua-A", "region": "Asia", "section": "Undergrad", "medal": "Bronze"},
 +
{"id": 1680, "team_name": "Tuebingen", "region": "Europe", "section": "Overgrad", "medal": "Gold"},
 +
{"id": 1818, "team_name": "Tufts", "region": "North America", "section": "Undergrad", "medal": "Bronze"},
 +
{"id": 1602, "team_name": "TU_Darmstadt", "region": "Europe", "section": "Overgrad", "medal": "Gold", "awards": ["Nominated for Best Applied Design, Overgrad", "Nominated for Best Poster, Overgrad", "Nominated for Best Part Collection, Overgrad"]},
 +
{"id": 1583, "team_name": "TU_Delft", "region": "Europe", "section": "Overgrad", "medal": "Gold", "awards": ["Finalist, Overgrad", "Grand Prize Winner, Overgrad", "Nominated for Best Model, High School", "Best Hardware Project", "Nominated for Best Model, Overgrad", "Best Applied Design, Overgrad", "Nominated for Best Integrated Human Practices, Overgrad", "Best Wiki, Overgrad", "Nominated for Best New Composite Part, Overgrad", "Nominated for Best Part Collection, Overgrad"]},
 +
{"id": 1781, "team_name": "TU_Dresden", "region": "Europe", "section": "Overgrad", "medal": "Bronze"},
 +
{"id": 1761, "team_name": "TU_Eindhoven", "region": "Europe", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best New Appliation Project, Undergrad", "Best Innovation in Measurement, Undergrad", "Nominated for Best Education and Public Engagement, Undergrad"]},
 +
{"id": 1832, "team_name": "UAI-Chile", "region": "Latin America", "section": "Overgrad", "medal": "No Medal"},
 +
{"id": 1741, "team_name": "UAM_Poznan", "region": "Europe", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1823, "team_name": "UB_Indonesia", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1745, "team_name": "UChicago", "region": "North America", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1730, "team_name": "UChile-OpenBio", "region": "Latin America", "section": "Overgrad", "medal": "No Medal"},
 +
{"id": 1598, "team_name": "UCL", "region": "Europe", "section": "Overgrad", "medal": "Gold", "awards": ["Best Supporting Entrepreneurship, Overgrad", "Nominated for Best New Composite Part, Overgrad"]},
 +
{"id": 1763, "team_name": "UCLA", "region": "North America", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Manufacturing Project, Undergrad", "Nominated for Best New Basic Part, Undergrad", "Nominated for Best Part Collection, Undergrad"]},
 +
{"id": 1775, "team_name": "UCSC", "region": "North America", "section": "Overgrad", "medal": "No Medal"},
 +
{"id": 1829, "team_name": "UCSF", "region": "North America", "section": "Undergrad", "medal": "Gold", "awards": ["Best Information Processing Project", "Best Wiki, Undergrad", "Nominated for Best Presentation, Undergrad"]},
 +
{"id": 1712, "team_name": "UC_Davis", "region": "North America", "section": "Overgrad", "medal": "Gold", "awards": ["Nominated for Best Environment Project, Overgrad"]},
 +
{"id": 1842, "team_name": "UC_San_Diego", "region": "North America", "section": "Undergrad", "medal": "No Medal"},
 +
{"id": 1782, "team_name": "UESTC_Software", "region": "Asia", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Software Project"]},
 +
{"id": 1776, "team_name": "UFMG_Brazil", "region": "Latin America", "section": "Overgrad", "medal": "No Medal", "awards": ["Nominated for Best Integrated Human Practices, Overgrad", "Best Education and Public Engagement, Overgrad"]},
 +
{"id": 1620, "team_name": "UFSCar-Brasil", "region": "Latin America", "section": "Overgrad", "medal": "Gold"},
 +
{"id": 1635, "team_name": "UGA-Georgia", "region": "North America", "section": "Overgrad", "medal": "Gold", "awards": ["Nominated for Best Measurement Project"]},
 +
{"id": 1619, "team_name": "UiOslo_Norway", "region": "Europe", "section": "Overgrad", "medal": "Bronze"},
 +
{"id": 1681, "team_name": "UIUC_Illinois", "region": "North America", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1697, "team_name": "UI_Indonesia", "region": "Asia", "section": "Undergrad", "medal": "Bronze"},
 +
{"id": 1783, "team_name": "UMaryland", "region": "North America", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best New Appliation Project, Undergrad"]},
 +
{"id": 1644, "team_name": "UMass-Dartmouth", "region": "North America", "section": "Overgrad", "medal": "No Medal"},
 +
{"id": 1811, "team_name": "UMBC-Maryland", "region": "North America", "section": "Overgrad", "medal": "Bronze"},
 +
{"id": 1731, "team_name": "UNAM-CU", "region": "Latin America", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1588, "team_name": "UNA_Honduras", "region": "Latin America", "section": "Overgrad", "medal": "No Medal"},
 +
{"id": 1838, "team_name": "UNC-Chapel_Hill", "region": "North America", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1786, "team_name": "Uniandes_Colombia", "region": "Latin America", "section": "Undergrad", "medal": "No Medal"},
 +
{"id": 1825, "team_name": "UNIK_Copenhagen", "region": "Europe", "section": "Overgrad", "medal": "Gold", "awards": ["Nominated for Best Environment Project, Overgrad", "Nominated for Best New Composite Part, Overgrad"]},
 +
{"id": 1604, "team_name": "UNITN-Trento", "region": "Europe", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Energy Project", "Nominated for Best Innovation in Measurement, Undergrad"]},
 +
{"id": 1652, "team_name": "uOttawa", "region": "North America", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1688, "team_name": "Uppsala", "region": "Europe", "section": "Overgrad", "medal": "Gold", "awards": ["Nominated for Best Environment Project, Overgrad"]},
 +
{"id": 1593, "team_name": "USTC", "region": "Asia", "section": "Undergrad", "medal": "No Medal"},
 +
{"id": 1594, "team_name": "USTC-Software", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1631, "team_name": "UT-Tokyo", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1820, "team_name": "Utah_State", "region": "North America", "section": "Overgrad", "medal": "Silver"},
 +
{"id": 1742, "team_name": "Valencia_UPV", "region": "Europe", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1673, "team_name": "Vanderbilt", "region": "North America", "section": "Undergrad", "medal": "No Medal"},
 +
{"id": 1773, "team_name": "Vilnius-Lithuania", "region": "Europe", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Foundational Advance Project"]},
 +
{"id": 1600, "team_name": "Virginia", "region": "North America", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1855, "team_name": "Warwick", "region": "Europe", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1711, "team_name": "Washington", "region": "North America", "section": "Overgrad", "medal": "Silver"},
 +
{"id": 1605, "team_name": "WashU_StLouis", "region": "North America", "section": "Undergrad", "medal": "Bronze"},
 +
{"id": 1645, "team_name": "Waterloo", "region": "North America", "section": "Overgrad", "medal": "Gold", "awards": ["Nominated for Best Foundational Advance Project", "Best Software Tool, Overgrad", "Best Poster, Overgrad"]},
 +
{"id": 1735, "team_name": "Wellesley_TheTech", "region": "North America", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1748, "team_name": "Westminster", "region": "Europe", "section": "Overgrad", "medal": "Gold"},
 +
{"id": 1647, "team_name": "WHU-China", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1753, "team_name": "WHU-Pharm", "region": "Asia", "section": "Undergrad", "medal": "Bronze"},
 +
{"id": 1795, "team_name": "William_and_Mary", "region": "North America", "section": "Undergrad", "medal": "Gold", "awards": ["Finalist, Undergrad", "Grand Prize Winner, Undergrad", "Best Measurement Project", "Nominated for Best Model, Undergrad", "Best Education and Public Engagement, Undergrad", "Best Presentation, Undergrad"]},
 +
{"id": 1683, "team_name": "WLC-Milwaukee", "region": "North America", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Education and Public Engagement, Undergrad"]},
 +
{"id": 1803, "team_name": "WLSA_Shanghai", "region": "Asia", "section": "High School", "medal": "No Medal"},
 +
{"id": 1809, "team_name": "WPI-Worcester", "region": "North America", "section": "Undergrad", "medal": "Gold"},
 +
{"id": 1824, "team_name": "XJTLU-CHINA", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1856, "team_name": "Yale", "region": "North America", "section": "Undergrad", "medal": "Silver"},
 +
{"id": 1807, "team_name": "York", "region": "Europe", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Supporting Entrepreneurship, Undergrad"]},
 +
{"id": 1668, "team_name": "ZJU-China", "region": "Asia", "section": "Undergrad", "medal": "Gold"}
 +
];
  
 +
//Helper function
 +
String.prototype.capitalize = function() {
 +
    return this.charAt(0).toUpperCase() + this.slice(1);
 +
}
 +
 +
function canonicalizeMedal(m) {
 +
m = m.toLowerCase();
 +
if (['gold', 'silver', 'bronze', 'no medal'].indexOf(m) == -1) {
 +
return 'missing';
 +
}
 +
return m;
 +
}
 +
 +
//Function to generate the supplementary-info child rows
 +
function childRowFormat(data) {
 +
return '<div border="0" style="padding-left:50px;">'+
 +
'<p>' +
 +
// 'Track: <b>' + data.track +
 +
// '</b>&nbsp;&nbsp;|&nbsp;&nbsp;' + //**Be nice to show the track but i have no API access to that
 +
'Region: <b>' + data.region +
 +
'</b>&nbsp;&nbsp;|&nbsp;&nbsp;' +
 +
'Section: <b>' + data.section.capitalize() +
 +
'</b>&nbsp;&nbsp;|&nbsp;&nbsp;' +
 +
'<a target="_blank" href="https://igem.org/Team.cgi?id=' + data.id + '">Official Team Profile</a>' +
 +
'</p>' +
 +
'<p>'+
 +
'View this team\'s &nbsp;&nbsp;' +
 +
'<a target="_blank" href="http://' + currentYear + '.igem.org/Team:' + data.team_name + '">Wiki</a>&nbsp;&nbsp;|&nbsp;&nbsp;' +
 +
'<a target="_blank" href="http://' + currentYear + '.igem.org/files/poster/' + data.team_name + '.pdf">Poster</a>&nbsp;&nbsp;|&nbsp;&nbsp;' +
 +
'<a target="_blank" href="http://' + currentYear + '.igem.org/files/presentation/' + data.team_name + '.pdf">Presentation Slides</a>&nbsp;&nbsp;|&nbsp;&nbsp;' +
 +
'<a target="_blank" title="Not yet available" style="color: gray; cursor: pointer;">Presentation Video</a>' +
 +
'</p>'+
 +
'</div>';
 +
}
 +
 +
//Accepts an array of team objects and reorganizes it into an array of team*awards (incl no-awards)
 +
//function parseTeamsToAwards(arrayOfTeams, extraTeamInfo) {
 +
function parseTeamsToAwards(arrayOfTeams) {
 +
var arrayOfTeamAwards = [];
 +
for (i = 0; i < arrayOfTeams.length; i++) {
 +
//var teamObj = jQuery.extend(arrayOfTeams[i], extraTeamInfo[i]);
 +
var teamObj = arrayOfTeams[i];
 +
//Take care of any teams that didn't win any awards
 +
if (typeof teamObj.awards == "undefined" || teamObj.awards.length == 0) {
 +
teamObj.awards = [null];
 +
}
 +
teamObj.awards.forEach(function(award) {
 +
var teamAwardObj = jQuery.extend({}, teamObj); //copy the team object
 +
delete teamAwardObj.awards; //delete the array of awards
 +
teamAwardObj.award = award; //add the one award back
 +
teamAwardObj.medal = canonicalizeMedal(teamAwardObj.medal); //canonicalize the medal
 +
arrayOfTeamAwards.push(teamAwardObj); //and put the team*award on the list to return
 +
});
 +
}
 +
return arrayOfTeamAwards;
 +
}
 +
 +
//Helper to display a message in the body of the table (eventually overwritten by team data).
 +
function showInTable(text) {
 +
$("#table_team tbody").empty();
 +
if (typeof text == "string") {
 +
$("#table_team tbody").append("<tr><td colspan='4'>" + text + "</td></tr>");
 +
}
 +
}
 +
 +
//Helper to pretend I clicked the first "plus" button in the table
 +
function pretendToClickFirstPlus() {
 +
$("#table_team tbody .team-info-control").first().trigger("click");
 +
}
 +
 +
jQuery(document).ready(function() {
 +
//$("#title-year").html(currentYear);
 +
// $("#table_team tbody").empty().append("<tr><td colspan='3'>Loading...</td></tr>");
 +
showInTable("Loading...");
 
 
 +
//Request team data
 +
// var teamsRequest = jQuery.ajax({
 +
// url: "https://igem.org/aj/team_list.cgi",
 +
// type: "GET",
 +
// timeout: 30000,
 +
// dataType: "json",
 +
// data: {command: "get_team_list", year: currentYear},
 +
// error: function(jqxhr, textStatus, errorThrown) {
 +
// console.log("Failed to get list of teams. look at var teamsRequest");
 +
// showInTable("Error loading list of teams. Please check your internet connection and try again. If the problem persists, contact iGEM HQ.");
 +
// }
 +
// });
 +
//Request the awards data
 +
var awardsRequest = jQuery.ajax({
 +
url: 'https://igem.org/awards/json_dump.cgi',
 +
type: 'GET',
 +
timeout: 30000,
 +
dataType: "json",
 +
data: {year: currentYear},
 +
error: function(jqxhr, textStatus, errorThrown) {
 +
console.log("AJAX error; look at var awardsRequest");
 +
showInTable("Error loading competition results. Please check your internet connection and try again. If the problem persists, contact iGEM HQ.");
 +
}
 +
});
 +
 +
//When both requests finish, parse the data and set up the table.
 +
//jQuery.when(teamsRequest, awardsRequest).done(function(teamsReqResult, awardsReqResult) {
 +
awardsRequest.done(function(data, textStatus, jqxhr) {
 +
//if the awards data isn't in yet, just show a message and quit
 +
//if (data.length == 0 || resultsAreOpen == false) {
 +
if (resultsAreOpen == false) {
 +
showInTable(currentYear + " results will be available after the Awards Ceremony. Please be patient!");
 +
return;
 +
}
 +
showInTable();
 +
// var teamsData = teamsReqResult[0];
 +
// var awardsData = awardsReqResult[0];
 +
// var arrayOfTeamAwards = parseTeamsToAwards(awardsData, teamsData);
 +
//var arrayOfTeamAwards = parseTeamsToAwards(data);
 +
var arrayOfTeamAwards = parseTeamsToAwards(manualDataSet);
 +
 +
//Initialize dataTable and set up event bindings.
 +
t = jQuery('#table_team').DataTable( {
 +
'lengthMenu': [[10, 25, 50, 100, -1],[10, 25, 50, 100, 'All']],
 +
'pageLength': -1,
 +
'processing': true, //enable "loading" message
 +
'order': [[1, 'asc']], //I think this sorts by team-name by default
 +
'data': arrayOfTeamAwards,
 +
'columns': [
 +
{ //Control Element Column
 +
'className': 'team-info-control',
 +
'orderable': false,
 +
'data': null,
 +
'defaultContent': '',
 +
'width': '6%'
 +
},
 +
{ //Team Name Column
 +
'className': 'team-name-column',
 +
'data': function(row, type, val, meta) {
 +
if (type == 'display') {
 +
return "<b>" + row.team_name + "</b>";
 +
//return row.team_name;
 +
}
 +
else {
 +
return row.team_name;
 +
}
 +
}
 +
},
 +
{ //Medal Column
 +
'className': 'medal-column',
 +
'width': "12%",
 +
'data': function(row, type, val, meta) {
 +
var medals_info = {
 +
'gold': {
 +
sort: 1,
 +
filter: 'gold medal',
 +
html: "<img title='Gold Medal' src='https://igem.org/images/medals/seal_gold.png'>"
 +
},
 +
'silver': {
 +
sort: 2,
 +
filter: 'silver medal',
 +
html: "<img title='Silver Medal' src='https://igem.org/images/medals/seal_silver.png'>"
 +
},
 +
'bronze': {
 +
sort: 3,
 +
filter: 'bronze medal',
 +
html: "<img title='Bronze Medal' src='https://igem.org/images/medals/seal_bronze.png'>"
 +
},
 +
'no medal': {
 +
sort: 4,
 +
filter: 'no medal',
 +
html: "<img title='No Medal' src='http://web.mit.edu/kdrinkwa/Public/Pictures/seal_transparent.png'>"
 +
},
 +
'missing': {
 +
sort: 5,
 +
filter: 'medal data missing medal data not available medal data unavailable',
 +
html: "<img title='Medal Data Not Available' src='https://igem.org/images/medals/seal_blocked.png'>"
 +
}
 +
};
 +
if (typeof medals_info[row.medal] == "undefined") {
 +
console.log("Undefined medal " + row.medal + " for team " + row.team_name);
 +
}
 +
if (type == 'sort') {
 +
return medals_info[row.medal].sort;
 +
}
 +
else if (type == 'filter') {
 +
return medals_info[row.medal].filter;
 +
}
 +
else {
 +
return medals_info[row.medal].html;
 +
}
 +
}
 +
},
 +
{ //Award Column
 +
'className': 'award-column',
 +
'data': function(row, type, val, meta) {
 +
if (type == 'sort') {
 +
return (row.award == null ? 'zzzzz' : row.award); //No Award will sort alphabetically last
 +
//** This is the place to edit if I want to insert a canonical award ordering.
 +
}
 +
else {
 +
return (row.award == null ? '' : row.award);
 +
}
 +
}
 +
},
 +
{ //Region Column (hidden)
 +
'className': 'region-column',
 +
'data': "region",
 +
'visible': false
 +
}
 +
]
 +
} );
 +
 +
$('#table_team .team-info-control').attr('title', 'Details about this team');
 +
 +
// Add event listener for opening and closing details
 +
$('#table_team tbody').on('click', '.team-info-control', function () {
 +
var tr = $(this).closest('tr');
 +
var row = t.row( tr );
 +
 +
if ( row.child.isShown() ) {
 +
// This row is already open - close it
 +
row.child.hide();
 +
tr.removeClass('shown');
 +
}
 +
else {
 +
// Close any others
 +
t.row($("#table_team tbody").children(".shown").removeClass("shown")).child.hide();
 +
// Open this row
 +
row.child( childRowFormat(row.data()) ).show();
 +
tr.addClass('shown');
 +
}
 +
} );
 +
 +
$("#view-all-statuses").click(function(event){
 +
t.column(3).search('').draw();
 +
});
 +
$("#view-winners").click(function(event) {
 +
t.column(3).search('.', true, false).draw();
 +
});
 +
 +
//Generalize this region bullshit eventually
 +
$("#view-all-regions").click(function(event) {
 +
t.column(4).search('').draw();
 +
});
 +
$("#view-africa").click(function(event) {
 +
t.column(4).search('africa').draw();
 +
});
 +
$("#view-asia").click(function(event) {
 +
t.column(4).search('asia').draw();
 +
});
 +
$("#view-europe").click(function(event) {
 +
t.column(4).search('europe').draw();
 +
});
 +
$("#view-latin-america").click(function(event) {
 +
t.column(4).search('latin america').draw();
 +
});
 +
$("#view-north-america").click(function(event) {
 +
t.column(4).search('north america').draw();
 +
});
 +
 +
//Auto-open the first "plus" button just after page load
 +
window.setTimeout(pretendToClickFirstPlus, 200);
 +
});
 +
 +
});
 +
</script>
 +
 +
 +
 
<div id="leftColumn_MainPage">  
 
<div id="leftColumn_MainPage">  
  
Line 43: Line 598:
 
<div class="clear"></div>
 
<div class="clear"></div>
  
<center><img src="https://static.igem.org/mediawiki/2014/6/6a/Trackawards_header.png"><h1>iGEM 2015 Results </h1><img src="https://static.igem.org/mediawiki/2014/6/6a/Trackawards_header.png"></center>
+
<center><h1>iGEM 2015 Results </h1></center>
  
 +
<p><b>Congratulations to all participants in the 2015 International Genetically Engineered Machine competition! Your hard work and achievements are truly worthy of celebration!</b></p>
 +
<br />
 +
<p>This table shows <b>complete results</b> of the competition, including all medals and awards. <b>Click the "plus" button</b> for more information about each team, and to view their achievements in their wiki, presentation, and poster. <b>Use the search box</b> to search by award, team name, region, or medal.</p>
  
</div>
+
<h5>View:</h5>
 
+
<ul style="list-style: none;">
 +
<li>
 +
<label><input checked type="radio" name="view-status" id="view-all-statuses"> All Teams</label> &nbsp;&nbsp;&nbsp;
 +
<label><input type="radio" name="view-status" id="view-winners"> Award Winners</label>
 +
</li>
 +
<li>
 +
<label><input checked type="radio" name="view-region" id="view-all-regions"> All Regions</label> &nbsp;&nbsp;&nbsp;
 +
<label><input type="radio" name="view-region" id="view-africa"> Africa</label> &nbsp;&nbsp;&nbsp;
 +
<label><input type="radio" name="view-region" id="view-asia"> Asia</label> &nbsp;&nbsp;&nbsp;
 +
<label><input type="radio" name="view-region" id="view-europe"> Europe</label> &nbsp;&nbsp;&nbsp;
 +
<label><input type="radio" name="view-region" id="view-latin-america"> Latin America</label> &nbsp;&nbsp;&nbsp;
 +
<label><input type="radio" name="view-region" id="view-north-america"> North America</label>
 +
</li>
 +
</ul>
 +
<br />
  
  
 +
<TABLE id='table_team' width='760' border='0' cellspacing='0' cellpadding='0' style='margin-left:auto; margin-right:auto; border: 1px solid gray;background-color: white; padding-left: 10px;line-height: 150%; padding-right:2px;padding-top:3px;' >
 +
<THEAD>
 +
<TR>
 +
<TH></TH>
 +
<TH>Team</TH>
 +
<TH>Medal</TH>
 +
<TH>Award</TH>
 +
</TR>
 +
</THEAD>
 +
<TBODY>
 +
<tr>
 +
<td id="javascript-disabled" colspan="4">Please enable JavaScript in your browser to view results.</td>
 +
</tr>
 +
</TBODY>
 +
</TABLE>
  
  
 +
</div>
  
 
<!-- ~~~~~~~~ MENU ~~~~~~~~ -->
 
<!-- ~~~~~~~~ MENU ~~~~~~~~ -->

Latest revision as of 15:55, 10 March 2019

iGEM 2015 Results

Congratulations to all participants in the 2015 International Genetically Engineered Machine competition! Your hard work and achievements are truly worthy of celebration!


This table shows complete results of the competition, including all medals and awards. Click the "plus" button for more information about each team, and to view their achievements in their wiki, presentation, and poster. Use the search box to search by award, team name, region, or medal.

View:
  •    
  •                    

Team Medal Award
Please enable JavaScript in your browser to view results.