luci-compat: update markup for CBI TableSections
authorJo-Philipp Wich <jo@mein.io>
Fri, 9 Apr 2021 12:24:46 +0000 (14:24 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 9 Apr 2021 12:29:12 +0000 (14:29 +0200)
commit2155868175fdf1de273cafc0b37b1b9fd5900b04
tree852c27b915cdc0ce30aaa6d20ab5ab9c1ab8ff38
parentdb00103547f0c44844c1ca913b4c7ef34c8b13ab
luci-compat: update markup for CBI TableSections

Update legacy CBI markup to use actual table, tr, th and td elements
instead of using div element corresponding table classes.

Fixes compatibility with OpenWrt 2020 theme.

Ref: https://github.com/openwrt/luci/issues/4972
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-compat/luasrc/view/cbi/cell_valuefooter.htm
modules/luci-compat/luasrc/view/cbi/cell_valueheader.htm
modules/luci-compat/luasrc/view/cbi/tblsection.htm