mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
added label "used by" in pool modals
This commit is contained in:
parent
b62fc9de77
commit
a07c093e1e
5 changed files with 81 additions and 66 deletions
|
|
@ -7,6 +7,7 @@ package.path = dirs.installdir .. "/scripts/lua/modules/pools/?.lua;" .. package
|
|||
|
||||
require "lua_utils"
|
||||
local page_utils = require "page_utils"
|
||||
local json = require "dkjson"
|
||||
local template_utils = require "template_utils"
|
||||
local interface_pools = require "interface_pools"
|
||||
|
||||
|
|
@ -27,13 +28,18 @@ page_utils.print_page_title(i18n("pools.pool_names.interface"))
|
|||
|
||||
local context = {
|
||||
template_utils = template_utils,
|
||||
json = json,
|
||||
pool = {
|
||||
name = "interfaces",
|
||||
members = s:get_available_members(),
|
||||
instance = s,
|
||||
all_members = s:get_all_members(),
|
||||
configsets = s:get_available_configset_ids(),
|
||||
assigned_members = s:get_assigned_members(),
|
||||
}
|
||||
}
|
||||
|
||||
tprint(context.pool)
|
||||
|
||||
print(template_utils.gen("pages/table_pools.template", context))
|
||||
|
||||
-- ************************************* ------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue