forked from bitcoinafterlife/bal-welist-website
remove Balance column from server list
This commit is contained in:
@@ -252,7 +252,6 @@ footer a{color:var(--accent);text-decoration:none}
|
||||
<th>Info</th>
|
||||
<th class="num">Fee</th>
|
||||
<th>Version</th>
|
||||
<th class="num">Balance</th>
|
||||
<th class="num">Height</th>
|
||||
<th class="num">Wins</th>
|
||||
<th class="num">Score</th>
|
||||
@@ -382,7 +381,7 @@ function render() {
|
||||
tb.innerHTML = ""; ml.innerHTML = "";
|
||||
|
||||
if (!list.length) {
|
||||
tb.innerHTML = '<tr><td colspan="9" style="padding:28px;text-align:center;color:var(--muted)">No servers found.</td></tr>';
|
||||
tb.innerHTML = '<tr><td colspan="8" style="padding:28px;text-align:center;color:var(--muted)">No servers found.</td></tr>';
|
||||
}
|
||||
|
||||
list.forEach((d, i) => {
|
||||
@@ -396,7 +395,6 @@ function render() {
|
||||
<td class="info">${DOMPurify.sanitize(d.info||'—')}</td>
|
||||
<td class="num">${fmt(d.base_fee)}</td>
|
||||
<td class="mono">${DOMPurify.sanitize(d.version||'—')}</td>
|
||||
<td class="num">${fmt(d.balance)}</td>
|
||||
<td class="num">${fmt(d.last_block)}</td>
|
||||
<td class="num">${d.count_win != null ? d.count_win : '—'}</td>
|
||||
<td class="num"><span class="score">${fmt(d.points)}</span></td>
|
||||
@@ -411,7 +409,6 @@ function render() {
|
||||
<div><span>Score</span><b>${fmt(d.points)}</b></div>
|
||||
<div><span>Wins</span><b>${d.count_win != null ? d.count_win : '—'}</b></div>
|
||||
<div><span>Fee</span><b>${fmt(d.base_fee)} sat</b></div>
|
||||
<div><span>Balance</span><b>${fmt(d.balance)}</b></div>
|
||||
<div><span>Version</span><b>${DOMPurify.sanitize(d.version||'—')}</b></div>
|
||||
<div><span>Height</span><b>${fmt(d.last_block)}</b></div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user