mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
fix key rendering in widegts list and added get_widget inside widget_utils
This commit is contained in:
parent
848a5db012
commit
176e3d7c29
3 changed files with 59 additions and 6 deletions
|
|
@ -32,7 +32,6 @@ local interfaces_list = {}
|
|||
interfaces_list[-1] = "None"
|
||||
|
||||
for v, k in pairs(iface_names) do
|
||||
|
||||
interface.select(k)
|
||||
local _ifstats = interface.getStats()
|
||||
interfaces_list[_ifstats.id] = getHumanReadableInterfaceName(_ifstats.description .. "")
|
||||
|
|
@ -49,7 +48,6 @@ local context = {
|
|||
info = ntop.getInfo(),
|
||||
}
|
||||
|
||||
-- print config_list.html template
|
||||
print(template.gen("pages/widgets_list.template", context))
|
||||
|
||||
-- append the menu below the page
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue