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>
Mon, 23 Mar 2020 20:36:59 +0000 (21:36 +0100)
commit993b4f79506c99357dc77eeaa74b0fd9149b1cf1
treea7f2aa67b90e4f66d8cbff3be6119083d1fbfc53
parent63d357123ffafd135760d9b0922a576639cf4201
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>
modules/luci-base/htdocs/luci-static/resources/ui.js