luci-mod-status: switch to html table for wlan channel analysis
authorFlorian Eckert <fe@dev.tdt.de>
Wed, 16 Jun 2021 14:32:35 +0000 (16:32 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Mon, 21 Jun 2021 10:21:44 +0000 (12:21 +0200)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 8f8ce8613fb6e41954aa5bcbb60330e3b034bd3a)

modules/luci-mod-status/htdocs/luci-static/resources/view/status/channel_analysis.js

index 4b321a4f334bab24a5f21bcfb4e4a2d0c5671614..0c8cff8c0e0c3d5401d548e20b1838fd68dcea79 100644 (file)
@@ -369,14 +369,14 @@ return view.extend({
                                        continue;
 
                                var csvg = svg.cloneNode(true),
-                               table = E('div', { 'class': 'table' }, [
-                                       E('div', { 'class': 'tr table-titles' }, [
-                                               E('div', { 'class': 'th col-2 middle center' }, _('Signal')),
-                                               E('div', { 'class': 'th col-4 middle left' }, _('SSID')),
-                                               E('div', { 'class': 'th col-2 middle center hide-xs' }, _('Channel')),
-                                               E('div', { 'class': 'th col-3 middle left' }, _('Channel Width')),
-                                               E('div', { 'class': 'th col-2 middle left hide-xs' }, _('Mode')),
-                                               E('div', { 'class': 'th col-3 middle left hide-xs' }, _('BSSID'))
+                               table = E('table', { 'class': 'table' }, [
+                                       E('tr', { 'class': 'tr table-titles' }, [
+                                               E('th', { 'class': 'th col-2 middle center' }, _('Signal')),
+                                               E('th', { 'class': 'th col-4 middle left' }, _('SSID')),
+                                               E('th', { 'class': 'th col-2 middle center hide-xs' }, _('Channel')),
+                                               E('th', { 'class': 'th col-3 middle left' }, _('Channel Width')),
+                                               E('th', { 'class': 'th col-2 middle left hide-xs' }, _('Mode')),
+                                               E('th', { 'class': 'th col-3 middle left hide-xs' }, _('BSSID'))
                                        ])
                                ]),
                                tab = E('div', { 'data-tab': ifname+freq, 'data-tab-title': ifname+' ('+freq+')' },