luci-base: ui.js: various tweaks
authorJo-Philipp Wich <jo@mein.io>
Mon, 23 Mar 2020 20:36:59 +0000 (21:36 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 7 May 2020 17:40:49 +0000 (19:40 +0200)
commit2c2fdaf6ea13385cb1b16d45b36ff68cb3a01a02
tree96af62e66624e87692c58f9b1c7826f6794cced6
parent85ac64e08ccd00ffa789b83f35972e9ec8431556
luci-base: ui.js: various tweaks

 - emit checkbox markup suitable for CSS styling
 - use .btn CSS class where appropriate
 - dispatch events when updating uci change indicator
 - use correct target node when handling events in createHandlerFn()

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 993b4f79506c99357dc77eeaa74b0fd9149b1cf1)
modules/luci-base/htdocs/luci-static/resources/ui.js