diff --git a/docs/NOTIFICATIONS.md b/docs/NOTIFICATIONS.md index c3bdc68a..a746f6b2 100755 --- a/docs/NOTIFICATIONS.md +++ b/docs/NOTIFICATIONS.md @@ -18,9 +18,9 @@ There are 4 ways how to influence notifications: There are 4 settings on the device for influencing notifications. You can: -1. Completely disable the scanning of the device -2. **Alert all events**, connections, disconnections, IP changes (noisy, usually not recommended) -3. **Alert down** - alerts when a device goes down. This setting overrides disabled Alert All Events, so you will get a notification of a device going down even if you don't have Alert All Events ticked. +1. **Scan device** - Completely disable the scanning of the device +2. **Alert all events** - Enables extensive alerts of connections, disconnections, IP changes (noisy, usually not recommended) +3. **Alert down** - Alerts when a device goes down. This setting overrides disabled Alert All Events, so you will get a notification of a device going down even if you don't have **Alert All Events** ticked. 4. **Skip repeated notifications**, if for example you know there is a temporary issue and want to pause the same notification for this device for a given time. ## Plugin settings 🔌 diff --git a/front/css/app.css b/front/css/app.css index 2572419c..f1139253 100755 --- a/front/css/app.css +++ b/front/css/app.css @@ -1208,7 +1208,7 @@ input[readonly] { background-color:#606060 !important; } -.networkPageHelp{ +.helpIconSmallTopRight{ position: absolute; font-size: x-small; margin-bottom: 6px; @@ -1407,7 +1407,7 @@ input[readonly] { .plugin-content #tabs-content-location { margin: 0px; - + padding-top: 0; } .plugins-description @@ -1462,6 +1462,33 @@ input[readonly] { } +.textOverflow +{ + white-space: nowrap; /* Prevent text from wrapping to a new line */ + overflow: hidden; /* Hide the overflowed text */ + text-overflow: ellipsis; /* Show ellipsis (...) */ +} + +.table-stretched +{ + min-width: -moz-available; + min-width: -webkit-fill-available; +} + +.pluginBadge +{ + float: right; +} + +.pluginBadgeWrap +{ + float: right; + display: ruby; + z-index: 1; + position: sticky; + margin-top: 1px; +} + /* ----------------------------------------------------------------------------- Spin ----------------------------------------------------------------------------- */ diff --git a/front/deviceDetails.php b/front/deviceDetails.php index 44556c8e..fcd76a92 100755 --- a/front/deviceDetails.php +++ b/front/deviceDetails.php @@ -325,7 +325,7 @@ -

+

@@ -370,7 +370,8 @@
-

+

+

@@ -455,7 +456,8 @@     - + +
diff --git a/front/devices.php b/front/devices.php index 7588f9b6..7b4a980d 100755 --- a/front/devices.php +++ b/front/devices.php @@ -167,6 +167,8 @@ // ----------------------------------------------------------------------------- function main () { + showSpinner(); + //initialize the table headers in the correct order var availableColumns = getSettingOptions("UI_device_columns").split(","); var headersDefaultOrder = availableColumns.map(val => getString(val)); diff --git a/front/network.php b/front/network.php index b24a406a..cda833a6 100755 --- a/front/network.php +++ b/front/network.php @@ -19,7 +19,7 @@

- +

