mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Merge branch 'dev' of https://github.com/ntop/ntopng into dev
This commit is contained in:
commit
9a180bc958
2 changed files with 18 additions and 5 deletions
|
|
@ -944,12 +944,14 @@ print [[/lua/get_arp_data.lua', { ifid: "]] print(ifId.."") print ('", '..hostin
|
|||
]]
|
||||
|
||||
elseif((page == "ports")) then
|
||||
print [[
|
||||
print('<table class="table table-bordered table-striped">\n')
|
||||
|
||||
<table class="table table-bordered table-striped">
|
||||
]]
|
||||
|
||||
print('<tr><th class="text-left">'..i18n("ports_page.client_ports")..'</th><td colspan=5><div class="pie-chart" id="clientPortsDistro"></div></td></tr>')
|
||||
if(host.cardinality) then
|
||||
print('<tr><th class="text-left">'..i18n("ports_page.client_ports")..'</th><td colspan=5><span id="num_contacted_ports_as_client">'.. host.cardinality.num_contacted_ports_as_client ..'</div></td></tr>')
|
||||
print('<tr><th class="text-left">'..i18n("ports_page.client_ports")..'</th><td colspan=5><span id="num_host_contacted_ports_as_server">'.. host.cardinality.num_host_contacted_ports_as_server ..'</div></td></tr>')
|
||||
|
||||
end
|
||||
print('<tr><th class="text-left" rowspan=2>'..i18n("ports_page.client_ports")..'</th><td colspan=5><div class="pie-chart" id="clientPortsDistro"></div></td></tr>')
|
||||
print('<tr><th class="text-left">'..i18n("ports_page.server_ports")..'</th><td colspan=5><div class="pie-chart" id="serverPortsDistro"></div></td></tr>')
|
||||
|
||||
print [[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue