luci-base: rework ui tabbing code
authorJo-Philipp Wich <jo@mein.io>
Wed, 5 Dec 2018 07:48:35 +0000 (08:48 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 10 Dec 2018 12:41:34 +0000 (13:41 +0100)
commit76e9c0305ed65480e0d1e3e86d831ac24de98bcd
treeb5059bb0b138d4acd48f54814205f43ea888d878
parent747e10bae6e9ec45e7d10f962c8c25ae804e97e7
luci-base: rework ui tabbing code

 - Instantiate tab menus on the client side
 - Simplify server side markup generation
 - Show error indicators in cbi tabs

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/cbi.js
modules/luci-base/htdocs/luci-static/resources/luci.js
modules/luci-base/luasrc/view/cbi/map.htm
modules/luci-base/luasrc/view/cbi/nsection.htm
modules/luci-base/luasrc/view/cbi/tabcontainer.htm
modules/luci-base/luasrc/view/cbi/tabmenu.htm [deleted file]
modules/luci-base/luasrc/view/cbi/tsection.htm