summaryrefslogtreecommitdiffstats
path: root/modules-available
diff options
context:
space:
mode:
authorChristian Hofmaier2018-03-20 12:12:41 +0100
committerChristian Hofmaier2018-03-20 12:12:41 +0100
commitbfb43aa0eaf5ef581414452c4a4c2a792c94f1eb (patch)
tree5f20a52ba11dc9ee4e4f8561d65f268fb1e1f2fd /modules-available
parent[usb-lock-off] added id-column to config-table (diff)
downloadslx-admin-bfb43aa0eaf5ef581414452c4a4c2a792c94f1eb.tar.gz
slx-admin-bfb43aa0eaf5ef581414452c4a4c2a792c94f1eb.tar.xz
slx-admin-bfb43aa0eaf5ef581414452c4a4c2a792c94f1eb.zip
[usb-lock-off] tooltip that first matching rule (from top to bottom) is applied
Diffstat (limited to 'modules-available')
-rw-r--r--modules-available/usblockoff/lang/de/template-tags.json3
-rw-r--r--modules-available/usblockoff/lang/en/template-tags.json3
-rw-r--r--modules-available/usblockoff/templates/usb-rules-config.html7
3 files changed, 10 insertions, 3 deletions
diff --git a/modules-available/usblockoff/lang/de/template-tags.json b/modules-available/usblockoff/lang/de/template-tags.json
index c8092cd1..15a885df 100644
--- a/modules-available/usblockoff/lang/de/template-tags.json
+++ b/modules-available/usblockoff/lang/de/template-tags.json
@@ -48,5 +48,6 @@
"lang_serverName": "Servername",
"lang_configuration": "Konfiguration",
"lang_usb-lock-off": "USB Lock-Off",
- "lang_disabledButtons_helptext": "Sie müssen zuerst die Konfiguration speichern, um Regeln hinzufügen zu können."
+ "lang_disabledButtons_helptext": "Sie müssen zuerst die Konfiguration speichern, um Regeln hinzufügen zu können.",
+ "lang_firstMatchingRuleCounts": "Die erste zutreffende Regel (von Oben nach Unten) wird angewendet."
}
diff --git a/modules-available/usblockoff/lang/en/template-tags.json b/modules-available/usblockoff/lang/en/template-tags.json
index 282c83a0..78f7166f 100644
--- a/modules-available/usblockoff/lang/en/template-tags.json
+++ b/modules-available/usblockoff/lang/en/template-tags.json
@@ -48,5 +48,6 @@
"lang_serverName": "Server name",
"lang_configuration": "Configuration",
"lang_usb-lock-off": "USB lock off",
- "lang_disabledButtons_helptext": "You must first save the configuration to add rules."
+ "lang_disabledButtons_helptext": "You must first save the configuration to add rules.",
+ "lang_firstMatchingRuleCounts": "First matching rule (from top to bottom) will be applied."
}
diff --git a/modules-available/usblockoff/templates/usb-rules-config.html b/modules-available/usblockoff/templates/usb-rules-config.html
index 60f786c0..6aed254d 100644
--- a/modules-available/usblockoff/templates/usb-rules-config.html
+++ b/modules-available/usblockoff/templates/usb-rules-config.html
@@ -1,5 +1,10 @@
<div class="panel panel-default">
- <div class="panel-heading">rules.conf</div>
+ <div class="panel-heading">
+ <a class="btn btn-default" title="{{lang_firstMatchingRuleCounts}}">
+ <span class="glyphicon glyphicon-question-sign"></span>
+ </a>
+ rules.conf
+ </div>
<div class="panel-body" id="casualRules">
<div class="list-group">