From: Jo-Philipp Wich Date: Tue, 13 Nov 2018 17:32:19 +0000 (+0100) Subject: luci-base: simplify apply widget code X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=94d8c9a7aa2336af9bbbf17941529f5f42daf906;p=oweals%2Fluci.git 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 --- diff --git a/modules/luci-base/luasrc/view/cbi/apply_widget.htm b/modules/luci-base/luasrc/view/cbi/apply_widget.htm index 0df16e88c..05511c9ab 100644 --- a/modules/luci-base/luasrc/view/cbi/apply_widget.htm +++ b/modules/luci-base/luasrc/view/cbi/apply_widget.htm @@ -1,49 +1,4 @@ <% export("cbi_apply_widget", function(redirect_ok, rollback_token) -%> - - -