Difference between revisions of "Dev/Results"

(added class names to columns)
(my manual data set had a problem: "id" should have been "team_id". fixed)
 
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{2015Top}}
 
{{2015Top}}
 
<html>
 
<html>
 +
<style> #igemLogo, #pageTitle, #grayLine_Clear { display: none;}
 +
 +
#image_leftColumn_MainPage
 +
{
 +
margin-left: -15px;
 +
margin-top: -5px;
 +
}
 +
 +
 +
#rightColumn_MainPage {
 +
background-color: #f2f2f2;
 +
width: 180px;
 +
float: left;
 +
height:3200px;
 +
padding-top:5px;
 +
}
 +
 +
 +
 +
/*Class for creating a block 1/4 of the size of the left_Column in the Main page, */
 +
.small_block_leftColumn_MainPage{
 +
margin-bottom: 5px;
 +
float: left;
 +
width:180px;
 +
margin-right:10px;
 +
margin-left:5px;
 +
background-color: #fff;
 +
}
 +
</style>
  
 
<script src='https://igem.org/common/DataTables-1.10.7/media/js/jquery.dataTables.js'></script>
 
<script src='https://igem.org/common/DataTables-1.10.7/media/js/jquery.dataTables.js'></script>
Line 6: Line 35:
  
 
<style type="text/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 {
 
#table_team th, #table_team td {
 
font-size: larger;
 
font-size: larger;
 
