From 1797d6a0ab0bdde24e0ac5698c61018c4f75c67c Mon Sep 17 00:00:00 2001 From: zxlhhyccc <45259624+zxlhhyccc@users.noreply.github.com> Date: Mon, 12 Apr 2021 00:13:33 +0800 Subject: [PATCH] autocore: ethinfo: adapt LuCI style again Fixes: a0cd2caca3 ("autocore: ethinfo: adapt LuCI style") Signed-off-by: Tianling Shen --- package/lean/autocore/files/x86/rpcd_21_ethinfo.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package/lean/autocore/files/x86/rpcd_21_ethinfo.js b/package/lean/autocore/files/x86/rpcd_21_ethinfo.js index 75adfb8c6b..a16054822c 100644 --- a/package/lean/autocore/files/x86/rpcd_21_ethinfo.js +++ b/package/lean/autocore/files/x86/rpcd_21_ethinfo.js @@ -19,12 +19,12 @@ return L.Class.extend({ render: function(data) { var ethinfo = Array.isArray(data[0].ethinfo) ? data[0].ethinfo : []; - var table = E('td', { 'class': 'table' }, [ + var table = E('table', { 'class': 'table' }, [ E('tr', { 'class': 'tr table-titles' }, [ - E('td', { 'class': 'th' }, _('Ethernet Name')), - E('td', { 'class': 'th' }, _('Link Status')), - E('td', { 'class': 'th' }, _('Speed')), - E('td', { 'class': 'th' }, _('Duplex')) + E('th', { 'class': 'th' }, _('Ethernet Name')), + E('th', { 'class': 'th' }, _('Link Status')), + E('th', { 'class': 'th' }, _('Speed')), + E('th', { 'class': 'th' }, _('Duplex')) ]) ]);