summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/cbi.js4
-rw-r--r--modules/luci-mod-status/luasrc/controller/admin/status.lua2
-rw-r--r--modules/luci-mod-system/luasrc/view/admin_system/sshkeys.htm4
3 files changed, 7 insertions, 3 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/cbi.js b/modules/luci-base/htdocs/luci-static/resources/cbi.js
index edf634ee74..635740a70c 100644
--- a/modules/luci-base/htdocs/luci-static/resources/cbi.js
+++ b/modules/luci-base/htdocs/luci-static/resources/cbi.js
@@ -2196,12 +2196,12 @@ function hideModal()
document.addEventListener('DOMContentLoaded', function() {
document.addEventListener('validation-failure', function(ev) {
if (ev.target === document.activeElement)
- showTooltip(ev);
+ L.showTooltip(ev);
});
document.addEventListener('validation-success', function(ev) {
if (ev.target === document.activeElement)
- hideTooltip(ev);
+ L.hideTooltip(ev);
});
document.querySelectorAll('.table').forEach(cbi_update_table);
diff --git a/modules/luci-mod-status/luasrc/controller/admin/status.lua b/modules/luci-mod-status/luasrc/controller/admin/status.lua
index 5b496d83f2..63b9390775 100644
--- a/modules/luci-mod-status/luasrc/controller/admin/status.lua
+++ b/modules/luci-mod-status/luasrc/controller/admin/status.lua
@@ -53,7 +53,7 @@ function dump_iptables(family, table)
for s in lines do
if s == table then
local ipt = io.popen(
- "/usr/sbin/%stables -t %s --line-numbers -nxvL"
+ "/usr/sbin/%stables -w -t %s --line-numbers -nxvL"
%{ prefix, table })
if ipt then
diff --git a/modules/luci-mod-system/luasrc/view/admin_system/sshkeys.htm b/modules/luci-mod-system/luasrc/view/admin_system/sshkeys.htm
index e0917995e4..ac453f3f6c 100644
--- a/modules/luci-mod-system/luasrc/view/admin_system/sshkeys.htm
+++ b/modules/luci-mod-system/luasrc/view/admin_system/sshkeys.htm
@@ -17,6 +17,10 @@
white-space: nowrap;
unicode-bidi: bidi-override;
}
+
+ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
+ .cbi-dynlist .item > small { direction: ltr }
+ }
</style>
<div class="cbi-map">