Difference between revisions of "Dev/Results"

(moving Section into the supplementary info)
(finished moving section into supplementary info)
Line 17: Line 17:
  
 
<script>
 
<script>
 +
 +
String.prototype.capitalize = function() {
 +
    return this.charAt(0).toUpperCase() + this.slice(1);
 +
}
  
 
//Function to generate the supplementary-info child rows
 
//Function to generate the supplementary-info child rows
Line 22: Line 26:
 
return '<table cellpadding="5" cellspacing="0" border="0" style="padding-left:50px;">'+
 
return '<table cellpadding="5" cellspacing="0" border="0" style="padding-left:50px;">'+
 
'<tr>' +  
 
'<tr>' +  
'<td>Section: ' + data.section.toUpperCase() + '</td>' +
+
'<td>Section: ' + data.section.capitalize() + '</td>' +
 
'</tr>' +
 
'</tr>' +
 
'<tr>'+
 
'<tr>'+
Line 49: Line 53:
 
{'data': 'team_name'},
 
{'data': 'team_name'},
 
{'data': 'region'},
 
{'data': 'region'},
{'data': 'section'},
 
 
{'data': 'medal',}
 
{'data': 'medal',}
 
],
 
],
Line 96: Line 99:
 
<TH>Team</TH>
 
<TH>Team</TH>
 
<TH>Region</TH>
 
<TH>Region</TH>
<TH>Section</TH>
 
 
<TH>Medal</TH>
 
<TH>Medal</TH>
 
</TR>
 
</TR>

Revision as of 16:52, 23 September 2015

Comprehensive Results from iGEM 2015

View: [All Teams] [Award Winners] [other?]

Team Region Medal