summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2021-09-02 14:52:23 +0200
committerFlorian Eckert <fe@dev.tdt.de>2021-10-27 10:38:34 +0200
commitbff0878f9134e58aeec915733173b25071024f64 (patch)
tree87043ccf268bb20039a747f1788c19861a3942c4 /modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger
parentaf7b9658f456f7c32d003679ed70da40b32aba9c (diff)
luci-mod-system: add led-trigger description
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger')
-rw-r--r--modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/default-on.js1
-rw-r--r--modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/heartbeat.js2
-rw-r--r--modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/netdev.js1
-rw-r--r--modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/none.js1
-rw-r--r--modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/timer.js1
5 files changed, 6 insertions, 0 deletions
diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/default-on.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/default-on.js
index ba7b00ede3..77d62b6a79 100644
--- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/default-on.js
+++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/default-on.js
@@ -4,6 +4,7 @@
return baseclass.extend({
trigger: _('Always on (kernel: default-on)'),
+ description: _('The LED is always in default state on.'),
kernel: true,
addFormOptions(s){
var o;
diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/heartbeat.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/heartbeat.js
index 9050063bf2..1a6eeebd2c 100644
--- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/heartbeat.js
+++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/heartbeat.js
@@ -3,6 +3,8 @@
return baseclass.extend({
trigger: _('Heartbeat interval (kernel: heartbeat)'),
+ description: _('The LED flashes to simulate actual heart beat.') +
+ _('The frequency is in direct proportion to 1-minute average CPU load.'),
kernel: true,
addFormOptions(s){
var o;
diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/netdev.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/netdev.js
index 692c887ea4..af70f449d2 100644
--- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/netdev.js
+++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/netdev.js
@@ -5,6 +5,7 @@
return baseclass.extend({
trigger: _("Network device activity (kernel: netdev)"),
+ description: _('The LED flashes with link status and activity on the configured interface.'),
kernel: true,
addFormOptions(s){
var o;
diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/none.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/none.js
index ef21adc7dc..5b3b26344e 100644
--- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/none.js
+++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/none.js
@@ -3,6 +3,7 @@
return baseclass.extend({
trigger: _('Always off (kernel: none)'),
+ description: _('The LED is always in default state off.'),
kernel: true,
addFormOptions(s){
var o;
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 f8b89f1cdd..6213604a1a 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
@@ -4,6 +4,7 @@
return baseclass.extend({
trigger: _('Custom flash interval (kernel: timer)'),
+ description: _('The LED blinks with the configured on/off frequency'),
kernel: true,
addFormOptions(s){
var o;