luci-base: simplify apply widget code
authorJo-Philipp Wich <jo@mein.io>
Tue, 13 Nov 2018 17:32:19 +0000 (18:32 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 14 Nov 2018 19:46:04 +0000 (20:46 +0100)
commit94d8c9a7aa2336af9bbbf17941529f5f42daf906
tree24e9088ce6661f618457818a2a1c98733e63e7c6
parent333b7e57d3a45bb1d604685ebb78ab167c3faf73
luci-base: simplify apply widget code

 - Drop embedded CSS in favor to new global rules
 - Drop extraneous include of cbi.js
 - Use showModal() facilities
 - Fix a cosmetic bug in countdown timeout handling

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/view/cbi/apply_widget.htm