reverse colors
This commit is contained in:
@@ -245,8 +245,8 @@
|
||||
|
||||
document.getElementById('s-match').innerText = stats['='];
|
||||
document.getElementById('s-mismatch').innerText = stats['*'];
|
||||
document.getElementById('s-missing').innerText = stats['-'];
|
||||
document.getElementById('s-extra').innerText = stats['+'];
|
||||
document.getElementById('s-missing').innerText = stats['+'];
|
||||
document.getElementById('s-extra').innerText = stats['-'];
|
||||
document.getElementById('report-content').style.display = 'block';
|
||||
document.getElementById('treeContainer').innerHTML = buildHtml(tree, "", folderErrors);
|
||||
const t = allI18n[currentLang];
|
||||
@@ -269,7 +269,7 @@
|
||||
<details><summary>📁 ${name}/ ${hasErr?'<span class="error-dot">●</span>':''}</summary>${buildHtml(val, thisPath, folderErrors)}</details>
|
||||
</li>`;
|
||||
} else {
|
||||
const colors = {'=':'#28a745', '*':'#dc3545', '-':'#ffc107', '+':'#17a2b8'};
|
||||
const colors = {'=':'#28a745', '*':'#dc3545', '+': '#ffc107', '-': '#17a2b8'};
|
||||
html += `<li class="file ${val==='='?'is-match':'is-error'}">
|
||||
<span class="badge" style="background:${colors[val]}">${val}</span>${name}
|
||||
</li>`;
|
||||
|
||||
Reference in New Issue
Block a user