padding: 7px;
 
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 {
 
#table_team tbody img {
Line 16: Line 61:
  
 
<script>
 
<script>
var currentYear = 2014;
+
var t;
 +
var currentYear = 2015;
 +
var resultsAreOpen = true;
 +
 
 +
var manualDataSet = [
 +
{"team_id": 1585, "team_name": "Aachen", "region": "Europe", "section": "Overgrad", "medal": "Gold", "awards": ["Best Manufacturing Project, Overgrad", "Nominated for Best Software Tool, Overgrad"]},
 +
{"team_id": 1655, "team_name": "Aalto-Helsinki", "region": "Europe", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1751, "team_name": "AHUT_China", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1601, "team_name": "Aix-Marseille", "region": "Europe", "section": "Overgrad", "medal": "Bronze"},
 +
{"team_id": 1719, "team_name": "Amoy", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1844, "team_name": "Amsterdam", "region": "Europe", "section": "Overgrad", "medal": "Gold"},
 +
{"team_id": 1750, "team_name": "ANU-Canberra", "region": "Asia", "section": "Undergrad", "medal": "Bronze"},
 +
{"team_id": 1639, "team_name": "ATOMS-Turkiye", "region": "Europe", "section": "Undergrad", "medal": "Silver", "awards": ["Nominated for Best New Composite Part, Undergrad"]},
 +
{"team_id": 1806, "team_name": "AUC_TURKEY", "region": "Europe", "section": "High School", "medal": "Gold", "awards": ["Nominated for Best New Composite Part, High School"]},
 +
{"team_id": 1627, "team_name": "Austin_UTexas", "region": "North America", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1677, "team_name": "BABS_UNSW_Australia", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1617, "team_name": "Berlin", "region": "Europe", "section": "Overgrad", "medal": "Silver"},
 +
{"team_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"]},
 +
{"team_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"]},
 +
{"team_id": 1684, "team_name": "BIOSINT_Mexico", "region": "Latin America", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1846, "team_name": "Birkbeck", "region": "Europe", "section": "Overgrad", "medal": "Bronze"},
 +
{"team_id": 1651, "team_name": "BIT", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1675, "team_name": "BIT-China", "region": "Asia", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best New Appliation Project, Undergrad"]},
 +
{"team_id": 1660, "team_name": "BNU-CHINA", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1686, "team_name": "Bordeaux", "region": "Europe", "section": "Overgrad", "medal": "Gold"},
 +
{"team_id": 1733, "team_name": "BostonU", "region": "North America", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Foundational Advance Project"]},
 +
{"team_id": 1819, "team_name": "Brasil-USP", "region": "Latin America", "section": "Overgrad", "medal": "Gold"},
 +
{"team_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"]},
 +
{"team_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"]},
 +
{"team_id": 1854, "team_name": "Cairo_Egypt", "region": "Africa", "section": "Undergrad", "medal": "Bronze"},
 +
{"team_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"]},
 +
{"team_id": 1732, "team_name": "Carnegie_Mellon", "region": "North America", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1657, "team_name": "CAU_China", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1762, "team_name": "CCA_SanDiego", "region": "North America", "section": "High School", "medal": "No Medal"},
 +
{"team_id": 1821, "team_name": "Central_Calgary", "region": "North America", "section": "High School", "medal": "Bronze"},
 +
{"team_id": 1728, "team_name": "CGU_Taiwan", "region": "Asia", "section": "Overgrad", "medal": "Silver"},
 +
{"team_id": 1603, "team_name": "Chalmers-Gothenburg", "region": "Europe", "section": "Overgrad", "medal": "Silver"},
 +
{"team_id": 1779, "team_name": "CHINA_CD_UESTC", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1634, "team_name": "China_Tongji", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1695, "team_name": "CityU_HK", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1664, "team_name": "Colegio_EmelinaU", "region": "Latin America", "section": "High School", "medal": "Bronze"},
 +
{"team_id": 1848, "team_name": "Columbia_NYC", "region": "North America", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1830, "team_name": "Concordia", "region": "North America", "section": "Overgrad", "medal": "Bronze"},
 +
{"team_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"]},
 +
{"team_id": 1746, "team_name": "Cooper_Union", "region": "North America", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1698, "team_name": "Cork_Ireland", "region": "Europe", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Integrated Human Practices, Undergrad"]},
 +
{"team_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"]},
 +
{"team_id": 1702, "team_name": "CSU_Fort_Collins", "region": "North America", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1718, "team_name": "CU_Boulder", "region": "North America", "section": "Overgrad", "medal": "Silver"},
 +
{"team_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"]},
 +
{"team_id": 1872, "team_name": "Dalhousie_Halifax_NS", "region": "North America", "section": "Overgrad", "medal": "No Medal"},
 +
{"team_id": 1790, "team_name": "Danzi_Kesh_8", "region": "Asia", "section": "High School", "medal": "Silver"},
 +
{"team_id": 1716, "team_name": "DTU-Denmark", "region": "Europe", "section": "Overgrad", "medal": "Gold", "awards": ["Nominated for Best Education and Public Engagement, Overgrad"]},
 +
{"team_id": 1835, "team_name": "Duke", "region": "North America", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1590, "team_name": "Dundee", "region": "Europe", "section": "Undergrad", "medal": "Gold"},
 +
{"team_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"]},
 +
{"team_id": 1584, "team_name": "Elan_Vital_Korea", "region": "Asia", "section": "High School", "medal": "Bronze"},
 +
{"team_id": 1723, "team_name": "EPF_Lausanne", "region": "Europe", "section": "Undergrad", "medal": "Silver"},
 +
{"team_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"]},
 +
{"team_id": 1611, "team_name": "Evry", "region": "Europe", "section": "Overgrad", "medal": "Silver"},
 +
{"team_id": 1586, "team_name": "Exeter", "region": "Europe", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1864, "team_name": "FAFU-CHINA", "region": "Asia", "section": "Undergrad", "medal": "Bronze"},
 +
{"team_id": 1861, "team_name": "FAU_Erlangen", "region": "Europe", "section": "Undergrad", "medal": "Silver"},
 +
{"team_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"]},
 +
{"team_id": 1777, "team_name": "Fudan", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1749, "team_name": "Gaston_Day_School", "region": "North America", "section": "Undergrad", "medal": "Bronze"},
 +
{"team_id": 1870, "team_name": "GenetiX_Tec_CCM", "region": "Latin America", "section": "High School", "medal": "Bronze"},
 +
{"team_id": 1799, "team_name": "Genspace", "region": "North America", "section": "Overgrad", "medal": "Gold", "awards": ["Best Community Labs Project"]},
 +
{"team_id": 1743, "team_name": "GeorgiaTech", "region": "North America", "section": "Undergrad", "medal": "Bronze"},
 +
{"team_id": 1800, "team_name": "Georgia_State", "region": "North America", "section": "Overgrad", "medal": "Silver"},
 +
{"team_id": 1859, "team_name": "Gifu", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"team_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"]},
 +
{"team_id": 1865, "team_name": "Goettingen", "region": "Europe", "section": "Overgrad", "medal": "Bronze"},
 +
{"team_id": 1597, "team_name": "Groningen", "region": "Europe", "section": "Overgrad", "medal": "Gold"},
 +
{"team_id": 1646, "team_name": "H4Z-Hangzhou", "region": "Asia", "section": "High School", "medal": "No Medal"},
 +
{"team_id": 1827, "team_name": "HAFS-Korea", "region": "Asia", "section": "High School", "medal": "Bronze"},
 +
{"team_id": 1860, "team_name": "Hamburg", "region": "Europe", "section": "Overgrad", "medal": "Bronze"},
 +
{"team_id": 1863, "team_name": "Hamilton_McMaster", "region": "North America", "section": "Undergrad", "medal": "No Medal"},
 +
{"team_id": 1671, "team_name": "Hangzhou-H14Z", "region": "Asia", "section": "High School", "medal": "Silver"},
 +
{"team_id": 1850, "team_name": "Harvard_BioDesign", "region": "North America", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Foundational Advance Project"]},
 +
{"team_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"]},
 +
{"team_id": 1693, "team_name": "HFUT-China", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"team_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"]},
 +
{"team_id": 1714, "team_name": "HokkaidoU_Japan", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1648, "team_name": "Hong_Kong-CUHK", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1774, "team_name": "Hong_Kong_HKU", "region": "Asia", "section": "Undergrad", "medal": "No Medal"},
 +
{"team_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"]},
 +
{"team_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"]},
 +
{"team_id": 1713, "team_name": "HZAU-China", "region": "Asia", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Information Processing Project"]},
 +
{"team_id": 1780, "team_name": "IISER_Pune", "region": "Asia", "section": "Undergrad", "medal": "Bronze"},
 +
{"team_id": 1866, "team_name": "IIT_Delhi", "region": "Asia", "section": "Overgrad", "medal": "Bronze"},
 +
{"team_id": 1862, "team_name": "IIT_Kharagpur", "region": "Asia", "section": "Undergrad", "medal": "No Medal"},
 +
{"team_id": 1654, "team_name": "IIT_Madras", "region": "Asia", "section": "Undergrad", "medal": "No Medal"},
 +
{"team_id": 1616, "team_name": "IONIS_Paris", "region": "Europe", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1685, "team_name": "ITB_INDONESIA", "region": "Asia", "section": "Overgrad", "medal": "Silver"},
 +
{"team_id": 1706, "team_name": "Jilin_China", "region": "Asia", "section": "Undergrad", "medal": "Bronze"},
 +
{"team_id": 1740, "team_name": "KAIT_Japan", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1739, "team_name": "Kent", "region": "Europe", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1754, "team_name": "Korea_U_Seoul", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"team_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"]},
 +
{"team_id": 1662, "team_name": "Lambert_GA", "region": "North America", "section": "High School", "medal": "Bronze"},
 +
{"team_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"]},
 +
{"team_id": 1747, "team_name": "LaVerne-Leos", "region": "North America", "section": "Undergrad", "medal": "Bronze"},
 +
{"team_id": 1715, "team_name": "Leicester", "region": "Europe", "section": "Undergrad", "medal": "No Medal"},
 +
{"team_id": 1791, "team_name": "Lethbridge", "region": "North America", "section": "Overgrad", "medal": "Gold"},
 +
{"team_id": 1792, "team_name": "Lethbridge_HS", "region": "North America", "section": "High School", "medal": "Bronze"},
 +
{"team_id": 1663, "team_name": "Liceo_Eugenio_Hostos", "region": "Latin America", "section": "High School", "medal": "Bronze"},
 +
{"team_id": 1704, "team_name": "Linkoping_Sweden", "region": "Europe", "section": "Overgrad", "medal": "Bronze"},
 +
{"team_id": 1845, "team_name": "London_Biohackspace", "region": "Europe", "section": "Unspecified", "medal": "Bronze"},
 +
{"team_id": 1755, "team_name": "LZU-China", "region": "Asia", "section": "Overgrad", "medal": "Silver"},
 +
{"team_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"]},
 +
{"team_id": 1670, "team_name": "Manchester-Graz", "region": "Europe", "section": "Overgrad", "medal": "Gold"},
 +
{"team_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"]},
 +
{"team_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"]},
 +
{"team_id": 1606, "team_name": "METU_Turkey", "region": "Europe", "section": "Undergrad", "medal": "No Medal"},
 +
{"team_id": 1843, "team_name": "Michigan", "region": "North America", "section": "Overgrad", "medal": "No Medal"},
 +
{"team_id": 1785, "team_name": "Michigan_Software", "region": "North America", "section": "Overgrad", "medal": "Bronze"},
 +
{"team_id": 1608, "team_name": "Mingdao", "region": "Asia", "section": "High School", "medal": "No Medal"},
 +
{"team_id": 1626, "team_name": "Minnesota", "region": "North America", "section": "Undergrad", "medal": "No Medal"},
 +
{"team_id": 1805, "team_name": "Missouri_Columbia", "region": "North America", "section": "Overgrad", "medal": "No Medal"},
 +
{"team_id": 1737, "team_name": "Missouri_Rolla", "region": "North America", "section": "Undergrad", "medal": "Bronze"},
 +
{"team_id": 1705, "team_name": "MIT", "region": "North America", "section": "Undergrad", "medal": "Bronze"},
 +
{"team_id": 1653, "team_name": "Nagahama", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1787, "team_name": "NAIT_Edmonton", "region": "North America", "section": "Overgrad", "medal": "Silver"},
 +
{"team_id": 1701, "team_name": "Nanjing-China", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1643, "team_name": "Nanjing_NFLS", "region": "Asia", "section": "High School", "medal": "No Medal"},
 +
{"team_id": 1628, "team_name": "Nankai", "region": "Asia", "section": "Undergrad", "medal": "Bronze"},
 +
{"team_id": 1694, "team_name": "NCTU_Formosa", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1757, "team_name": "NEAU-China", "region": "Asia", "section": "Undergrad", "medal": "Bronze"},
 +
{"team_id": 1666, "team_name": "NEFU_China", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1649, "team_name": "NJAU_China", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"team_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"]},
 +
{"team_id": 1857, "team_name": "Northeastern_Boston", "region": "North America", "section": "Undergrad", "medal": "Bronze"},
 +
{"team_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"]},
 +
{"team_id": 1840, "team_name": "NTNU_Trondheim", "region": "Europe", "section": "Overgrad", "medal": "Gold"},
 +
{"team_id": 1841, "team_name": "NTU-LIHPAO-Taiwan", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1676, "team_name": "NTU-Singapore", "region": "Asia", "section": "Overgrad", "medal": "Gold"},
 +
{"team_id": 1789, "team_name": "NUDT_CHINA", "region": "Asia", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Part Collection, Undergrad"]},
 +
{"team_id": 1828, "team_name": "NU_Kazakhstan", "region": "Asia", "section": "Overgrad", "medal": "Silver"},
 +
{"team_id": 1769, "team_name": "NYMU-Taipei", "region": "Asia", "section": "Overgrad", "medal": "Gold"},
 +
{"team_id": 1867, "team_name": "NYU-AD", "region": "Asia", "section": "Undergrad", "medal": "Bronze"},
 +
{"team_id": 1756, "team_name": "NYU_Shanghai", "region": "Asia", "section": "Undergrad", "medal": "Silver", "awards": ["Nominated for Best Poster, Undergrad"]},
 +
{"team_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"]},
 +
{"team_id": 1679, "team_name": "OUC-China", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"team_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"]},
 +
{"team_id": 1710, "team_name": "PacificU-Oregon", "region": "North America", "section": "Undergrad", "medal": "No Medal"},
 +
{"team_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"]},
 +
{"team_id": 1707, "team_name": "Paris_Saclay", "region": "Europe", "section": "Overgrad", "medal": "Bronze"},
 +
{"team_id": 1622, "team_name": "Pasteur_Paris", "region": "Europe", "section": "Overgrad", "medal": "Bronze"},
 +
{"team_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"]},
 +
{"team_id": 1815, "team_name": "Penn", "region": "North America", "section": "Undergrad", "medal": "No Medal"},
 +
{"team_id": 1833, "team_name": "Pitt", "region": "North America", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1768, "team_name": "Pretoria_UP", "region": "Africa", "section": "Undergrad", "medal": "Bronze"},
 +
{"team_id": 1772, "team_name": "Purdue", "region": "North America", "section": "Undergrad", "medal": "No Medal"},
 +
{"team_id": 1831, "team_name": "Queens_Canada", "region": "North America", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1708, "team_name": "Reading", "region": "Europe", "section": "Overgrad", "medal": "No Medal"},
 +
{"team_id": 1729, "team_name": "RHIT", "region": "North America", "section": "Undergrad", "medal": "Bronze"},
 +
{"team_id": 1721, "team_name": "Rock_Ridge_Virginia", "region": "North America", "section": "High School", "medal": "Bronze"},
 +
{"team_id": 1869, "team_name": "Santa_Clara", "region": "North America", "section": "Overgrad", "medal": "Silver"},
 +
{"team_id": 1665, "team_name": "San_Andres", "region": "Latin America", "section": "High School", "medal": "Bronze"},
 +
{"team_id": 1724, "team_name": "SCUT", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1778, "team_name": "Scut-Champion-Park", "region": "Asia", "section": "Overgrad", "medal": "Bronze"},
 +
{"team_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"]},
 +
{"team_id": 1796, "team_name": "SCU_China", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1672, "team_name": "SDA-Encinitas", "region": "North America", "section": "High School", "medal": "No Medal"},
 +
{"team_id": 1638, "team_name": "SDU-Denmark", "region": "Europe", "section": "Overgrad", "medal": "Gold", "awards": ["Nominated for Best Manufacturing Project, Overgrad"]},
 +
{"team_id": 1839, "team_name": "SF_Bay_Area_DIYBio", "region": "North America", "section": "Overgrad", "medal": "Bronze"},
 +
{"team_id": 1607, "team_name": "Shenzhen_SFLS", "region": "Asia", "section": "High School", "medal": "Silver", "awards": ["Nominated for Best Poster, High School"]},
 +
{"team_id": 1744, "team_name": "Sherbrooke", "region": "North America", "section": "Overgrad", "medal": "Gold"},
 +
{"team_id": 1667, "team_name": "Shiyan_SY_China", "region": "Asia", "section": "High School", "medal": "Bronze", "awards": ["Best Education and Public Engagement, High School"]},
 +
{"team_id": 1642, "team_name": "SJTU-BioX-Shanghai", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1759, "team_name": "SJTU-Software", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1793, "team_name": "SKLBC-China", "region": "Asia", "section": "High School", "medal": "No Medal"},
 +
{"team_id": 1794, "team_name": "SKLBC-DGSYZX", "region": "Asia", "section": "High School", "medal": "Bronze", "awards": ["Best Supporting Entrepreneurship, High School"]},
 +
{"team_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"]},
 +
{"team_id": 1804, "team_name": "SPSingapore", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"team_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"]},
 +
{"team_id": 1766, "team_name": "Stockholm", "region": "Europe", "section": "Overgrad", "medal": "Gold", "awards": ["Nominated for Best Health and Medicine Project, Overgrad"]},
 +
{"team_id": 1810, "team_name": "Stony_Brook", "region": "North America", "section": "Undergrad", "medal": "Silver"},
 +
{"team_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"]},
 +
{"team_id": 1826, "team_name": "SVCE_Chennai", "region": "Asia", "section": "Overgrad", "medal": "Bronze"},
 +
{"team_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"]},
 +
{"team_id": 1591, "team_name": "SYSU-Software", "region": "Asia", "section": "Undergrad", "medal": "Gold", "awards": ["Best Software Project"]},
 +
{"team_id": 1641, "team_name": "SYSU_CHINA", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1687, "team_name": "SZMS_15_Shenzhen", "region": "Asia", "section": "High School", "medal": "Bronze"},
 +
{"team_id": 1722, "team_name": "SZU_China", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"team_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"]},
 +
{"team_id": 1727, "team_name": "TCU_Taiwan", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1852, "team_name": "Tec-Chihuahua", "region": "Latin America", "section": "Undergrad", "medal": "No Medal"},
 +
{"team_id": 1734, "team_name": "Tec-Monterrey", "region": "Latin America", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1636, "team_name": "TecCEM", "region": "Latin America", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1629, "team_name": "TecCEM_HS", "region": "Latin America", "section": "High School", "medal": "Gold"},
 +
{"team_id": 1767, "team_name": "Technion_HS_Israel", "region": "Asia", "section": "High School", "medal": "Silver", "awards": ["Best Model, High School"]},
 +
{"team_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"]},
 +
{"team_id": 1801, "team_name": "Tec_Guadalajara", "region": "Latin America", "section": "Undergrad", "medal": "Bronze"},
 +
{"team_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"]},
 +
{"team_id": 1696, "team_name": "TJU", "region": "Asia", "section": "Undergrad", "medal": "Gold", "awards": ["Best Energy Project"]},
 +
{"team_id": 1765, "team_name": "Tokyo-NoKoGen", "region": "Asia", "section": "Undergrad", "medal": "Bronze"},
 +
{"team_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"]},
 +
{"team_id": 1760, "team_name": "Toronto", "region": "North America", "section": "Overgrad", "medal": "Silver", "awards": ["Nominated for Best Applied Design, Overgrad"]},
 +
{"team_id": 1587, "team_name": "Toulouse", "region": "Europe", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Applied Design, Undergrad"]},
 +
{"team_id": 1788, "team_name": "TP_CC-SanDiego", "region": "North America", "section": "High School", "medal": "Bronze", "awards": ["Nominated for Best Poster, High School"]},
 +
{"team_id": 1808, "team_name": "TrinityCollegeDublin", "region": "Europe", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1797, "team_name": "Tsinghua", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1700, "team_name": "Tsinghua-A", "region": "Asia", "section": "Undergrad", "medal": "Bronze"},
 +
{"team_id": 1680, "team_name": "Tuebingen", "region": "Europe", "section": "Overgrad", "medal": "Gold"},
 +
{"team_id": 1818, "team_name": "Tufts", "region": "North America", "section": "Undergrad", "medal": "Bronze"},
 +
{"team_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"]},
 +
{"team_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"]},
 +
{"team_id": 1781, "team_name": "TU_Dresden", "region": "Europe", "section": "Overgrad", "medal": "Bronze"},
 +
{"team_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"]},
 +
{"team_id": 1832, "team_name": "UAI-Chile", "region": "Latin America", "section": "Overgrad", "medal": "No Medal"},
 +
{"team_id": 1741, "team_name": "UAM_Poznan", "region": "Europe", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1823, "team_name": "UB_Indonesia", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1745, "team_name": "UChicago", "region": "North America", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1730, "team_name": "UChile-OpenBio", "region": "Latin America", "section": "Overgrad", "medal": "No Medal"},
 +
{"team_id": 1598, "team_name": "UCL", "region": "Europe", "section": "Overgrad", "medal": "Gold", "awards": ["Best Supporting Entrepreneurship, Overgrad", "Nominated for Best New Composite Part, Overgrad"]},
 +
{"team_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"]},
 +
{"team_id": 1775, "team_name": "UCSC", "region": "North America", "section": "Overgrad", "medal": "No Medal"},
 +
{"team_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"]},
 +
{"team_id": 1712, "team_name": "UC_Davis", "region": "North America", "section": "Overgrad", "medal": "Gold", "awards": ["Nominated for Best Environment Project, Overgrad"]},
 +
{"team_id": 1842, "team_name": "UC_San_Diego", "region": "North America", "section": "Undergrad", "medal": "No Medal"},
 +
{"team_id": 1782, "team_name": "UESTC_Software", "region": "Asia", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Software Project"]},
 +
{"team_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"]},
 +
{"team_id": 1620, "team_name": "UFSCar-Brasil", "region": "Latin America", "section": "Overgrad", "medal": "Gold"},
 +
{"team_id": 1635, "team_name": "UGA-Georgia", "region": "North America", "section": "Overgrad", "medal": "Gold", "awards": ["Nominated for Best Measurement Project"]},
 +
{"team_id": 1619, "team_name": "UiOslo_Norway", "region": "Europe", "section": "Overgrad", "medal": "Bronze"},
 +
{"team_id": 1681, "team_name": "UIUC_Illinois", "region": "North America", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1697, "team_name": "UI_Indonesia", "region": "Asia", "section": "Undergrad", "medal": "Bronze"},
 +
{"team_id": 1783, "team_name": "UMaryland", "region": "North America", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best New Appliation Project, Undergrad"]},
 +
{"team_id": 1644, "team_name": "UMass-Dartmouth", "region": "North America", "section": "Overgrad", "medal": "No Medal"},
 +
{"team_id": 1811, "team_name": "UMBC-Maryland", "region": "North America", "section": "Overgrad", "medal": "Bronze"},
 +
{"team_id": 1731, "team_name": "UNAM-CU", "region": "Latin America", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1588, "team_name": "UNA_Honduras", "region": "Latin America", "section": "Overgrad", "medal": "No Medal"},
 +
{"team_id": 1838, "team_name": "UNC-Chapel_Hill", "region": "North America", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1786, "team_name": "Uniandes_Colombia", "region": "Latin America", "section": "Undergrad", "medal": "No Medal"},
 +
{"team_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"]},
 +
{"team_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"]},
 +
{"team_id": 1652, "team_name": "uOttawa", "region": "North America", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1688, "team_name": "Uppsala", "region": "Europe", "section": "Overgrad", "medal": "Gold", "awards": ["Nominated for Best Environment Project, Overgrad"]},
 +
{"team_id": 1593, "team_name": "USTC", "region": "Asia", "section": "Undergrad", "medal": "No Medal"},
 +
{"team_id": 1594, "team_name": "USTC-Software", "region": "Asia", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1631, "team_name": "UT-Tokyo", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1820, "team_name": "Utah_State", "region": "North America", "section": "Overgrad", "medal": "Silver"},
 +
{"team_id": 1742, "team_name": "Valencia_UPV", "region": "Europe", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1673, "team_name": "Vanderbilt", "region": "North America", "section": "Undergrad", "medal": "No Medal"},
 +
{"team_id": 1773, "team_name": "Vilnius-Lithuania", "region": "Europe", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Foundational Advance Project"]},
 +
{"team_id": 1600, "team_name": "Virginia", "region": "North America", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1855, "team_name": "Warwick", "region": "Europe", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1711, "team_name": "Washington", "region": "North America", "section": "Overgrad", "medal": "Silver"},
 +
{"team_id": 1605, "team_name": "WashU_StLouis", "region": "North America", "section": "Undergrad", "medal": "Bronze"},
 +
{"team_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"]},
 +
{"team_id": 1735, "team_name": "Wellesley_TheTech", "region": "North America", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1748, "team_name": "Westminster", "region": "Europe", "section": "Overgrad", "medal": "Gold"},
 +
{"team_id": 1647, "team_name": "WHU-China", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1753, "team_name": "WHU-Pharm", "region": "Asia", "section": "Undergrad", "medal": "Bronze"},
 +
{"team_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"]},
 +
{"team_id": 1683, "team_name": "WLC-Milwaukee", "region": "North America", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Education and Public Engagement, Undergrad"]},
 +
{"team_id": 1803, "team_name": "WLSA_Shanghai", "region": "Asia", "section": "High School", "medal": "No Medal"},
 +
{"team_id": 1809, "team_name": "WPI-Worcester", "region": "North America", "section": "Undergrad", "medal": "Gold"},
 +
{"team_id": 1824, "team_name": "XJTLU-CHINA", "region": "Asia", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1856, "team_name": "Yale", "region": "North America", "section": "Undergrad", "medal": "Silver"},
 +
{"team_id": 1807, "team_name": "York", "region": "Europe", "section": "Undergrad", "medal": "Gold", "awards": ["Nominated for Best Supporting Entrepreneurship, Undergrad"]},
 +
{"team_id": 1668, "team_name": "ZJU-China", "region": "Asia", "section": "Undergrad", "medal": "Gold"}
 +
];
  
 
//Helper function
 
