Fixes backup page, ported to vue (#10198)

* Updated backup page to new vuejs components

* Update dist
This commit is contained in:
GabrieleDeri 2026-03-23 09:41:25 +01:00 committed by GitHub
parent 2134a6deb0
commit 111dea4dc2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 412 additions and 128 deletions

View file

@ -122,13 +122,15 @@ if (page == "manage_configurations_backup") then
page_context = json.encode({})
})
else
template_utils.render("pages/manage_configurations.template", {
info = ntop.getInfo(),
template_utils = template_utils,
manage_configurations = {
selected_item = selected_item,
configuration_items = configuration_items
}
local info = ntop.getInfo()
template_utils.render("pages/vue_page.template", {
vue_page_name = "PageManageConfigurations",
page_context = json.encode({
selected_item = selected_item,
configuration_items = configuration_items,
product = info["product"],
csrf = ntop.getRandomCSRFValue()
})
})
end
-- ************************************* ------