Difference between revisions of "Dev/Results"
(Copied in a lot of Randy's source, radically shortened) |
(Removed index column stuff. Plugged in AJAX data source. Hope it works.) |
||
Line 11: | Line 11: | ||
'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, | ||
+ | 'deferRender': true, //improves performance | ||
+ | 'ajax': 'https://igem.org/awards/json_dump.cgi', | ||
+ | 'columns': [ | ||
+ | {'data': 'team_name'}, | ||
+ | {'data': 'region'}, | ||
+ | {'data': 'section'}, | ||
+ | {'data': 'medal'} | ||
+ | ], | ||
//'scrollY': '2000px', | //'scrollY': '2000px', | ||
//'scrollCollapse': true, | //'scrollCollapse': true, | ||
//'paging': true, | //'paging': true, | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} ); // close DataTable | } ); // close DataTable | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
jQuery('#table_team').addClass('hover'); | jQuery('#table_team').addClass('hover'); | ||
Line 53: | Line 47: | ||
<THEAD> | <THEAD> | ||
<TR> | <TR> | ||
− | + | <TH>Team</TH> | |
− | <TH>Team | + | |
<TH>Region</TH> | <TH>Region</TH> | ||
− | |||
− | |||
<TH>Section</TH> | <TH>Section</TH> | ||
− | <TH> | + | <TH>Medal</TH> |
− | + | ||
</TR> | </TR> | ||
</THEAD> | </THEAD> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</TABLE> | </TABLE> | ||
Revision as of 14:56, 23 September 2015
Comprehensive Results from iGEM 2015
This page requires Javascript. Please enable Javascript in your browser, then reload this page.
(This is where there were links to change region/year/etc. For me, I'd probably have links to quickly view award winners, all teams, and maybe a couple other categories)
Team | Region | Section | Medal |
---|