Template:Team:Paris Saclay/simbox
From 2013.igem.org
(Difference between revisions)
Line 90: | Line 90: | ||
reshtmlparamdiv += '<span style="font-weight:bold;padding:0.1em 0.3em;color:#FFFFFF;background-color:'+molecules[i].curve_color+';">'+molecules[i].name+'</span> '; | reshtmlparamdiv += '<span style="font-weight:bold;padding:0.1em 0.3em;color:#FFFFFF;background-color:'+molecules[i].curve_color+';">'+molecules[i].name+'</span> '; | ||
} | } | ||
- | |||
for(var i= 0 ; i < molecules.length ; ++i) | for(var i= 0 ; i < molecules.length ; ++i) | ||
{ | { | ||
if(molecules[i].adjustable) | if(molecules[i].adjustable) | ||
{ | { | ||
- | reshtmlparamdiv += '<br />'; | + | reshtmlparamdiv += '<br /><br />'; |
reshtmlparamdiv += molecules[i].name + ' = <input type="number" min="0" value="'+molecules[i].quantity+'" />'; | reshtmlparamdiv += molecules[i].name + ' = <input type="number" min="0" value="'+molecules[i].quantity+'" />'; | ||
} | } |
Revision as of 20:07, 2 August 2013