Commit a8c348ba authored by Mathieu Giraud's avatar Mathieu Giraud

js/builder.js: color by productivity, add 'no CDR3' key

Things aren't always binary.
parent 58d6c798
......@@ -857,9 +857,15 @@ Builder.prototype = {
var spanProductive = document.createElement('span')
spanProductive.style.backgroundColor = colorProductivity('true')
spanProductive.className = 'tagColorBox'
span2.appendChild(spanNotProductive)
span2.appendChild(spanProductive)
span3.appendChild(document.createTextNode('productive'));
span1.appendChild(spanNotProductive)
span1.appendChild(spanProductive)
span2.appendChild(document.createTextNode('productive'));
var spanNoCDR3 = document.createElement('span')
spanNoCDR3.className = 'tagColorBox tagColor8'
span3.style.marginLeft = '20px'
span3.appendChild(document.createTextNode(' no CDR3 '));
span3.appendChild(spanNoCDR3);
break;
case "abundance":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment