diff options
author | Florian Eckert <fe@dev.tdt.de> | 2023-01-26 10:24:38 +0100 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2023-01-26 10:38:56 +0100 |
commit | 025d8e79ba4cd1ad6807c763caf9e3e68f7c4770 (patch) | |
tree | 78d8197b4321e02c904f4b0bc0a5d239a0b621bd /modules | |
parent | 46b20dc84d476223354e52295d32a5c1396ab299 (diff) |
luci-mod-status: add missing cbi-section class to routing view
With the material theme, there is a gap between the tab view and the
content. The css class 'cbi-section' is missing here in the data-tab div.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js index 3bcddf6aa7..5e8bb52566 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js @@ -248,7 +248,7 @@ return view.extend({ E('h2', {}, [ _('Routing') ]), E('p', {}, [ _('The following rules are currently active on this system.') ]), E('div', {}, [ - E('div', { 'data-tab': 'ipv4routing', 'data-tab-title': _('IPv4 Routing') }, [ + E('div', { 'class': 'cbi-section', 'data-tab': 'ipv4routing', 'data-tab-title': _('IPv4 Routing') }, [ E('h3', {}, [ _('IPv4 Neighbours') ]), neigh4tbl, @@ -258,7 +258,7 @@ return view.extend({ E('h3', {}, [ _('Active IPv4 Rules') ]), rule4tbl ]), - E('div', { 'data-tab': 'ipv6routing', 'data-tab-title': _('IPv6 Routing') }, [ + E('div', { 'class': 'cbi-section', 'data-tab': 'ipv6routing', 'data-tab-title': _('IPv6 Routing') }, [ E('h3', {}, [ _('IPv6 Neighbours') ]), neigh6tbl, |