Commit graph

472 commits

Author SHA1 Message Date
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
Simone Mainardi
b8dadfc8a1 Bootstrap migration main menu navbar 2019-12-05 09:27:48 +01:00
Alfredo Cardigliano
a26d707713 Restored old top navbar 2019-12-05 09:27:47 +01:00
Alfredo Cardigliano
fa97d65293 Fix sidebar items 2019-12-05 09:27:47 +01:00
Alfredo Cardigliano
b7515f0ad6 Add sidebar (WIP) 2019-12-05 09:27:47 +01:00
Simone Mainardi
bd30b4ad8e Tentative navbar for mac details 2019-12-05 09:27:47 +01:00
Alfredo Cardigliano
c287030593 Comments 2019-12-05 09:27:46 +01:00
Simone Mainardi
d7d26faad1 Initial migration to bootstrap4 2019-12-05 09:27:46 +01:00
Luca
6ae67a84b6 Revert "Moved menu items"
This reverts commit 2135ddf089.

Revert "Add sidebar"

This reverts commit f24801570e.
2019-11-29 10:37:16 +01:00
Alfredo Cardigliano
2135ddf089 Moved menu items 2019-11-28 10:55:45 +01:00
Alfredo Cardigliano
f24801570e Add sidebar 2019-11-28 10:36:49 +01:00
Alfredo Cardigliano
d69276396f Replace Interfaces dropdown with Interface stats link and interface selector 2019-11-27 17:28:48 +01:00
emanuele-f
478c97b743 Inhibit some influxdb queries when the database does not respond
This reduces the gui loading time when such event occurs
2019-11-25 15:39:21 +01:00