mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-07 01:53:34 +08:00
autocore: ethinfo: adapt LuCI style again
Fixes: a0cd2caca3 ("autocore: ethinfo: adapt LuCI style") Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
a0cd2caca3
commit
1797d6a0ab
@ -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'))
|
||||
])
|
||||
]);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user