mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
improved SNMP edit pool
This commit is contained in:
parent
54d0ae1e19
commit
e201fe69f2
9 changed files with 95 additions and 30 deletions
22
scripts/lua/modules/ui_utils.lua
Normal file
22
scripts/lua/modules/ui_utils.lua
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
--
|
||||
-- (C) 2020 - ntop.org
|
||||
--
|
||||
|
||||
local dirs = ntop.getDirs()
|
||||
|
||||
require "lua_utils"
|
||||
local template_utils = require("template_utils")
|
||||
|
||||
local ui_utils = {}
|
||||
|
||||
function ui_utils.render_configuration_footer(import_export_context, reset_context)
|
||||
|
||||
local template = {
|
||||
template_utils.gen('pages/components/import-export-link.template', import_export_context),
|
||||
template_utils.gen('pages/components/reset-config-link.template', reset_context)
|
||||
}
|
||||
|
||||
return table.concat(template, "\n")
|
||||
end
|
||||
|
||||
return ui_utils
|
||||
Loading…
Add table
Add a link
Reference in a new issue