summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-system/htdocs/luci-static/resources/view
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2021-09-02 11:45:47 +0200
committerFlorian Eckert <fe@dev.tdt.de>2021-09-03 10:00:22 +0200
commitb5ea85b72484a612449ac09efa57a87043657ee3 (patch)
tree9259a13dc26c0be28c51ae8f241b6c57b65db3f8 /modules/luci-mod-system/htdocs/luci-static/resources/view
parentbe19a5bcdd758fb0cc0298733691a30eacdc5957 (diff)
luci-mod-system: add help text to the led-trigger timer
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'modules/luci-mod-system/htdocs/luci-static/resources/view')
-rw-r--r--modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/timer.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/timer.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/timer.js
index 1ec362b601..f8b89f1cdd 100644
--- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/timer.js
+++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/timer.js
@@ -8,11 +8,15 @@ return baseclass.extend({
addFormOptions(s){
var o;
- o = s.option(form.Value, 'delayon', _('On-State Delay'));
+ o = s.option(form.Value, 'delayon', _('On-State Delay'),
+ _('How long (in milliseconds) the LED should be on')
+ );
o.modalonly = true;
o.depends('trigger', 'timer');
- o = s.option(form.Value, 'delayoff', _('Off-State Delay'));
+ o = s.option(form.Value, 'delayoff', _('Off-State Delay'),
+ _('How long (in milliseconds) the LED should be off')
+ );
o.modalonly = true;
o.depends('trigger', 'timer');
}