Changed refresh interval for SNMP table to 1 minute (#8433)

* added guide for GUI development functioning

* Changed table refresh to 1 minut

* updated en.lua path

* Added lua navbar documentation

* Fixed SNMP menu entry highlight

---------

Co-authored-by: DGabri <gabriele.deri@gmail.com>
This commit is contained in:
GabrieleDeri 2024-06-05 15:58:10 +02:00 committed by GitHub
parent 778bd5dbd6
commit 995948ad32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 27 additions and 4 deletions

View file

@ -9,4 +9,4 @@
1. `active` is used to highlight which page is currently selected
2. `page_name` refers to the name of the page
3. `url` (if present) represent the url to which you will be redirected if the icon or name is clicked. A utility function is present "ntop.getHttpPrefix()" which gets the url prefix for the ntopng instance, concatenate after the base url the params that are needed to be redirected to the target page
4. `label` is an html template icon. To display a tooltip on hover insert this in the html tag `data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"" .. i18n(<ENTRY>) .. "\"`. <ENTRY> is a string to display content inside the tooltip. To retrieve ENTRY value open `en.lua` and search a relevant name to insert in the tooltip. If a relevant name is not present add an entry in the appropriate section inside en.lua
4. `label` is an html template icon. To display a tooltip on hover insert this in the html tag `data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"" .. i18n(<ENTRY>) .. "\"`. <ENTRY> is a string to display content inside the tooltip. To retrieve ENTRY value please check `scripts/locales/en.lua` and search a relevant name to insert in the tooltip. If a relevant name is not present add an entry in the appropriate section inside en.lua