Formatting changes
This commit is contained in:
parent
fab58ab892
commit
80e22aa63c
@ -12,6 +12,7 @@
|
||||
}
|
||||
td {
|
||||
padding: 0px 8px;
|
||||
min-height: 1em;
|
||||
}
|
||||
td.count {
|
||||
text-align: right;
|
||||
|
@ -180,6 +180,8 @@ async function clickCount() {
|
||||
elTd.style.borderTop = '1px solid black';
|
||||
if (countCard.transfers != '0.00' && countCard.transfers != '0') {
|
||||
elTd.innerText = countCard.transfers;
|
||||
} else {
|
||||
elTd.innerHTML = ' ';
|
||||
}
|
||||
elTr1.appendChild(elTd);
|
||||
|
||||
@ -198,7 +200,7 @@ async function clickCount() {
|
||||
elTd.innerText = 'WD';
|
||||
} else if (countCard.state === py.pyRCV2.model.CandidateState.EXCLUDED) {
|
||||
elTd.classList.add('excluded');
|
||||
elTd.innerText = 'EX';
|
||||
elTd.innerText = 'Ex';
|
||||
} else {
|
||||
elTd.innerText = countCard.votes;
|
||||
}
|
||||
@ -213,6 +215,8 @@ async function clickCount() {
|
||||
elTd.style.borderTop = '1px solid black';
|
||||
if (result.exhausted.transfers != '0.00' && result.exhausted.transfers != '0') {
|
||||
elTd.innerText = result.exhausted.transfers;
|
||||
} else {
|
||||
elTd.innerHTML = ' ';
|
||||
}
|
||||
elExhausted1.appendChild(elTd);
|
||||
|
||||
@ -227,6 +231,8 @@ async function clickCount() {
|
||||
elTd.style.borderTop = '1px solid black';
|
||||
if (result.loss_fraction.transfers != '0.00' && result.loss_fraction.transfers != '-0.00' && result.loss_fraction.transfers != '0') {
|
||||
elTd.innerText = result.loss_fraction.transfers;
|
||||
} else {
|
||||
elTd.innerHTML = ' ';
|
||||
}
|
||||
elLTF1.appendChild(elTd);
|
||||
|
||||
|
Reference in New Issue
Block a user