Difference between revisions of "Dev/Results"

(loading?)
(I htink because of the double ajax request I get to do my OWN loading message.)
Line 75: Line 75:
 
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>");
 
 
 
//Request team data
 
//Request team data
Line 101: Line 102:
 
//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();
 
var teamsData = teamsReqResult[0];
 
var teamsData = teamsReqResult[0];
 
var awardsData = awardsReqResult[0];
 
var awardsData = awardsReqResult[0];
Line 226: Line 228:
 
</THEAD>
 
</THEAD>
 
<TBODY>
 
<TBODY>
 +
<tr>
 +
<td id="javascript-disabled" colspan="3">Please enable JavaScript in your browser to view results.</td>
 +
</tr>
 
</TBODY>
 
</TBODY>
 
</TABLE>
 
</TABLE>

Revision as of 21:25, 23 September 2015

Comprehensive Results from iGEM

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

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