mirror of
https://github.com/openwrt/luci
synced 2025-01-09 04:28:37 +08:00
luci-mod-status: bandwith: add missing css cbi-* class elements
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
parent
d14fbdb3cf
commit
f4868c3426
@ -247,7 +247,7 @@ return view.extend({
|
||||
var svg = data[0],
|
||||
devs = data[1];
|
||||
|
||||
var v = E('div', {}, E('div'));
|
||||
var v = E('div', { 'class': 'cbi-map', 'id': 'map' }, E('div'));
|
||||
|
||||
for (var i = 0; i < devs.length; i++) {
|
||||
var ifname = devs[i].getName();
|
||||
@ -257,7 +257,7 @@ return view.extend({
|
||||
|
||||
var csvg = svg.cloneNode(true);
|
||||
|
||||
v.firstElementChild.appendChild(E('div', { 'data-tab': ifname, 'data-tab-title': ifname }, [
|
||||
v.firstElementChild.appendChild(E('div', { 'class': 'cbi-section', 'data-tab': ifname, 'data-tab-title': ifname }, [
|
||||
csvg,
|
||||
E('div', { 'class': 'right' }, E('small', { 'id': 'scale' }, '-')),
|
||||
E('br'),
|
||||
@ -283,7 +283,8 @@ return view.extend({
|
||||
E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Peak:') ])),
|
||||
E('td', { 'class': 'td', 'id': 'tx_bw_peak' }, rate(0, true))
|
||||
])
|
||||
])
|
||||
]),
|
||||
E('div', {'class': 'cbi-section-create'})
|
||||
]));
|
||||
|
||||
this.updateGraph(ifname, csvg, [ { line: 'rx', counter: true }, null, { line: 'tx', counter: true } ], function(svg, info) {
|
||||
|
Loading…
Reference in New Issue
Block a user