mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
Fixes backup page, ported to vue (#10198)
* Updated backup page to new vuejs components * Update dist
This commit is contained in:
parent
2134a6deb0
commit
111dea4dc2
10 changed files with 412 additions and 128 deletions
|
|
@ -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
|
||||
-- ************************************* ------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue