summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-statistics')
-rw-r--r--applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/ipstatistics.js7
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/ipstatistics.json7
2 files changed, 8 insertions, 6 deletions
diff --git a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/ipstatistics.js b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/ipstatistics.js
index 37f98100f1..1a41a284f3 100644
--- a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/ipstatistics.js
+++ b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/ipstatistics.js
@@ -7,10 +7,7 @@ return baseclass.extend({
title: _('IP-Statistics Plugin Configuration'),
description: _('The ipstatistics plugin collects IPv4 and IPv6 statistics to compare them.'),
- addFormOptions: function(s) {
- var o;
-
- o = s.option(form.Flag, 'enable', _('Enable this plugin'));
- o.default = '0';
+ configSummary: function(section) {
+ return _('IPv4/IPv6 Statistics monitoring enabled');
}
});
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/ipstatistics.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/ipstatistics.json
index a13f14aea9..097c4204ab 100644
--- a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/ipstatistics.json
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/ipstatistics.json
@@ -1,4 +1,9 @@
{
"title": "IP-Statistics",
- "category": "network"
+ "category": "network",
+ "legend": [
+ [],
+ [],
+ []
+ ]
}