Difference between revisions of "Template:ReadingTeamFunctions"
Line 66: | Line 66: | ||
var names = ["Hannah </br> Collard", "Samuel </br> Hardy"]; | var names = ["Hannah </br> Collard", "Samuel </br> Hardy"]; | ||
var pictureName = ["/4/41/Blankprofile.png", "/4/41/Blankprofile.png"]; | var pictureName = ["/4/41/Blankprofile.png", "/4/41/Blankprofile.png"]; | ||
− | var teamHTML = '<table style="width: | + | var teamHTML = '<table style="width:75%; color:#d8131d;">'; |
var newline = true; | var newline = true; | ||
while(newline){ | while(newline){ | ||
teamHTML += '<tr>'; | teamHTML += '<tr>'; | ||
for(i2 = 0; i2 < 4; i2++){ | for(i2 = 0; i2 < 4; i2++){ | ||
− | if(index < names.length){teamHTML += '<td valign="bottom" align="left"><p style=\"font-size:130%\">' + names[index] + '</p><div style="border-style:solid; border-color:#ffffff; border-width:5px; width: | + | if(index < names.length){teamHTML += '<td valign="bottom" align="left"><p style=\"font-size:130%\">' + names[index] + '</p><div style="border-style:solid; border-color:#ffffff; border-width:5px; width: 50%; border-radius:100%; height: 0; padding-bottom: 50%; background-size:cover; background-image:url(https://static.igem.org/mediawiki/2015' + pictureName[index] + ');"></div></td>'; |
index += 1;} | index += 1;} | ||
else{ | else{ |
Revision as of 14:50, 18 August 2015