mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
22 lines
No EOL
513 B
Lua
22 lines
No EOL
513 B
Lua
--
|
|
-- (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 |