//Helper function
Line 31: Line 340:
 
}
 
}
  
//Function to generate the supplementary-info child rows
+
//Function to generate the supplementary-info child rows.
 +
//This gets called anew EVERY time you click the plus button, it isn't cached. Keep it lightweight!
 
function childRowFormat(data) {
 
function childRowFormat(data) {
 +
console.log("Called childRowFormat for team " + data.team_name);
 
return '<div border="0" style="padding-left:50px;">'+
 
return '<div border="0" style="padding-left:50px;">'+
 
'<p>' +  
 
'<p>' +  
Line 39: Line 350:
 
'Region: <b>' + data.region +  
 
'Region: <b>' + data.region +  
 
'</b>&nbsp;&nbsp;|&nbsp;&nbsp;' +  
 
'</b>&nbsp;&nbsp;|&nbsp;&nbsp;' +  
'Section: <b>' + data.section.capitalize() + '</b>' +
+
'Section: <b>' + data.section.capitalize() +  
 +
'</b>&nbsp;&nbsp;|&nbsp;&nbsp;' +
 +
'<a target="_blank" href="https://igem.org/Team.cgi?id=' + data.team_id + '">Official Team Profile</a>' +
 
'</p>' +
 
'</p>' +
 
'<p>'+
 
'<p>'+
'View this team\'s: &nbsp;&nbsp;&nbsp;' +
+
'View this team\'s &nbsp;&nbsp;' +
'<a target="_blank" href="https://igem.org/Team.cgi?id=' + data.team_id + '">Team Profile</a>&nbsp;&nbsp;|&nbsp;&nbsp;' +
+
'<a target="_blank" href="http://' + currentYear + '.igem.org/Team:' + data.team_name + '">Wiki</a>&nbsp;&nbsp;|&nbsp;&nbsp;' +
'<a target="_blank" href="https://2015.igem.org/Team:' + data.team_name + '">Wiki</a>&nbsp;&nbsp;|&nbsp;&nbsp;' +
+
 
'<a target="_blank" title="Not yet available" style="color: gray; cursor: pointer;">Poster</a>&nbsp;&nbsp;|&nbsp;&nbsp;' +
 
'<a target="_blank" title="Not yet available" style="color: gray; cursor: pointer;">Poster</a>&nbsp;&nbsp;|&nbsp;&nbsp;' +
 
'<a target="_blank" title="Not yet available" style="color: gray; cursor: pointer;">Presentation Slides</a>&nbsp;&nbsp;|&nbsp;&nbsp;' +
 
'<a target="_blank" title="Not yet available" style="color: gray; cursor: pointer;">Presentation Slides</a>&nbsp;&nbsp;|&nbsp;&nbsp;' +
Line 53: Line 365:
  
 
//Accepts an array of team objects and reorganizes it into an array of team*awards (incl no-awards)
 
//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, extraTeamInfo) {
 +
function parseTeamsToAwards(arrayOfTeams) {
 
var arrayOfTeamAwards = [];
 
var arrayOfTeamAwards = [];
 
for (i = 0; i < arrayOfTeams.length; i++) {
 
for (i = 0; i < arrayOfTeams.length; i++) {
var teamObj = jQuery.extend(arrayOfTeams[i], extraTeamInfo[i]);
+
//var teamObj = jQuery.extend(arrayOfTeams[i], extraTeamInfo[i]);
 +
var teamObj = arrayOfTeams[i];
 
//Take care of any teams that didn't win any awards
 
//Take care of any teams that didn't win any awards
if (teamObj.awards.length == 0) {
+
if (typeof teamObj.awards == "undefined" || teamObj.awards.length == 0) {
teamObj.awards.push(null);
+
teamObj.awards = [null];
 
}
 
}
 
teamObj.awards.forEach(function(award) {
 
teamObj.awards.forEach(function(award) {
Line 72: Line 386:
 
}
 
}
  
 +
//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() {
 
jQuery(document).ready(function() {
$("#title-year").html(currentYear);
+
//$("#title-year").html(currentYear);
$("#table_team tbody").empty().append("<tr><td colspan='3'>Loading...</td></tr>");
+
// $("#table_team tbody").empty().append("<tr><td colspan='3'>Loading...</td></tr>");
 +
showInTable("Loading...");
 
 
 
//Request team data
 
//Request team data
var teamsRequest = jQuery.ajax({
+
// var teamsRequest = jQuery.ajax({
url: "https://igem.org/aj/team_list.cgi",
+
// url: "https://igem.org/aj/team_list.cgi",
type: "GET",
+
// type: "GET",
timeout: 30000,
+
// timeout: 30000,
dataType: "json",
+
// dataType: "json",
data: {command: "get_team_list", year: currentYear},
+
// data: {command: "get_team_list", year: currentYear},
error: function(jqxhr, textStatus, errorThrown) {
+
// error: function(jqxhr, textStatus, errorThrown) {
alert("Failed to get list of teams. look at var teamsRequest");
+
// 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
 
//Request the awards data
 
var awardsRequest = jQuery.ajax({
 
var awardsRequest = jQuery.ajax({
Line 96: Line 424:
 
data: {year: currentYear},
 
data: {year: currentYear},
 
error: function(jqxhr, textStatus, errorThrown) {
 
error: function(jqxhr, textStatus, errorThrown) {
alert("AJAX error; look at var awardsRequest");
+
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.
 
//When both requests finish, parse the data and set up the table.
jQuery.when(teamsRequest, awardsRequest).done(function(teamsReqResult, awardsReqResult) {
+
//jQuery.when(teamsRequest, awardsRequest).done(function(teamsReqResult, awardsReqResult) {
$("#table_team tbody").empty();
+
awardsRequest.done(function(data, textStatus, jqxhr) {
var teamsData = teamsReqResult[0];
+
//if the awards data isn't in yet, just show a message and quit
var awardsData = awardsReqResult[0];
+
//if (data.length == 0 || resultsAreOpen == false) {
var arrayOfTeamAwards = parseTeamsToAwards(awardsData, teamsData);
+
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.
+
//Initialize dataTable.
var t = jQuery('#table_team').DataTable( {
+
t = jQuery('#table_team').DataTable( {
 
'lengthMenu': [[10, 25, 50, 100, -1],[10, 25, 50, 100, 'All']],
 
'lengthMenu': [[10, 25, 50, 100, -1],[10, 25, 50, 100, 'All']],
 
'pageLength': -1,
 
'pageLength': -1,
 
'processing': true, //enable "loading" message
 
'processing': true, //enable "loading" message
'order': [[0, 'asc']], //I think this sorts by team-name by default
+
'order': [[1, 'asc']], //I think this sorts by team-name by default
 
'data': arrayOfTeamAwards,
 
'data': arrayOfTeamAwards,
 
'columns': [
 
'columns': [
 +
{ //Control Element Column
 +
'className': 'team-info-control',
 +
'orderable': false,
 +
'data': null,
 +
'defaultContent': '',
 +
'width': '6%'
 +
},
 
{ //Team Name Column
 
{ //Team Name Column
 
'className': 'team-name-column',
 
'className': 'team-name-column',
 
'data': function(row, type, val, meta) {
 
'data': function(row, type, val, meta) {
 
if (type == 'display') {
 
if (type == 'display') {
return "<a class='team-info-control' style='cursor: pointer;'>" + row.team_name + "</a>";
+
return "<b>" + row.team_name + "</b>";
 +
//return row.team_name;
 
}
 
}
 
else {
 
else {
Line 128: Line 474:
 
{ //Medal Column
 
{ //Medal Column
 
'className': 'medal-column',
 
'className': 'medal-column',
'width': "10%",
+
'width': "12%",
 
'data': function(row, type, val, meta) {
 
'data': function(row, type, val, meta) {
 
var medals_info = {
 
var medals_info = {
Line 157: Line 503:
 
}
 
}
 
};
 
};
 +
if (typeof medals_info[row.medal] == "undefined") {
 +
console.log("Undefined medal " + row.medal + " for team " + row.team_name);
 +
}
 
if (type == 'sort') {
 
if (type == 'sort') {
 
return medals_info[row.medal].sort;
 
return medals_info[row.medal].sort;
Line 179: Line 528:
 
}
 
}
 
}
 
}
 +
},
 +
{ //Region Column (hidden)
 +
'className': 'region-column',
 +
'data': "region",
 +
'visible': false
 
}
 
}
 
]
 
]
 
} );
 
} );
 +
 +
$('#table_team .team-info-control').attr('title', 'Details about this team');
 +
 +
//... and set up event bindings.
 
 
 
// Add event listener for opening and closing details
 
// Add event listener for opening and closing details
$('#table_team tbody').on('click', 'a.team-info-control', function () {
+
$('#table_team tbody').on('click', '.team-info-control', function () {
 
var tr = $(this).closest('tr');
 
var tr = $(this).closest('tr');
 
var row = t.row( tr );
 
var row = t.row( tr );
 +
 +
//Find out if the row already knows about its Jamboree File links
 +
 +
//If the Jamboree File information is absent, perform the needed HEAD requests and save that info on the row
 +
 
 
 
 
 
if ( row.child.isShown() ) {
 
if ( row.child.isShown() ) {
Line 201: Line 564:
 
}
 
}
 
} );
 
} );
 
+
jQuery('#table_team').addClass('hover'); //What's this?
+
$("#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);
 
});
 
});
  
Line 210: Line 601:
  
  
<div id="fullWidth">
+
<div id="leftColumn_MainPage">  
  
 +
<div id="image_leftColumn_MainPage"><img src="https://static.igem.org/mediawiki/2015/9/9f/Promotionalbanner.jpg"></div>
  
<!-- start of content ---------------------------------------->  
+
<div class="clear"></div>
  
 +
<center><h1>iGEM 2015 Results </h1></center>
  
<h2>Comprehensive Results from iGEM <span id="title-year"></span></h2>
+
<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>
  
<p>View: <a href="#" id="view-all-teams">[All Teams]</a> <a href="#" id="view-award-winners">[Award Winners]</a> | [Africa] [Asia] [Europe] [Latin America][other?]</p>
+
<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='890' 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;' >
+
<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>
 
<THEAD>
 
<TR>
 
<TR>
 +
<TH></TH>
 
<TH>Team</TH>
 
<TH>Team</TH>
 
<TH>Medal</TH>
 
<TH>Medal</TH>
Line 231: Line 642:
 
<TBODY>
 
<TBODY>
 
<tr>
 
<tr>
<td id="javascript-disabled" colspan="3">Please enable JavaScript in your browser to view results.</td>
+
<td id="javascript-disabled" colspan="4">Please enable JavaScript in your browser to view results.</td>
 
</tr>
 
</tr>
 
</TBODY>
 
</TBODY>
Line 237: Line 648:
  
  
 +
</div>
  
<!-- end of content ---------------------------------------->
+
<!-- ~~~~~~~~ MENU ~~~~~~~~ -->
 +
<!-- Here goes the expanded menu -->
 +
<div id="rightColumn_MainPage">  
  
  
 +
<h4 class="menu-header">About iGEM</h4>
 +
<div>
 +
<ul>
 +
<a href="https://igem.org/About"><li>What is iGEM?</li></a>
 +
<a href="https://igem.org/Previous_iGEM_Competitions"><li>Previous Competitions</li></a>
 +
<a href="https://igem.org/Contact"><li>iGEM Headquarters </li></a>
 +
<a href="https://2015.igem.org/IGEM_Publicity"><li>Publicity</li></a>
 +
<a href="https://igem.org/Press_Kit"><li>Press Kit</li></a>
 +
<a href="https://igem.org/Newsletters"><li>Join our Newsletter</li></a>
 +
<a href="https://igem.org/Sponsorship"><li>Sponsor iGEM</li></a>
 +
<a href="http://blog.igem.org/"><li>iGEM blog</li></a>
 +
</ul>
 +
</div>
 +
 +
<h4 class="menu-header">Starting a Team</h4>
 +
<div>
 +
<ul>
 +
<a href="https://2015.igem.org/Starting_a_Team"><li>Starting a Team</li></a>
 +
<a href="https://2015.igem.org/Funding"><li>Funding</li></a>
 +
                                                <a href="https://2015.igem.org/Navigating_iGEM"><li>Navigating iGEM</li></a>
 +
</ul>
 +
</div>
 +
 +
 +
<h4 class="menu-header">Registration &amp; Fees</h4>
 +
<div>
 +
<ul>
 +
<a href="https://igem.org/IGEM_2015_Registration"><li>Register Now </li></a>
 +
<a href="https://2015.igem.org/Registration"><li>How to Register</li></a>
 +
<a href="https://2015.igem.org/Fees"><li>Fees</li></a>
 +
</ul>
 +
</div>
 +
 +
<h4 class="menu-header">Calendar</h4>
 +
<div>
 +
<ul>
 +
<a href="https://2015.igem.org/Calendar_of_Events"><li>Calendar of Events</li></a>
 +
</ul>
 +
</div>
 +
 +
<h4 class="menu-header">Requirements</h4>
 +
<div>
 +
<ul>
 +
<a href="https://2015.igem.org/Requirements"><li>Requirements</li></a>
 +
<a href="https://2015.igem.org/Wiki_Requirements"><li>Wiki Requirements</li></a>
 +
<a href="https://2015.igem.org/Sections"><li>Sections</li></a>
 +
</ul>
 +
</div>
 +
 +
<h4 class="menu-header">Tracks</h4>
 +
<div>
 +
<ul>
 +
<a href="https://2015.igem.org/Tracks"><li>Complete List</li></a>
 +
<a href="https://2015.igem.org/Tracks#New_Tracks"><li>New Tracks</li></a>
 +
<a href="https://2015.igem.org/Tracks/HighSchool"><li>High School</li></a>
 +
                                                <a href="https://igem.org/Team_Tracks?year=2015"><li>Team Tracks</li></a>
 +
</ul>
 +
</div>
 +
 +
<h4 class="menu-header">Parts</h4>
 +
<div>
 +
<ul>
 +
<a href="http://parts.igem.org/Help:Registry-at-a-Glance"><li>Registry At-a-Glance</li></a>
 +
<a href="https://2015.igem.org/DNA_Distribution"><li>2015 DNA Distribution</li></a>
 +
</ul>
 +
</div>
 +
 +
 +
<h4 class="menu-header">Resources</h4>
 +
<div>
 +
<ul>
 +
                                                <a href="https://2015.igem.org/Teams_By_The_Numbers"><li>iGEM By The Numbers</li></a>
 +
                                                <a href="https://2015.igem.org/Telling_Your_Story"><li>Telling Your Story</li></a>
 +
                                                <a href="https://2015.igem.org/Keywords"><li>Keywords</li></a>
 +
                                                <a href="https://2015.igem.org/Troubleshooting"><li>Cloning Help</li></a>
 +
<a href="https://2015.igem.org/Visa_help"><li>Visa Help</li></a>
 +
                                                <a href="https://2015.igem.org/FundingOpportunities"><li> Funding Opportunities</li></a>
 +
<a href="https://2015.igem.org/Partner_Special_Offers"><li>Partner Special Offers</li></a>
 +
                                                  <a href="https://2015.igem.org/Submitting_a_Part"><li>Submitting a Part</li></a>
 +
</ul>
 +
</div>
 +
 +
<h4 class="menu-header">Giant Jamboree</h4>
 +
<div>
 +
<ul>
 +
<a href="https://2015.igem.org/Giant_Jamboree"><li>General Information</li></a>
 +
<a href="https://2015.igem.org/Giant_Jamboree/Career_Fair"><li>Career Fair</li></a>
 +
<a href="https://igem.org/Sponsorship"><li>Sponsorship Opportunities</li></a>
 +
</ul>
 +
</div>
 +
 +
 +
<h4 class="menu-header">Human Practices</h4>
 +
<div>
 +
<ul>
 +
<a href="https://2015.igem.org/Practices_Hub"><li>Practices Hub </li></a>
 +
<a href="https://2015.igem.org/Judging/Awards#SpecialPrizes"><li>Human Practices Awards</li></a>
 +
<a href="https://2015.igem.org/Tracks/Policy_Practices"><li>Policy & Practices Track</li></a>
 +
</ul>
 +
</div>
 +
 +
 +
<h4 class="menu-header">Safety</h4>
 +
<div>
 +
<ul>
 +
<a href="https://2015.igem.org/Safety"><li>Safety Overview</li></a>
 +
<a href="https://2015.igem.org/Safety/Risk_Groups"><li>Risk Groups</li></a>
 +
<a href="https://2015.igem.org/Safety/WhiteList"><li>White List</li></a>
 +
</ul>
 +
</div>
 +
 +
 +
<h4 class="menu-header">Judging</h4>
 +
<div>
 +
<ul>
 +
<a href="https://2015.igem.org/Judging"><li>Overview</li></a>
 +
<a href="https://igem.org/Team_Judging"><li>Judging Forms</li></a>
 +
<a href="https://2015.igem.org/Judging/Awards"><li>Awards</li></a>
 +
<a href="https://2015.igem.org/Judging/Medals"><li>Medals</li></a>
 +
<a href="https://2015.igem.org/Poster"><li>Poster Guidelines</li></a>
 +
<a href="https://2015.igem.org/Judging#forJudges"><li> For Judges </li></a>
 +
<a href="https://2015.igem.org/Committees"><li> For Committees </li></a>
 +
</ul>
 +
</div>
 +
 +
<h4 class="menu-header">Community</h4>
 +
<div>
 +
<ul>
 +
<a href="https://2015.igem.org/Meetups"><li>Meetups</li></a>
 +
<a href="https://2015.igem.org/Community"><li>Community page</li></a>
 +
</ul>
 +
</div>
 +
 +
 +
<h4 class="menu-header">2015 Teams</h4>
 +
<div>
 +
<ul>
 +
<a href="https://igem.org/Team_List?year=2015"><li>Team List</li></a>
 +
<a href="https://igem.org/Team_Wikis?year=2015"><li>Team Wikis</li></a>
 +
<a href="http://www.google.com/maps/d/u/0/viewer?mid=z_CMSHmDgyfc.kShytm5hSTEk"><li>World Map</li></a>
 +
 +
</ul>
 +
</div>
 +
<h4 class="menu-header">Sponsors</h4>
 +
<div>
 +
<ul>
 +
<a href="https://igem.org/Sponsors"><li>iGEM 2015 Sponsors</li></a>
 +
<a href="https://igem.org/Sponsorship"><li>Sponsor iGEM</li></a>
 +
                                                <a href="https://2015.igem.org/Partner_Special_Offers"><li>Partner Special Offers</li></a>
 +
</ul>
 +
</div>
 +
 
</div>
 
</div>
 
<div class="clear"></div>
 
<div class="clear"></div>
</html> {{2015Bottom}}<html>
+
</html> {{2015Bottom}}<html>
</div>
+
</div></div>
 +
 
 
</html>
 
</html>

Latest revision as of 20:12, 8 October 2015

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.