diff options
Diffstat (limited to 'applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics')
-rw-r--r-- | applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/ipstatistics.js | 16 |
1 files changed, 16 insertions, 0 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 new file mode 100644 index 0000000000..37f98100f1 --- /dev/null +++ b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/ipstatistics.js @@ -0,0 +1,16 @@ +'use strict'; +'require baseclass'; +'require form'; +'require tools.widgets as widgets'; + +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'; + } +}); |