feat: hide IP addresses by default, click to reveal

Added maskIp() helper that replaces IPs with ••••••••. A global
delegated click handler reveals the address on click. Applied to:
- Player list 'Address' column
- Player info 'Address' field

Styled .ip-masked with dimmed text and purple hover glow.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-06-13 18:53:18 +02:00
co-authored by Copilot
parent eaa908336d
commit 5f25974cf2
4 changed files with 37 additions and 2 deletions
+14
View File
@@ -47,6 +47,20 @@ a:hover { color: #fff; text-decoration: none; }
/* Fade utility */
.fade { opacity: 0.5; }
/* IP address masking */
.ip-masked {
cursor: pointer;
color: rgba(255,255,255,0.35);
transition: color 0.2s;
user-select: none;
}
.ip-masked:hover {
color: var(--rcon-accent);
}
.ip-revealed {
color: rgba(255,255,255,0.85);
}
/* Table styles */
#PlayerListController .table-responsive {
min-height: calc(100vh - 200px);