diff --git a/front/php/templates/language/fr_fr.json b/front/php/templates/language/fr_fr.json old mode 100644 new mode 100755 diff --git a/front/plugins/__template/config.json b/front/plugins/__template/config.json index af242e90..83e2f5ff 100755 --- a/front/plugins/__template/config.json +++ b/front/plugins/__template/config.json @@ -313,6 +313,21 @@ } ], "database_column_definitions": [ + { + "column": "Index", + "css_classes": "col-sm-2", + "show": true, + "type": "none", + "default_value": "", + "options": [], + "localized": ["name"], + "name": [ + { + "language_code": "en_us", + "string": "Index" + } + ] + }, { "column": "Object_PrimaryID", "mapped_to_column": "cur_MAC", diff --git a/front/plugins/_publisher_apprise/config.json b/front/plugins/_publisher_apprise/config.json index 80b230e6..0025b5c1 100755 --- a/front/plugins/_publisher_apprise/config.json +++ b/front/plugins/_publisher_apprise/config.json @@ -33,19 +33,15 @@ { "column": "Index", "css_classes": "col-sm-2", - "show": false, - "type": "label", + "show": true, + "type": "none", "default_value": "", "options": [], "localized": ["name"], "name": [ { "language_code": "en_us", - "string": "N/A" - }, - { - "language_code": "es_es", - "string": "N/A" + "string": "Index" } ] }, @@ -104,7 +100,7 @@ }, { "column": "DateTimeCreated", - "css_classes": "col-sm-2", + "css_classes": "col-sm-3", "show": true, "type": "label", "default_value": "", @@ -145,7 +141,7 @@ "options": [ { "type": "eval", - "param": "`${value}`" + "param": "`Link`" } ], "localized": ["name"], diff --git a/front/plugins/_publisher_email/config.json b/front/plugins/_publisher_email/config.json index b5e0beb4..6e15c052 100755 --- a/front/plugins/_publisher_email/config.json +++ b/front/plugins/_publisher_email/config.json @@ -33,19 +33,15 @@ { "column": "Index", "css_classes": "col-sm-2", - "show": false, - "type": "label", + "show": true, + "type": "none", "default_value": "", "options": [], "localized": ["name"], "name": [ { "language_code": "en_us", - "string": "N/A" - }, - { - "language_code": "es_es", - "string": "N/A" + "string": "Index" } ] }, diff --git a/front/plugins/_publisher_mqtt/config.json b/front/plugins/_publisher_mqtt/config.json index a7ccde1b..8751a28e 100755 --- a/front/plugins/_publisher_mqtt/config.json +++ b/front/plugins/_publisher_mqtt/config.json @@ -49,19 +49,15 @@ { "column": "Index", "css_classes": "col-sm-2", - "show": false, - "type": "label", + "show": true, + "type": "none", "default_value": "", "options": [], "localized": ["name"], "name": [ { "language_code": "en_us", - "string": "N/A" - }, - { - "language_code": "es_es", - "string": "N/A" + "string": "Index" } ] }, diff --git a/front/plugins/_publisher_ntfy/config.json b/front/plugins/_publisher_ntfy/config.json index 20c108dc..eaabf3d2 100755 --- a/front/plugins/_publisher_ntfy/config.json +++ b/front/plugins/_publisher_ntfy/config.json @@ -33,19 +33,15 @@ { "column": "Index", "css_classes": "col-sm-2", - "show": false, - "type": "label", + "show": true, + "type": "none", "default_value": "", "options": [], "localized": ["name"], "name": [ { "language_code": "en_us", - "string": "N/A" - }, - { - "language_code": "es_es", - "string": "N/A" + "string": "Index" } ] }, diff --git a/front/plugins/_publisher_pushover/config.json b/front/plugins/_publisher_pushover/config.json index d961eafb..4de0c282 100755 --- a/front/plugins/_publisher_pushover/config.json +++ b/front/plugins/_publisher_pushover/config.json @@ -33,19 +33,15 @@ { "column": "Index", "css_classes": "col-sm-2", - "show": false, - "type": "label", + "show": true, + "type": "none", "default_value": "", "options": [], "localized": ["name"], "name": [ { "language_code": "en_us", - "string": "N/A" - }, - { - "language_code": "es_es", - "string": "N/A" + "string": "Index" } ] }, diff --git a/front/plugins/_publisher_pushsafer/config.json b/front/plugins/_publisher_pushsafer/config.json index 522def2e..20bfa864 100755 --- a/front/plugins/_publisher_pushsafer/config.json +++ b/front/plugins/_publisher_pushsafer/config.json @@ -33,19 +33,15 @@ { "column": "Index", "css_classes": "col-sm-2", - "show": false, - "type": "label", + "show": true, + "type": "none", "default_value": "", "options": [], "localized": ["name"], "name": [ { "language_code": "en_us", - "string": "N/A" - }, - { - "language_code": "es_es", - "string": "N/A" + "string": "Index" } ] }, diff --git a/front/plugins/_publisher_telegram/config.json b/front/plugins/_publisher_telegram/config.json index 54510712..76ba69ea 100755 --- a/front/plugins/_publisher_telegram/config.json +++ b/front/plugins/_publisher_telegram/config.json @@ -29,19 +29,15 @@ { "column": "Index", "css_classes": "col-sm-2", - "show": false, - "type": "label", + "show": true, + "type": "none", "default_value": "", "options": [], "localized": ["name"], "name": [ { "language_code": "en_us", - "string": "N/A" - }, - { - "language_code": "es_es", - "string": "N/A" + "string": "Index" } ] }, diff --git a/front/plugins/_publisher_webhook/config.json b/front/plugins/_publisher_webhook/config.json index f9b7827c..aa7fc8c7 100755 --- a/front/plugins/_publisher_webhook/config.json +++ b/front/plugins/_publisher_webhook/config.json @@ -33,19 +33,15 @@ { "column": "Index", "css_classes": "col-sm-2", - "show": false, - "type": "label", + "show": true, + "type": "none", "default_value": "", "options": [], "localized": ["name"], "name": [ { "language_code": "en_us", - "string": "N/A" - }, - { - "language_code": "es_es", - "string": "N/A" + "string": "Index" } ] }, diff --git a/front/plugins/arp_scan/config.json b/front/plugins/arp_scan/config.json index 4de938bb..ae6ab9fd 100755 --- a/front/plugins/arp_scan/config.json +++ b/front/plugins/arp_scan/config.json @@ -367,6 +367,21 @@ } ], "database_column_definitions": [ + { + "column": "Index", + "css_classes": "col-sm-2", + "show": true, + "type": "none", + "default_value": "", + "options": [], + "localized": ["name"], + "name": [ + { + "language_code": "en_us", + "string": "Index" + } + ] + }, { "column": "Object_PrimaryID", "mapped_to_column": "cur_MAC", diff --git a/front/plugins/avahi_scan/config.json b/front/plugins/avahi_scan/config.json index 8839ab72..4c14e897 100755 --- a/front/plugins/avahi_scan/config.json +++ b/front/plugins/avahi_scan/config.json @@ -205,6 +205,21 @@ } ], "database_column_definitions": [ + { + "column": "Index", + "css_classes": "col-sm-2", + "show": true, + "type": "none", + "default_value": "", + "options": [], + "localized": ["name"], + "name": [ + { + "language_code": "en_us", + "string": "Index" + } + ] + }, { "column": "Object_PrimaryID", "css_classes": "col-sm-2", diff --git a/front/plugins/ddns_update/config.json b/front/plugins/ddns_update/config.json index 7b4fd4f5..33d27fef 100755 --- a/front/plugins/ddns_update/config.json +++ b/front/plugins/ddns_update/config.json @@ -498,6 +498,21 @@ } ], "database_column_definitions": [ + { + "column": "Index", + "css_classes": "col-sm-2", + "show": true, + "type": "none", + "default_value": "", + "options": [], + "localized": ["name"], + "name": [ + { + "language_code": "en_us", + "string": "Index" + } + ] + }, { "column": "Object_PrimaryID", "css_classes": "col-sm-2", diff --git a/front/plugins/dhcp_leases/config.json b/front/plugins/dhcp_leases/config.json index 996d7e92..07e4bdc2 100755 --- a/front/plugins/dhcp_leases/config.json +++ b/front/plugins/dhcp_leases/config.json @@ -66,23 +66,15 @@ { "column": "Index", "css_classes": "col-sm-2", - "show": false, - "type": "label", + "show": true, + "type": "none", "default_value": "", "options": [], "localized": ["name"], "name": [ { "language_code": "en_us", - "string": "N/A" - }, - { - "language_code": "es_es", - "string": "N/A" - }, - { - "language_code": "de_de", - "string": "N/A" + "string": "Index" } ] }, diff --git a/front/plugins/dhcp_servers/config.json b/front/plugins/dhcp_servers/config.json index d168de9d..66ceea6f 100755 --- a/front/plugins/dhcp_servers/config.json +++ b/front/plugins/dhcp_servers/config.json @@ -42,19 +42,15 @@ { "column": "Index", "css_classes": "col-sm-2", - "show": false, - "type": "label", + "show": true, + "type": "none", "default_value": "", "options": [], "localized": ["name"], "name": [ { "language_code": "en_us", - "string": "N/A" - }, - { - "language_code": "es_es", - "string": "N/A" + "string": "Index" } ] }, diff --git a/front/plugins/internet_ip/config.json b/front/plugins/internet_ip/config.json index 5478e15e..588b4158 100755 --- a/front/plugins/internet_ip/config.json +++ b/front/plugins/internet_ip/config.json @@ -390,6 +390,21 @@ } ], "database_column_definitions": [ + { + "column": "Index", + "css_classes": "col-sm-2", + "show": true, + "type": "none", + "default_value": "", + "options": [], + "localized": ["name"], + "name": [ + { + "language_code": "en_us", + "string": "Index" + } + ] + }, { "column": "Object_PrimaryID", "mapped_to_column": "cur_MAC", diff --git a/front/plugins/internet_speedtest/config.json b/front/plugins/internet_speedtest/config.json index 1921ac6c..5b7085d0 100755 --- a/front/plugins/internet_speedtest/config.json +++ b/front/plugins/internet_speedtest/config.json @@ -41,23 +41,15 @@ { "column": "Index", "css_classes": "col-sm-2", - "show": false, - "type": "label", + "show": true, + "type": "none", "default_value": "", "options": [], "localized": ["name"], - "name": [ + "name": [ { "language_code": "en_us", - "string": "N/A" - }, - { - "language_code": "es_es", - "string": "N/A" - }, - { - "language_code": "de_de", - "string": "N/A" + "string": "Index" } ] }, diff --git a/front/plugins/mikrotik_scan/config.json b/front/plugins/mikrotik_scan/config.json index 3c2f0f5a..b02e4f66 100755 --- a/front/plugins/mikrotik_scan/config.json +++ b/front/plugins/mikrotik_scan/config.json @@ -253,6 +253,21 @@ } ], "database_column_definitions": [ + { + "column": "Index", + "css_classes": "col-sm-2", + "show": true, + "type": "none", + "default_value": "", + "options": [], + "localized": ["name"], + "name": [ + { + "language_code": "en_us", + "string": "Index" + } + ] + }, { "column": "Object_PrimaryID", "mapped_to_column": "cur_MAC", diff --git a/front/plugins/nbtscan_scan/config.json b/front/plugins/nbtscan_scan/config.json index 41573cac..38855a25 100755 --- a/front/plugins/nbtscan_scan/config.json +++ b/front/plugins/nbtscan_scan/config.json @@ -213,6 +213,21 @@ } ], "database_column_definitions": [ + { + "column": "Index", + "css_classes": "col-sm-2", + "show": true, + "type": "none", + "default_value": "", + "options": [], + "localized": ["name"], + "name": [ + { + "language_code": "en_us", + "string": "Index" + } + ] + }, { "column": "Object_PrimaryID", "css_classes": "col-sm-2", diff --git a/front/plugins/nmap_dev_scan/config.json b/front/plugins/nmap_dev_scan/config.json index ca17d547..1afa912d 100755 --- a/front/plugins/nmap_dev_scan/config.json +++ b/front/plugins/nmap_dev_scan/config.json @@ -343,6 +343,21 @@ } ], "database_column_definitions": [ + { + "column": "Index", + "css_classes": "col-sm-2", + "show": true, + "type": "none", + "default_value": "", + "options": [], + "localized": ["name"], + "name": [ + { + "language_code": "en_us", + "string": "Index" + } + ] + }, { "column": "Object_PrimaryID", "mapped_to_column": "cur_MAC", diff --git a/front/plugins/nmap_scan/config.json b/front/plugins/nmap_scan/config.json index e1a3da78..81551d6d 100755 --- a/front/plugins/nmap_scan/config.json +++ b/front/plugins/nmap_scan/config.json @@ -74,15 +74,15 @@ { "column": "Index", "css_classes": "col-sm-2", - "show": false, - "type": "label", + "show": true, + "type": "none", "default_value": "", "options": [], "localized": ["name"], "name": [ { "language_code": "en_us", - "string": "N/A" + "string": "Index" } ] }, diff --git a/front/plugins/nslookup_scan/config.json b/front/plugins/nslookup_scan/config.json index e0325c32..2cd17ff2 100755 --- a/front/plugins/nslookup_scan/config.json +++ b/front/plugins/nslookup_scan/config.json @@ -213,6 +213,21 @@ } ], "database_column_definitions": [ + { + "column": "Index", + "css_classes": "col-sm-2", + "show": true, + "type": "none", + "default_value": "", + "options": [], + "localized": ["name"], + "name": [ + { + "language_code": "en_us", + "string": "Index" + } + ] + }, { "column": "Object_PrimaryID", "css_classes": "col-sm-2", diff --git a/front/plugins/omada_sdn_imp/config.json b/front/plugins/omada_sdn_imp/config.json index 31fc14d0..67257ada 100755 --- a/front/plugins/omada_sdn_imp/config.json +++ b/front/plugins/omada_sdn_imp/config.json @@ -447,6 +447,21 @@ } ], "database_column_definitions": [ + { + "column": "Index", + "css_classes": "col-sm-2", + "show": true, + "type": "none", + "default_value": "", + "options": [], + "localized": ["name"], + "name": [ + { + "language_code": "en_us", + "string": "Index" + } + ] + }, { "column": "Object_PrimaryID", "mapped_to_column": "cur_MAC", diff --git a/front/plugins/pholus_scan/config.json b/front/plugins/pholus_scan/config.json index cffa37a3..0ee12eef 100755 --- a/front/plugins/pholus_scan/config.json +++ b/front/plugins/pholus_scan/config.json @@ -323,6 +323,21 @@ } ], "database_column_definitions": [ + { + "column": "Index", + "css_classes": "col-sm-2", + "show": true, + "type": "none", + "default_value": "", + "options": [], + "localized": ["name"], + "name": [ + { + "language_code": "en_us", + "string": "Index" + } + ] + }, { "column": "Object_PrimaryID", "mapped_to_column": "MAC", diff --git a/front/plugins/pihole_scan/config.json b/front/plugins/pihole_scan/config.json index 818f4273..0d646742 100755 --- a/front/plugins/pihole_scan/config.json +++ b/front/plugins/pihole_scan/config.json @@ -278,6 +278,21 @@ ], "database_column_definitions": [ + { + "column": "Index", + "css_classes": "col-sm-2", + "show": true, + "type": "none", + "default_value": "", + "options": [], + "localized": ["name"], + "name": [ + { + "language_code": "en_us", + "string": "Index" + } + ] + }, { "column": "Object_PrimaryID", "mapped_to_column": "cur_MAC", diff --git a/front/plugins/snmp_discovery/config.json b/front/plugins/snmp_discovery/config.json index 7c58372f..246ab3ef 100755 --- a/front/plugins/snmp_discovery/config.json +++ b/front/plugins/snmp_discovery/config.json @@ -66,19 +66,15 @@ { "column": "Index", "css_classes": "col-sm-2", - "show": false, - "type": "label", + "show": true, + "type": "none", "default_value": "", "options": [], "localized": ["name"], "name": [ { "language_code": "en_us", - "string": "N/A" - }, - { - "language_code": "es_es", - "string": "N/A" + "string": "Index" } ] }, diff --git a/front/plugins/sync/config.json b/front/plugins/sync/config.json index 8cca3c45..58096a02 100755 --- a/front/plugins/sync/config.json +++ b/front/plugins/sync/config.json @@ -471,6 +471,21 @@ } ], "database_column_definitions": [ + { + "column": "Index", + "css_classes": "col-sm-2", + "show": true, + "type": "none", + "default_value": "", + "options": [], + "localized": ["name"], + "name": [ + { + "language_code": "en_us", + "string": "Index" + } + ] + }, { "column": "Object_PrimaryID", "mapped_to_column": "cur_MAC", diff --git a/front/plugins/undiscoverables/config.json b/front/plugins/undiscoverables/config.json index da4a540f..45787bfa 100755 --- a/front/plugins/undiscoverables/config.json +++ b/front/plugins/undiscoverables/config.json @@ -385,6 +385,21 @@ } ], "database_column_definitions": [ + { + "column": "Index", + "css_classes": "col-sm-2", + "show": true, + "type": "none", + "default_value": "", + "options": [], + "localized": ["name"], + "name": [ + { + "language_code": "en_us", + "string": "Index" + } + ] + }, { "column": "Watched_Value1", "mapped_to_column": "cur_Name", diff --git a/front/plugins/unifi_import/config.json b/front/plugins/unifi_import/config.json index 4182291e..12ca3ee8 100755 --- a/front/plugins/unifi_import/config.json +++ b/front/plugins/unifi_import/config.json @@ -83,25 +83,17 @@ { "column": "Index", "css_classes": "col-sm-2", + "show": true, + "type": "none", "default_value": "", + "options": [], "localized": ["name"], "name": [ { "language_code": "en_us", - "string": "N/A" - }, - { - "language_code": "es_es", - "string": "N/A" - }, - { - "language_code": "de_de", - "string": "N/A" + "string": "Index" } - ], - "options": [], - "show": false, - "type": "label" + ] }, { "column": "Plugin", diff --git a/front/plugins/vendor_update/config.json b/front/plugins/vendor_update/config.json index b62e39a4..49435ed1 100755 --- a/front/plugins/vendor_update/config.json +++ b/front/plugins/vendor_update/config.json @@ -302,23 +302,15 @@ { "column": "Index", "css_classes": "col-sm-2", - "show": false, - "type": "label", + "show": true, + "type": "none", "default_value": "", "options": [], "localized": ["name"], "name": [ { "language_code": "en_us", - "string": "N/A" - }, - { - "language_code": "es_es", - "string": "N/A" - }, - { - "language_code": "de_de", - "string": "N/A" + "string": "Index" } ] }, diff --git a/front/plugins/website_monitor/config.json b/front/plugins/website_monitor/config.json index 23e7ea9f..06f0ae53 100755 --- a/front/plugins/website_monitor/config.json +++ b/front/plugins/website_monitor/config.json @@ -57,19 +57,15 @@ { "column": "Index", "css_classes": "col-sm-2", - "show": false, - "type": "label", + "show": true, + "type": "none", "default_value": "", "options": [], "localized": ["name"], "name": [ { "language_code": "en_us", - "string": "N/A" - }, - { - "language_code": "es_es", - "string": "N/A" + "string": "Index" } ] }, diff --git a/front/pluginsCore.php b/front/pluginsCore.php index 7f0bd596..e2f1530a 100755 --- a/front/pluginsCore.php +++ b/front/pluginsCore.php @@ -1,44 +1,51 @@ - + + + + + + +
-
-
- - -
+
+
+ +
- +
-