diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-11-27 20:54:18 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-11-27 21:36:40 +0100 |
commit | 03c77dafe3cfb922b995adfe9c0f8a75c98a18af (patch) | |
tree | 27bb29481b28cd8caed7d582510fd59c8cdf0e39 /applications/luci-app-ddns/htdocs/luci-static/resources/view/status/include | |
parent | c850608dcf58e1872692ca48af7985e528651e80 (diff) |
treewide: transition div tables to actual table markup
Modern browsers allow decomposing table markup equally well as nested div
constructs, therefor migrate our <div> table markup to actual <table> tags
but keep the old table/tr/th/td CSS classes for now to allow for a smooth
theme transition.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-ddns/htdocs/luci-static/resources/view/status/include')
-rw-r--r-- | applications/luci-app-ddns/htdocs/luci-static/resources/view/status/include/70_ddns.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/applications/luci-app-ddns/htdocs/luci-static/resources/view/status/include/70_ddns.js b/applications/luci-app-ddns/htdocs/luci-static/resources/view/status/include/70_ddns.js index 13e8fba217..d3b35d8691 100644 --- a/applications/luci-app-ddns/htdocs/luci-static/resources/view/status/include/70_ddns.js +++ b/applications/luci-app-ddns/htdocs/luci-static/resources/view/status/include/70_ddns.js @@ -22,13 +22,13 @@ return baseclass.extend({ render: function(data) { var services = data[0]; - var table = E('div', { 'class': 'table' }, [ - E('div', { 'class': 'tr table-titles' }, [ - E('div', { 'class': 'th' }, _('Configuration')), - E('div', { 'class': 'th' }, _('Next Update')), - E('div', { 'class': 'th' }, _('Lookup Hostname')), - E('div', { 'class': 'th' }, _('Registered IP')), - E('div', { 'class': 'th' }, _('Network')) + var table = E('table', { 'class': 'table' }, [ + E('tr', { 'class': 'tr table-titles' }, [ + E('th', { 'class': 'th' }, _('Configuration')), + E('th', { 'class': 'th' }, _('Next Update')), + E('th', { 'class': 'th' }, _('Lookup Hostname')), + E('th', { 'class': 'th' }, _('Registered IP')), + E('th', { 'class': 'th' }, _('Network')) ]) ]); |