Difference between revisions of "Dev/Results"

(reordering some columns)
(Make it so that the row children appear when you click the team name)
Line 7: Line 7:
 
<style type="text/css">
 
<style type="text/css">
 
/* Additional style for the +/- buttons */
 
/* Additional style for the +/- buttons */
td.details-control {
+
/*td.details-control {
 
background: url('https://igem.org/common/DataTables-1.10.7/examples/resources/details_open.png') no-repeat center center;
 
background: url('https://igem.org/common/DataTables-1.10.7/examples/resources/details_open.png') no-repeat center center;
 
cursor: pointer;
 
cursor: pointer;
Line 13: Line 13:
 
tr.shown td.details-control {
 
tr.shown td.details-control {
 
background: url('https://igem.org/common/DataTables-1.10.7/examples/resources/details_close.png') no-repeat center center;
 
background: url('https://igem.org/common/DataTables-1.10.7/examples/resources/details_close.png') no-repeat center center;
}
+
}*/
 
#table_team tbody img {
 
#table_team tbody img {
 
padding: 0px;
 
padding: 0px;
Line 86: Line 86:
 
'data': arrayOfTeamAwards,
 
'data': arrayOfTeamAwards,
 
'columns': [
 
'columns': [
{ //Child-table control element
+
// { //Child-table control element
'className': 'details-control',
+
// 'className': 'details-control',
'orderable': false,
+
// 'orderable': false,
'data': null,
+
// 'data': null,
'defaultContent': ''
+
// 'defaultContent': ''
},
+
// },
 
{
 
{
 
'data': function(row, type, val, meta) {
 
'data': function(row, type, val, meta) {
Line 111: Line 111:
 
}
 
}
 
},
 
},
{'data': 'team_name'},
+
{'data': 'team_name', 'className': 'details-control'},
 
{'data': 'award', 'defaultContent': ' '}
 
{'data': 'award', 'defaultContent': ' '}
 
],
 
],
Line 162: Line 162:
 
<THEAD>
 
<THEAD>
 
<TR>
 
<TR>
<TH></TH>
+
<!--<TH></TH>-->
 
<TH></TH>
 
<TH></TH>
 
<TH>Team</TH>
 
<TH>Team</TH>

Revision as of 20:09, 23 September 2015

Comprehensive Results from iGEM 2015

View: [All Teams] [Award Winners] | [Africa] [Asia] [Europe] [Latin America][other?]

Team Award