Commit graph

44 commits

Author SHA1 Message Date
Simone Mainardi
8344116056 Refactors import/export/reset REST API endpoints 2021-06-17 18:25:06 +02:00
Simone Mainardi
e33af8a23c Refactors script_categories into check_categories (c++ and lua) 2021-06-16 18:43:55 +02:00
Simone Mainardi
1dce9e5842 Migrates to Bootstrap 5
Adds bootstrap-5.0.0-beta3-dist

Adds bootstrap-5.0.0

Updates bootstrap-5.0.0-beta3-dist to bootstrap-5.0.0-dist

initial migration to bs v5

porting to bs5

improvements on dropdown menu filter

fixed host map dropdown

removed excessive padding

fix button toggle

re-add blog news

removed text decoration for links

fix button layout (#5348)

remove underscore from href (#5347)
2021-05-18 11:39:59 +02:00
Alfredo Cardigliano
fa311e3ade Rework user script working sets (a single configset is supported now) 2021-03-01 15:37:45 +01:00
gabryon99
3517435314 add missing reload buttons (#4676) 2020-11-04 21:56:07 +01:00
gabryon99
811b3f8e3c removed references to old ImportModal 2020-10-05 18:39:07 +02:00
gabryon99
a0488ad214 foxed button style (#4467) 2020-09-25 18:06:10 +02:00
gabryon99
e0eb5d6bcd hide button for default only config in config page (#4467) 2020-09-23 16:35:21 +02:00
gabryon99
472491673d fix rename default config in config list (#4467) 2020-09-23 16:16:03 +02:00
gabryon99
d928067e36 improved script lists 2020-09-16 19:09:41 +02:00
gabryon99
18391dd683 fix disabled button in scripts list 2020-09-16 18:02:00 +02:00
Simone Mainardi
1ae2b2d932 Refactors NtopngUtils into NtopUtils 2020-08-18 15:10:04 +02:00
Simone Mainardi
e61f9ffe68 Refactor JS code into class NtopngUtils
Implements #3735
2020-08-18 14:13:48 +02:00
gabryon99
1ba69cca0a showing no pool message when there are no pool assocated with a config 2020-08-01 15:40:36 +02:00
gabryon99
693070b174 fixed button style for configuration scripts 2020-07-30 15:57:17 +02:00
Simone Mainardi
2230673eb3 Reworks user scripts UI with new host pools 2020-07-09 19:12:20 +02:00
gabryon99
6ada544339 removed multiple csrf 2020-05-06 18:42:49 +02:00
emanuele-f
44a07d555b Implement RTT export/import/reset 2020-03-18 15:56:43 +01:00
gabryon99
bb54d0f585 fixed typo in new datatable 2020-03-05 12:00:29 +01:00
gabryon99
b24ece3e5a added localization for scripts and config tables footer and search 2020-03-05 11:13:23 +01:00
emanuele-f
b3f862b53d Go back to the alerts page when applying the configuration 2020-01-27 16:02:57 +01:00
emanuele-f
f8d09f7387 Add button to reset the user scripts configuration
Closes #3307
2020-01-24 11:11:01 +01:00
emanuele-f
9aa71ba462 User scripts gui improvements 2020-01-23 18:25:03 +01:00
Gabriele Pappalardo
dae4889404 fix for #3299 (#3301)
* fix for #3299

* removed useless function

* fix logic
2020-01-23 17:14:55 +00:00
gabryon99
1a855b8cf8 Merge branch 'dev' of https://github.com/ntop/ntopng into ticket#3282 2020-01-23 10:55:06 +01:00
gabryon99
06e839c328 enable/disable column removed 2020-01-23 10:55:02 +01:00
Gabriele Pappalardo
cd6af05134 fix for ticket #3284 (#3289)
* fix for ticket #3284
* fix for bad table refresh
2020-01-22 14:49:37 +00:00
Gabriele Pappalardo
16c9b5ac08 Fix for #3258 (#3271)
* fix for #3258
* italic on default
2020-01-21 16:38:42 +00:00
Gabriele Pappalardo
a2f4a1a065 elephant flows (#3269)
* elephant flows
* fix for apply button after changes
* fix for refresh icons on index.lua page, scrollable dropdowns enabled
2020-01-21 16:32:14 +00:00
emanuele-f
aca088ea13 Add hyperlink to jump to the alert configuration
Closes #2936
2020-01-17 19:11:15 +01:00
Alfredo Cardigliano
5f6c432acc Check default config based on id rather then name 2020-01-16 14:54:08 +01:00
Alfredo Cardigliano
a24337ecd0 User scripts configuration import modal 2020-01-16 11:10:05 +01:00
Gabriele Pappalardo
db3562d12e Fix for issue #3239, #3243 (#3245)
* add label for each hooks into scripts table

* fix for issue #3212, refactored scripts-list-utils code

* add render function itemslist

* add items_list template to script_list-utils.js

* label for new template

* fix for issue #3231 and fix reset button for the new ItemsList template

* add message for blacklisted country and add gui for #3226

* fixes for "button" badges and fix for toggle on/off in edit_configset.lua

* removed console.info from last commit

* fix for issue #3243
2020-01-15 15:32:52 +01:00
Alfredo Cardigliano
3783f0c7a5 Fix clone button for the default user script config 2020-01-15 14:41:52 +01:00
Alfredo Cardigliano
c74a83abfa Replace button group with badges for consistency 2020-01-15 11:08:36 +01:00
Gabriele Pappalardo
a9a880ee04 graphic user interface for #3226 and add messages to locale (#3236)
* add label for each hooks into scripts table

* fix for issue #3212, refactored scripts-list-utils code

* add render function itemslist

* add items_list template to script_list-utils.js

* label for new template

* fix for issue #3231 and fix reset button for the new ItemsList template

* add message for blacklisted country and add gui for #3226
2020-01-14 15:29:26 +00:00
gabryon99
ad49daf7d3 add first, last buttons on dt and gui fixes 2020-01-08 11:46:01 +01:00
emanuele-f
ad9c386bb3 Move user scripts gui config to admin, cleanup 2020-01-03 15:16:46 +01:00
Gabriele Pappalardo
961a06f36e Add localization for text inside scripts_list and config_list (#3184)
* hide previous errors in apply modal

* disable buttons on row for scripts_list

* check csrf token expiration

* localization for text inside scripts, issue #3164
2020-01-03 09:14:04 +01:00
Gabriele Pappalardo
a4280e2f70 hide previous errors in apply modal (#3179) 2020-01-02 11:28:09 +00:00
emanuele-f
9f0fca8c12 Hide non-applicable operators in user scripts config
Fixes #3178
2020-01-02 10:58:48 +01:00
gabryon99
5107fbb051 fixed issue #3174 and #3173 2019-12-30 17:22:37 +01:00
gabryon99
0c48f7f060 add locale for error messages 2019-12-30 15:00:15 +01:00
gabryon99
c3f96c0519 separated js code from template files 2019-12-30 14:21:49 +01:00