summaryrefslogtreecommitdiffstats
path: root/modules-available
diff options
context:
space:
mode:
authorJannik Schönartz2018-03-28 17:06:15 +0200
committerJannik Schönartz2018-03-28 17:06:15 +0200
commit924163d45a68b15812e16f49221d1abadf620080 (patch)
treeebdda151fd3db556ecdad46a77632930988dd1ef /modules-available
parent[usb-lock-off] edit-rule button for switching from dropdown to input text is ... (diff)
downloadslx-admin-924163d45a68b15812e16f49221d1abadf620080.tar.gz
slx-admin-924163d45a68b15812e16f49221d1abadf620080.tar.xz
slx-admin-924163d45a68b15812e16f49221d1abadf620080.zip
[usb-lock-off] Changed rules help button to a warning text.
Diffstat (limited to 'modules-available')
-rw-r--r--modules-available/usblockoff/lang/de/template-tags.json1
-rw-r--r--modules-available/usblockoff/lang/en/template-tags.json1
-rw-r--r--modules-available/usblockoff/templates/usb-rules-config.html13
3 files changed, 11 insertions, 4 deletions
diff --git a/modules-available/usblockoff/lang/de/template-tags.json b/modules-available/usblockoff/lang/de/template-tags.json
index e37d7155..1807ffd3 100644
--- a/modules-available/usblockoff/lang/de/template-tags.json
+++ b/modules-available/usblockoff/lang/de/template-tags.json
@@ -1,4 +1,5 @@
{
+ "lang_rules": "Regeln",
"lang_howToRuleLang": "Verwendung der Regel Sprache.",
"lang_device": "USB Gerät",
"lang_devices": "USB Geräte",
diff --git a/modules-available/usblockoff/lang/en/template-tags.json b/modules-available/usblockoff/lang/en/template-tags.json
index fd9fb045..e8b9d380 100644
--- a/modules-available/usblockoff/lang/en/template-tags.json
+++ b/modules-available/usblockoff/lang/en/template-tags.json
@@ -1,4 +1,5 @@
{
+ "lang_rules": "Rules",
"lang_howToRuleLang": "Usage of the Rule Language.",
"lang_device": "USB device",
"lang_devices": "USB devices",
diff --git a/modules-available/usblockoff/templates/usb-rules-config.html b/modules-available/usblockoff/templates/usb-rules-config.html
index 8cb63d88..babd932c 100644
--- a/modules-available/usblockoff/templates/usb-rules-config.html
+++ b/modules-available/usblockoff/templates/usb-rules-config.html
@@ -1,9 +1,14 @@
<div class="panel panel-default">
<div class="panel-heading">
- rules.conf
- <a class="btn btn-default" title="{{lang_firstMatchingRuleCounts}}">
- <span class="glyphicon glyphicon-question-sign"></span>
- </a>
+ {{lang_rules}}
+
+ <div class="pull-right">
+ <span style="color: red;font-weight: bold;opacity: 0.75;">
+ <span class="glyphicon glyphicon-alert" style="margin-right: 5px;"></span>
+ {{lang_firstMatchingRuleCounts}}
+ </span>
+ </div>
+
</div>
<div class="panel-body" id="casualRules">