Move user scripts gui config to admin, cleanup

This commit is contained in:
emanuele-f 2020-01-03 15:16:46 +01:00
parent d037f9a9a4
commit ad9c386bb3
44 changed files with 241 additions and 289 deletions

View file

@ -44,8 +44,7 @@ script = {
i18n_title = "show_alerts.interface_drops_threshold",
i18n_description = "show_alerts.interface_drops_threshold_descr",
i18n_field_unit = user_scripts.field_units.percentage,
input_builder = user_scripts.threshold_cross_input_builder,
post_handler = user_scripts.threshold_cross_post_handler,
input_builder = "threshold_cross",
field_max = 99,
field_min = 1,
field_operator = "gt";