mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Added preference to change the default Dashboard page
This commit is contained in:
parent
d844bad3b4
commit
7549771228
7 changed files with 37 additions and 0 deletions
|
|
@ -638,7 +638,21 @@ if auth.has_capability(auth.capabilities.preferences) then
|
|||
pref = "is_interface_name_only"
|
||||
})
|
||||
|
||||
-- #####################
|
||||
|
||||
prefsInputFieldPrefs(subpage_active.entries["http_index_page"].title, subpage_active.entries["http_index_page"].description,
|
||||
"ntopng.prefs.", "http_index_page", prefs.http_index_page, false, nil, nil, nil, {
|
||||
style = {
|
||||
width = "25em;"
|
||||
},
|
||||
attributes = {
|
||||
spellcheck = "false",
|
||||
maxlength = 256,
|
||||
}
|
||||
})
|
||||
|
||||
printMenuEntriesPrefs()
|
||||
tprint(prefs)
|
||||
|
||||
print(
|
||||
'<tr><th colspan=2 style="text-align:right;"><button type="submit" class="btn btn-primary" style="width:115px" disabled="disabled">' ..
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue