mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
parent
c6668f05c1
commit
b090594027
2 changed files with 10 additions and 8 deletions
|
|
@ -49,12 +49,10 @@ if host ~= nil then
|
|||
end
|
||||
print("</a></li>\n")
|
||||
|
||||
if isEmptyString(host) then
|
||||
if((page == "overview") or (page == nil)) then
|
||||
print("<li class=\"active\"><a href=\"#\"><i class=\"fa fa-home fa-lg\"></i></a></li>\n")
|
||||
else
|
||||
print("<li><a href=\""..url.."&page=overview\"><i class=\"fa fa-home fa-lg\"></i></a></li>")
|
||||
end
|
||||
if((page == "overview") or (page == nil)) then
|
||||
print("<li class=\"active\"><a href=\"#\"><i class=\"fa fa-home fa-lg\"></i></a></li>\n")
|
||||
else
|
||||
print("<li><a href=\"".. ntop.getHttpPrefix() .."/lua/system/rtt_stats.lua\"><i class=\"fa fa-home fa-lg\"></i></a></li>")
|
||||
end
|
||||
|
||||
if((host ~= nil) and ts_utils.exists("monitored_host:rtt", {ifid=getSystemInterfaceId(), host=host})) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue