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

Line 3: Line 3:
 
<html>
 
<html>
 
<body>
 
<body>
 +
<style type="text/css">
 +
.col-xs-9{float:inherit}
 +
</style>
  
 
       <div id="heading-pages">
 
       <div id="heading-pages">
Line 21: Line 24:
 
               <div class="post-content">
 
               <div class="post-content">
 
<p>
 
<p>
<center><img src="images/image-post.jpg" alt="image"></center>
+
 
 +
 
  
 
                 <div class="post-title">
 
                 <div class="post-title">
Line 27: Line 31:
 
                 </div>
 
                 </div>
 
                 <div class="post-discription">
 
                 <div class="post-discription">
                  <p>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.</p>
+
 
 +
<center><div class="col-xs-9">
 +
<div id="partsTable">LOADING UCSD 2015 PARTS...</div>
 +
</div></center>
  
 
                 <div class="post-title">
 
                 <div class="post-title">
Line 33: Line 40:
 
                 </div>
 
                 </div>
 
<p>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.</p>
 
<p>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.</p>
 +
 +
 
              
 
              
                 </div>
+
                 </div><!--desc-->
 
               </div>
 
               </div>
 
             </div>
 
             </div>
Line 40: Line 49:
 
         </div>
 
         </div>
 
       </div>
 
       </div>
 +
 +
<script type="text/javascript">
 +
var keepParts = ['BBa_K1842000', 'BBa_K1842001', 'BBa_K1842002', 'BBa_K1842003'];
 +
 +
$( document ).ready(function() {
 +
jQuery("#partsTable").load("https://2015.igem.org/cgi/api/groupparts.cgi?t=iGEM015&amp;g=UC_San_Diego", function(){
 +
$('.pgrouptable tr td:nth-child(4) a').each(function(){
 +
var text = $(this).text();
 +
if($.inArray(text, keepParts) == -1){
 +
$(this).parent().parent().remove();
 +
}
 +
});
 +
$('.pgrouptable').removeClass('pgrouptable tablesorter').addClass('table table-hover');
 +
$('.heart13').removeClass('heart13').addClass('glyphicon glyphicon-heart');
 +
 +
});
 +
 +
});
 +
 +
</script>
  
  

Revision as of 19:37, 19 August 2015

Parts

Donec dignissim, enim vitae dapibus aliquam, enim tellus dignissim purus, a interdum felis tellus vel felis.

Title

LOADING UCSD 2015 PARTS...

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.