feat(admin-remnawave): provider favicon, mobile node card, meaningful icons

- Render the provider favicon in the node badge (new provider_favicon / provider_name fields), with graceful fallback.
- Mobile-friendly node card: stop the versions block from shifting right on wrapped rows, truncate long addresses, cap the provider badge.
- Give node-summary cards (total/online/offline/disabled) and traffic-period cards (2d/7d/30d/month/year) distinct, meaningful icons instead of all-the-same globe / bar-chart.
- Show traffic as 'used / limit' (e.g. 2.35 TB / ∞).
- Route every icon through the central barrel (drop the direct react-icons/pi import).
This commit is contained in:
c0mrade
2026-06-01 13:08:30 +03:00
parent 6ea767253f
commit 9309643b7e
2 changed files with 53 additions and 26 deletions

View File

@@ -134,6 +134,8 @@ export interface NodeInfo {
created_at?: string;
updated_at?: string;
provider_uuid?: string;
provider_name?: string | null;
provider_favicon?: string | null;
versions?: { xray: string; node: string } | null;
system?: {
info: {