From 94d8c9a7aa2336af9bbbf17941529f5f42daf906 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 13 Nov 2018 18:32:19 +0100 Subject: [PATCH] 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 --- .../luasrc/view/cbi/apply_widget.htm | 96 ++++--------------- 1 file changed, 20 insertions(+), 76 deletions(-) diff --git a/modules/luci-base/luasrc/view/cbi/apply_widget.htm b/modules/luci-base/luasrc/view/cbi/apply_widget.htm index 0df16e88c8..05511c9ab0 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) -%> - - -