summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status/htdocs/luci-static/resources
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2024-04-23 13:43:42 +0200
committerFlorian Eckert <fe@dev.tdt.de>2024-04-23 14:14:39 +0200
commit8f90688104b7ac7f9df61ee700b4a80814bac64f (patch)
tree982d5bc78e0736e39311e4fcc41d0b98af488f85 /modules/luci-mod-status/htdocs/luci-static/resources
parentf4868c3426965def268f008d71d10a86855ff1bc (diff)
luci-mod-status: wireless: add missing css cbi-* class elements
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'modules/luci-mod-status/htdocs/luci-static/resources')
-rw-r--r--modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js
index 5942eaf06b..f5b3404382 100644
--- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js
+++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js
@@ -241,7 +241,7 @@ return view.extend({
svg2 = data[1],
wifidevs = data[2];
- var v = E('div', {}, E('div'));
+ var v = E('div', { 'class': 'cbi-map', 'id': 'map' }, E('div'));
for (var i = 0; i < wifidevs.length; i++) {
var ifname = wifidevs[i].getIfname();
@@ -252,7 +252,7 @@ return view.extend({
var csvg1 = svg1.cloneNode(true),
csvg2 = svg2.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 }, [
csvg1,
E('div', { 'class': 'right' }, E('small', { 'id': 'scale' }, '-')),
E('br'),
@@ -296,7 +296,8 @@ return view.extend({
E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Peak:') ])),
E('td', { 'class': 'td', 'id': 'rate_bw_peak' }, [ '0 Mbit/s' ])
])
- ])
+ ]),
+ E('div', {'class': 'cbi-section-create'})
]));
this.updateGraph(ifname, csvg1, [ null, { line: 'rssi', offset: 155 }, { line: 'noise', offset: 155 } ], function(svg, info) {