Merge pull request #4267 from TDT-AG/pr/20200713-luci-app-statistics

luci-app-statistics: add missing ValuesPercentage option
This commit is contained in:
Florian Eckert 2020-07-22 10:47:42 +02:00 committed by GitHub
commit 71019f6cde
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View file

@ -88,6 +88,9 @@ return baseclass.extend({
o = s.option(form.Flag, 'IgnoreSelected', _('Monitor all except specified'));
o.depends('enable', '1');
o = s.option(form.Flag, 'ValuesPercentage', _('Free space, reserved space and used space is reported as relative values'));
o.depends('enable', '1');
},
configSummary: function(section) {

View file

@ -80,6 +80,7 @@ config statistics 'collectd_df'
option MountPoints '/jffs'
option FSTypes 'tmpfs'
option IgnoreSelected '0'
option ValuesPercentage '0'
config statistics 'collectd_disk'
option enable '0'

View file

@ -3,7 +3,7 @@
"category": "general",
"legend": [
[],
["IgnoreSelected"],
["IgnoreSelected", "ValuesPercentage"],
["Devices", "MountPoints", "FSTypes"]
]
}