luci-base: switch from server side to client side widget markup
authorJo-Philipp Wich <jo@mein.io>
Mon, 1 Apr 2019 14:09:41 +0000 (16:09 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sun, 7 Jul 2019 13:36:24 +0000 (15:36 +0200)
commit9c7eb1decd82344e22a10e6f5ac36b463d2149f5
treea79b11f65288a7bc5d1c7a32a5f95ea57a1e57a3
parent808b9f36eb60cf4717cbf28b163d7ad2faa7f157
luci-base: switch from server side to client side widget markup

Do not render standard widgets like checkboxes, select boxes,
text input fields etc. on the server side anymore but utilize
the ui.js primitives instead.

This avoids logic duplication between server side cbi templates
and JS widgets in the future.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/cbi.lua
modules/luci-base/luasrc/view/cbi/dropdown.htm
modules/luci-base/luasrc/view/cbi/dynlist.htm
modules/luci-base/luasrc/view/cbi/fvalue.htm
modules/luci-base/luasrc/view/cbi/lvalue.htm
modules/luci-base/luasrc/view/cbi/mvalue.htm
modules/luci-base/luasrc/view/cbi/value.htm