summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/htdocs/luci-static/resources
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2020-07-13 13:31:35 +0200
committerFlorian Eckert <fe@dev.tdt.de>2020-07-13 13:32:52 +0200
commit7a2b8174ccfd05aea85d3639fbca388b6242e3ef (patch)
tree147890f105b913e94c48e11dc0bb833af9207618 /applications/luci-app-statistics/htdocs/luci-static/resources
parent400140285a0aa12c801e0a7a9457a4a230b63b6a (diff)
luci-app-statistics: add missing ValuesPercentage option
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-statistics/htdocs/luci-static/resources')
-rw-r--r--applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/df.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/df.js b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/df.js
index 9e3dc5630a..2a82f64d5a 100644
--- a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/df.js
+++ b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/df.js
@@ -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) {