mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Adds application category to the flow details page
This commit is contained in:
parent
a552d2e525
commit
6d99be2f2d
7 changed files with 32 additions and 11 deletions
|
|
@ -1264,6 +1264,13 @@ function getApplicationLabel(name)
|
|||
return(icon.." "..name)
|
||||
end
|
||||
|
||||
-- #################################
|
||||
|
||||
function getCategoryLabel(cat_name)
|
||||
cat_name = cat_name:gsub("^%l", string.upper)
|
||||
return(cat_name)
|
||||
end
|
||||
|
||||
function mapOS2Icon(name)
|
||||
if(name == nil) then
|
||||
return("")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue