panel: the Remaining header hides with its own column
ci/woodpecker/push/woodpecker Pipeline was successful

In All-time mode the Remaining *cell* carried remaining-only and hid, while its
header did not — so every column after it sat under the wrong heading and the
reset dates appeared under Remaining. The header now carries the same class its
cell does. Also widened the loading row's colspan to the real column count.
This commit is contained in:
inference-admin committed 2026-11-14 21:54:35 +00:00
1 parent 80e1eaea48
commit d329b05fe3
1 file changed
+2 -2
+2 -2
View File
@@ -520,12 +520,12 @@ PAGE_HTML = """<!DOCTYPE html>
<th class="sortable balance-col allowance-only" onclick="sortMembers('balance')">Allowance<span class="arrow" id="arrow-members-balance"></span></th>
<th class="sortable balance-col credits-col-head" onclick="sortMembers('credit_balance')">Credits<span class="mode-note"></span><span class="arrow" id="arrow-members-credit_balance"></span></th>
<th class="sortable" onclick="sortMembers('spend')"><span id="spend-mode-label">Spend</span><span class="arrow" id="arrow-members-spend"></span></th>
<th class="sortable balance-col" onclick="sortMembers('remaining')">Remaining<span class="arrow" id="arrow-members-remaining"></span></th>
<th class="sortable balance-col remaining-only" onclick="sortMembers('remaining')">Remaining<span class="arrow" id="arrow-members-remaining"></span></th>
<th class="sortable balance-col" onclick="sortMembers('reset_at')">Reset<span class="arrow" id="arrow-members-reset_at"></span></th>
<th>Adjust</th>
</tr>
</thead>
<tbody id="rows"><tr><td colspan="8" style="color:var(--muted)">Loading…</td></tr></tbody>
<tbody id="rows"><tr><td colspan="10" style="color:var(--muted)">Loading…</td></tr></tbody>
</table>
</div>