mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Added tooltip for new alert cards
This commit is contained in:
parent
f6f089c69e
commit
d87599dba3
2 changed files with 21 additions and 22 deletions
|
|
@ -45,30 +45,25 @@ for _, value in pairs(res.top.alert_id) do
|
|||
}
|
||||
end
|
||||
|
||||
res = {
|
||||
top_hosts = {
|
||||
label = i18n("alerts_dashboard.top_hosts"),
|
||||
value = {
|
||||
res.top.ip
|
||||
-- Request from the frontend - to have
|
||||
res = {
|
||||
{
|
||||
top_hosts = {
|
||||
label = i18n("alerts_dashboard.top_hosts"),
|
||||
tooltip = i18n("alerts_dashboard.tooltips.top_hosts"),
|
||||
value = {
|
||||
res.top.ip
|
||||
},
|
||||
},
|
||||
},
|
||||
top_srv = {
|
||||
label = i18n("alerts_dashboard.top_srv"),
|
||||
value = {
|
||||
res.top.srv_ip
|
||||
},
|
||||
},
|
||||
top_cli = {
|
||||
label = i18n("alerts_dashboard.top_cli"),
|
||||
value = {
|
||||
res.top.cli_ip
|
||||
},
|
||||
},
|
||||
top_alerts = {
|
||||
label = i18n("alerts_dashboard.top_alerts"),
|
||||
value = {
|
||||
top_alerts
|
||||
},
|
||||
{
|
||||
top_alerts = {
|
||||
label = i18n("alerts_dashboard.top_alerts"),
|
||||
tooltip = i18n("alerts_dashboard.tooltips.top_alerts"),
|
||||
value = {
|
||||
top_alerts
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue