treewide: transition div tables to actual table markup
[project/luci.git] / applications / luci-app-upnp / htdocs / luci-static / resources / view / upnp / upnp.js
index 5780bcc469c80104c1ab496492de036dc3956a39..e0a326d4fcf48bbc8c1555b623b536c2dcff846d 100644 (file)
@@ -78,15 +78,15 @@ return view.extend({
                s = m.section(form.GridSection, '_active_rules');
 
                s.render = L.bind(function(view, section_id) {
-                       var table = E('div', { 'class': 'table cbi-section-table', 'id': 'upnp_status_table' }, [
-                               E('div', { 'class': 'tr table-titles' }, [
-                                       E('div', { 'class': 'th' }, _('Protocol')),
-                                       E('div', { 'class': 'th' }, _('External Port')),
-                                       E('div', { 'class': 'th' }, _('Client Address')),
-                                       E('div', { 'class': 'th' }, _('Host')),
-                                       E('div', { 'class': 'th' }, _('Client Port')),
-                                       E('div', { 'class': 'th' }, _('Description')),
-                                       E('div', { 'class': 'th cbi-section-actions' }, '')
+                       var table = E('table', { 'class': 'table cbi-section-table', 'id': 'upnp_status_table' }, [
+                               E('tr', { 'class': 'tr table-titles' }, [
+                                       E('th', { 'class': 'th' }, _('Protocol')),
+                                       E('th', { 'class': 'th' }, _('External Port')),
+                                       E('th', { 'class': 'th' }, _('Client Address')),
+                                       E('th', { 'class': 'th' }, _('Host')),
+                                       E('th', { 'class': 'th' }, _('Client Port')),
+                                       E('th', { 'class': 'th' }, _('Description')),
+                                       E('th', { 'class': 'th cbi-section-actions' }, '')
                                ])
                        ]);