From b26dde0a5c6b639ee403f2cd117537dd84950a2f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 23 Mar 2020 22:02:30 +0100 Subject: [PATCH] luci-mod-status: tag DHCP lease tables with dedicated CSS classes Signed-off-by: Jo-Philipp Wich (cherry picked from commit be62595c5b44e2f4bc366bb3a2d2ee07d69a77dd) --- .../luci-static/resources/view/status/include/40_dhcp.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js index e9c508f6b..a23f86122 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js @@ -24,7 +24,7 @@ return baseclass.extend({ leases6 = Array.isArray(data[0].dhcp6_leases) ? data[0].dhcp6_leases : [], machints = data[1].getMACHints(false); - var table = E('div', { 'class': 'table' }, [ + var table = E('div', { 'class': 'table lases' }, [ E('div', { 'class': 'tr table-titles' }, [ E('div', { 'class': 'th' }, _('Hostname')), E('div', { 'class': 'th' }, _('IPv4-Address')), @@ -51,7 +51,7 @@ return baseclass.extend({ ]; }), E('em', _('There are no active leases'))); - var table6 = E('div', { 'class': 'table' }, [ + var table6 = E('div', { 'class': 'table leases6' }, [ E('div', { 'class': 'tr table-titles' }, [ E('div', { 'class': 'th' }, _('Host')), E('div', { 'class': 'th' }, _('IPv6-Address')), -- 2.25.1