mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
widgets and datasources hidden from menu
This commit is contained in:
parent
a8463eac89
commit
ecd3e4e062
1 changed files with 5 additions and 5 deletions
|
|
@ -555,16 +555,16 @@ if not info.oem then
|
|||
},
|
||||
{
|
||||
entry = page_utils.menu_entries.divider,
|
||||
hidden = not is_admin,
|
||||
hidden = true,
|
||||
},
|
||||
{
|
||||
entry = page_utils.menu_entries.widgets_list,
|
||||
hidden = not is_admin,
|
||||
hidden = true,
|
||||
url = '/lua/widgets_list.lua',
|
||||
},
|
||||
{
|
||||
entry = page_utils.menu_entries.datasources_list,
|
||||
hidden = not is_admin,
|
||||
hidden = true,
|
||||
url = '/lua/datasources_list.lua',
|
||||
},
|
||||
},
|
||||
|
|
@ -763,12 +763,12 @@ print([[
|
|||
]])
|
||||
if is_system_interface then
|
||||
print(i18n("system"))
|
||||
else
|
||||
else
|
||||
if ifs.hasSubInterfaces then
|
||||
print('<i class="fas fa-ethernet"></i> <i class="fas fa-code-branch"></i> ')
|
||||
elseif ifs.isDynamic then
|
||||
print('<i class="fas fa-code-branch"></i> ')
|
||||
else
|
||||
else
|
||||
print('<i class="fas fa-ethernet"></i> ')
|
||||
end
|
||||
print(getHumanReadableInterfaceName(ifname))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue