mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Initial nedge2 lua page setup
This commit is contained in:
parent
f85f3be347
commit
e3941556ae
7 changed files with 108 additions and 1 deletions
|
|
@ -398,8 +398,13 @@ user_group = ntop.getUserGroup()
|
|||
|
||||
if(user_group == "administrator") then
|
||||
print(ntop.getHttpPrefix())
|
||||
print [[/lua/admin/users.lua"><i class="fa fa-user"></i> Manage Users</a></li>
|
||||
if not haveNedge2() then
|
||||
print [[/lua/admin/users.lua"><i class="fa fa-user"></i> Manage Users</a></li>
|
||||
]]
|
||||
else
|
||||
print [[/lua/admin/nf_list_users.lua"><i class="fa fa-user"></i> Manage Users</a></li>
|
||||
]]
|
||||
end
|
||||
else
|
||||
print [[#password_dialog" data-toggle="modal"><i class="fa fa-user"></i> Change Password</a></li>
|
||||
]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue