luci-mod-status: tag DHCP lease tables with dedicated CSS classes
authorJo-Philipp Wich <jo@mein.io>
Mon, 23 Mar 2020 21:02:30 +0000 (22:02 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 23 Mar 2020 21:02:30 +0000 (22:02 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js

index 9975a648ff1d3a7dca294ecce56c19480b87fb06..5de79a8ee21c5fa1dc834353425bb86de07d7918 100644 (file)
@@ -23,7 +23,7 @@ return L.Class.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')),
@@ -50,7 +50,7 @@ return L.Class.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')),