feat: add traffic abuse risk assessment with color gradation

Add threshold inputs (total GB/day, per-node GB/day) to admin traffic
usage page. When set, rows get background color gradation (green to red)
and node cells get text color (blue to red) based on threshold ratios.
Conditional Risk column shows composite risk badge with level indicator.
7 i18n keys added across all 4 locales (ru, en, zh, fa).
This commit is contained in:
Fringg
2026-02-07 12:41:34 +03:00
parent 90b38e3ef2
commit a6507b2cfe
5 changed files with 309 additions and 54 deletions

View File

@@ -836,7 +836,14 @@
"statusDisabled": "Отключена",
"customDates": "Выбрать даты",
"dateFrom": "От",
"dateTo": "До"
"dateTo": "До",
"totalThreshold": "Всего ГБ/д",
"nodeThreshold": "Нода ГБ/д",
"risk": "Риск",
"riskLow": "Низкий",
"riskMedium": "Средний",
"riskHigh": "Высокий",
"riskCritical": "Критический"
},
"emailTemplates": {
"title": "Email-шаблоны",