Difference between revisions of "Team:UC San Diego/Parts"

Line 37: Line 37:
  
 
<center>
 
<center>
<div id='groupparts' style='min-height:100px;width:700px;'><div style='width:300px;margin:2px;padding:20px;color:gray;border:1px solid gray'>LOADING UCSD 2015 PARTS...</div></div>
 
  
<script>$('#groupparts').load('/cgi/api/groupparts.cgi', { t:'iGEM015', g:'UC_San_Diego' },function(){ $('#groupparts .tablesorter').tablesorter();} );</script>
 
  
<p>
+
<div class="col-xs-12">
 
+
<div id="partsTable">Loading...</div>
<div class="col-xs-9">
+
<div id="partsTable">Loading...</div>
+
 
</div>
 
</div>
  
Line 63: Line 59:
 
         </div>
 
         </div>
 
       </div>
 
       </div>
 +
  
 
<script type="text/javascript">
 
<script type="text/javascript">
Line 68: Line 65:
  
 
$( document ).ready(function() {
 
$( document ).ready(function() {
jQuery("#partsTable").load("https://2014.igem.org/cgi/api/groupparts.cgi?t=iGEM015&amp;g=UC_San_Diego", function(){
+
jQuery("#partsTable").load("https://2014.igem.org/cgi/api/groupparts.cgi?t=iGEM014&amp;g=Heidelberg", function(){
$('.pgrouptable tr td:nth-child(5) a').each(function(){
+
$('.pgrouptable tr td:nth-child(4) a').each(function(){
 
var text = $(this).text();
 
var text = $(this).text();
 
if($.inArray(text, keepParts) == -1){
 
if($.inArray(text, keepParts) == -1){
Line 75: Line 72:
 
}
 
}
 
});
 
});
 +
$('.pgrouptable tr td:nth-child(7)').remove();
 +
$('.pgrouptable tr th:nth-child(7)').remove();
 
$('.pgrouptable').removeClass('pgrouptable tablesorter').addClass('table table-hover');
 
$('.pgrouptable').removeClass('pgrouptable tablesorter').addClass('table table-hover');
 
$('.heart13').removeClass('heart13').addClass('glyphicon glyphicon-heart');
 
$('.heart13').removeClass('heart13').addClass('glyphicon glyphicon-heart');
Line 83: Line 82:
  
 
</script>
 
</script>
 +
 +
  
  

Revision as of 19:15, 2 September 2015


List of Parts


Loading...

Title

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu suscipit lectus. Pellentesque ut risus rhoncus, congue tortor at, aliquam augue. Vestibulum ex mi, varius quis sollicitudin at, blandit ac lorem. Vivamus mattis sapien turpis, in fringilla nulla cursus id. Vestibulum vestibulum velit et accumsan aliquet. Aenean nulla justo, scelerisque id pulvinar eu, fringilla et nisl. Cras sapien magna, tincidunt in sapien et, sagittis sodales lacus. Praesent a ex ut augue fringilla interdum.