Account-Liste: Status-Spalte sortiert nach Premium-Restlaufzeit (Klick)

User-Wunsch: in der Account-Liste auf "Status" klicken und nach Premium-Restlaufzeit
sortieren (laengste<->kuerzeste). Da die Accounts pro Anbieter gruppiert sind, wird
INNERHALB jeder Gruppe sortiert (dort sitzen die Premium-Tage).

- Neuer Zustand accountStatusSort (none -> desc -> asc -> none) per Klick auf den
  Status-Spaltenkopf (mit ▼/▲-Indikator).
- groupedAccountRows sortiert bei desc/asc jede Gruppe nach premiumUntilMs:
  Premium-Accounts nach Restlaufzeit (desc = laengste zuerst, asc = kuerzeste
  zuerst), Accounts ohne Premium/ohne Status bleiben am Ende.

Reine Renderer-Aenderung. tsc=6, build ok.
This commit is contained in:
Sucukdeluxe
2026-06-15 03:49:00 +02:00
parent f5fe52bbb3
commit 622ed1653b
2 changed files with 25 additions and 2 deletions
+2
View File
@@ -3321,6 +3321,8 @@ td {
.acct2-expiry { font-variant-numeric: tabular-nums; color: var(--muted); }
.acct2-head > span:nth-child(3),
.acct2-traffic { text-align: center; }
.acct2-sortable { cursor: pointer; user-select: none; }
.acct2-sortable:hover { color: var(--text); }
.acct2-user { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct2-status .account-validity-badge { margin-top: 0; }
.acct2-nostatus { color: var(--muted); opacity: 0.6; font-variant-numeric: tabular-nums; }