firewall: more text lines for custom script
authorFritz D. Ansel <redacted>
Mon, 2 Aug 2021 18:18:19 +0000 (20:18 +0200)
committerFritz D. Ansel <redacted>
Wed, 11 Aug 2021 07:25:42 +0000 (09:25 +0200)
10 lines are very few and there is much unused space

Signed-off-by: Fritz D. Ansel <redacted>
applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/custom.js

index ca870552a6cef4810ada275a12bbcf5070d58d60..1997a720c6f051947f561f16c43190e8852d79b2 100644 (file)
@@ -24,7 +24,7 @@ return view.extend({
                return E([
                        E('h2', _('Firewall - Custom Rules')),
                        E('p', {}, _('Custom rules allow you to execute arbitrary iptables commands which are not otherwise covered by the firewall framework. The commands are executed after each firewall restart, right after the default ruleset has been loaded.')),
-                       E('p', {}, E('textarea', { 'style': 'width:100%', 'rows': 10 }, [ fwuser != null ? fwuser : '' ]))
+                       E('p', {}, E('textarea', { 'style': 'width:100%', 'rows': 25 }, [ fwuser != null ? fwuser : '' ]))
                ]);
        },
 
git clone https://git.99rst.org/PROJECT