autocore: ethinfo: adapt LuCI style
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
832bcc7e2f
commit
a0cd2caca3
@ -19,12 +19,12 @@ return L.Class.extend({
|
|||||||
render: function(data) {
|
render: function(data) {
|
||||||
var ethinfo = Array.isArray(data[0].ethinfo) ? data[0].ethinfo : [];
|
var ethinfo = Array.isArray(data[0].ethinfo) ? data[0].ethinfo : [];
|
||||||
|
|
||||||
var table = E('div', { 'class': 'table' }, [
|
var table = E('td', { 'class': 'table' }, [
|
||||||
E('div', { 'class': 'tr table-titles' }, [
|
E('tr', { 'class': 'tr table-titles' }, [
|
||||||
E('div', { 'class': 'th' }, _('Ethernet Name')),
|
E('td', { 'class': 'th' }, _('Ethernet Name')),
|
||||||
E('div', { 'class': 'th' }, _('Link Status')),
|
E('td', { 'class': 'th' }, _('Link Status')),
|
||||||
E('div', { 'class': 'th' }, _('Speed')),
|
E('td', { 'class': 'th' }, _('Speed')),
|
||||||
E('div', { 'class': 'th' }, _('Duplex'))
|
E('td', { 'class': 'th' }, _('Duplex'))
|
||||||
])
|
])
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user