Commit graph

284 commits

Author SHA1 Message Date
emanuele-f
4f6788fb58 New page_utils api to handle sidebar subitems selection 2020-01-30 11:53:13 +01:00
Luca Deri
70dc07c3f1 ArpMatrix code moved to attic 2020-01-30 09:57:32 +01:00
Luca Deri
2b6cc52f02 GUI fixes
Added GUI preferences section
2020-01-29 23:02:07 +01:00
Luca
5e424511c2 Minor UX fixes 2020-01-29 16:02:02 +01:00
Gabriele Pappalardo
968c9dfff2
add feedback on submenu element hovering
add feedback on submenu element hovering and resizing submenu on resize window
2020-01-29 12:44:18 +01:00
gabryon99
dbd772f33c resize submenu on window resize 2020-01-29 12:28:29 +01:00
Alfredo Cardigliano
f85d205edb Reorganised Settings menu 2020-01-29 12:26:46 +01:00
gabryon99
913592a059 gui fixes, trasnparent backgroun on scrollbar 2020-01-29 10:36:17 +01:00
gabryon99
0f9bf472e3 reduced white spaces 2020-01-29 09:35:06 +01:00
gabryon99
e02cf5be98 removed unecessary blank spaces 2020-01-29 09:28:48 +01:00
gabryon99
99ef5b7c9c moved alerts inside n-container 2020-01-29 09:11:21 +01:00
Luca Deri
253059e9a4 Removed non-standard alert icon 2020-01-28 23:32:13 +01:00
Luca Deri
c5b50dd8b3 Various UX fixes 2020-01-28 23:15:27 +01:00
Luca
41d0b4ccc0 Fixed menu 2020-01-28 20:07:02 +01:00
gabryon99
a46a3241f9 sidebar improving 2020-01-28 19:57:21 +01:00
Simone Mainardi
d4a5939aac Adds external link to the restore configuration 2020-01-28 17:17:36 +01:00
Simone Mainardi
545d10db15 Fixes os_stats dropdown menu link
Fixes #3345
2020-01-28 17:04:20 +01:00
Simone Mainardi
56700cab0c User dropdown menu fixes
Fixes #3347
Fixes #3341
2020-01-28 17:01:25 +01:00
Gabriele Pappalardo
9ae15b7cf0 Sidebar (#3331)
* add sidebar, edit menu, footer pages

* fixed sidebar, responsive sidebar

* fxed effects

* dark sidebar mode, gui fixes for sidebar

* toggle theme button and add padding to menu

* fixed padding too large

* bug fixing

* navbar fixed on top

* sidebar fixing

* sidebar fixes

* add more space for menus

* fix improving

* sidebar fixes for responsive

* sidebar improving

* fix for mac os

* responsive fix

* fixes

* sidebar fixes

* sidebar fixes

* sidebar fixes

* sidebar fixes

* sidebar fixes for responsive

* sidebar fixes

* sidebar.js inside makefile

* fixed padding

* fixes

* fixed sidebar scrollbar for firefox, add a little animation for the "n" inside the logo

* removed long_lived

* fixed color for bottom border

* removed bottom border when sidebar is open
2020-01-28 14:57:04 +01:00
Simone Mainardi
2c6ed549ce Minor menu fix 2020-01-14 10:09:06 +01:00
Simone Mainardi
3611bf7346 Changes to better handling logos 2020-01-13 16:33:05 +01:00
Alfredo Cardigliano
6a4200f7d2 Layout fixes 2020-01-09 15:01:16 +01:00
Luca Deri
170bc60f19 Updated (C) 2020-01-08 23:52:51 +01:00
Alfredo Cardigliano
cfa3c0d1b4 Geolocation support instructions in the AS and countries pages 2020-01-07 17:32:26 +01:00
emanuele-f
ad9c386bb3 Move user scripts gui config to admin, cleanup 2020-01-03 15:16:46 +01:00
emanuele-f
d037f9a9a4 Use new user scripts config and gui
The user scripts configuration can now be configured from the "User Scripts" entry under the cog
icon. It allows the creation of multiple configuration presets to be applied to hosts, networks and
interfaces.
2020-01-03 13:03:34 +01:00
Alfredo Cardigliano
2f3ff489aa Warn the user of maintenance expired before updating 2019-12-30 08:50:48 +01:00
Alfredo Cardigliano
a134ddfbc0 WImprove updates failures detection. Warns he user about updates/upgrade failures 2019-12-20 11:49:22 +01:00
Alfredo Cardigliano
65da842176 Add ntopng service restart to the menu 2019-12-19 18:08:22 +01:00
Simone Mainardi
dacaa7e3db Migrates font-awesome 5 fa to fas 2019-12-18 11:50:02 +01:00
Simone Mainardi
fdba617b0d Fixes discovery for loopback interfaces 2019-12-17 14:27:35 +01:00
emanuele-f
d417160cc4 Implement plugins overview page 2019-12-17 11:33:15 +01:00
emanuele-f
b6cef08bea Fix spurious configuration save requests due to interface switching
Switching the active network interface triggered a POST request, which
was interpreted by the active lua script as a configuration save request.
Now in case of interface switching a 302 redirection is performed to clear
the page state.

Fixes #3126
2019-12-13 14:53:44 +01:00
Simone Mainardi
37f54a5090 Fixes font-awesome 5 external link
Fixes #3125
2019-12-13 10:18:20 +01:00
Alfredo Cardigliano
f6c6e4c54b Add badge for new updates 2019-12-12 15:17:35 +01:00
Alfredo Cardigliano
159a0cdd08 Typo 2019-12-12 12:22:59 +01:00
Alfredo Cardigliano
62c2e9a2de Do not show updates menu on Win 2019-12-12 11:17:51 +01:00
Alfredo Cardigliano
0ef242feb1 Show updates menu when installing from packages only 2019-12-12 10:17:15 +01:00
Alfredo Cardigliano
73bea15edc Implement csrf chain in updates POSTs 2019-12-11 18:13:44 +01:00
Alfredo Cardigliano
5a1a63b709 Moved updates menu 2019-12-11 17:35:04 +01:00
Alfredo Cardigliano
8f652cff71 Software update support 2019-12-11 13:14:15 +01:00
emanuele-f
a3432e00e8 Implement ntopng plugins
Plugins are a convenient way to group together related lua scripts.
Their primary use case is to group user scripts and their alert/status
definition.
The builtin ntopng user scripts and definitions are now
packed into plugins directories. In future, we will support loading of
user created plugins.
Plugins are loaded at startup into some runtime directories and then
used. Other changes provided by this commit include:

- Add sample flow logger plugin
- Initial support for system user scripts
- Rename edge to threshold
- Migrate system probes to user scripts/plugins
- Migrate scripts to more explicit alerts_api.checkThresholdAlert api
2019-12-10 09:25:57 +01:00
Simone Mainardi
7402bbdd14 FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
Luca Deri
bac7c05e4b Various cosmetic fixes 2019-12-07 17:29:49 +01:00
Alfredo Cardigliano
5e3f77bbb6 Moved interface selector 2019-12-06 11:04:54 +01:00
Alfredo Cardigliano
93806e0a83 Main container, moved home 2019-12-05 10:40:28 +01:00
emanuele-f
a08393afcb Fix dialog titles right aligned 2019-12-05 10:31:07 +01:00
Simone Mainardi
d19ff06fca Bootstrap migration fixes dropdown header 2019-12-05 09:59:52 +01:00
Simone Mainardi
786298adeb Bootstrap migration menu fixes 2019-12-05 09:36:05 +01:00
Simone Mainardi
f12c9946e4 Bootstrap migration datatables pagination 2019-12-05 09:27:48 +01:00