From 520afa4c3915b792aa019e44c351100bd240c90a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 28 Jul 2018 11:43:02 +0200 Subject: [PATCH] luci-base: fix footer template Move the apply widget markup before the final tag to avoid XHTML errors with the OpenWrt theme. Signed-off-by: Jo-Philipp Wich (cherry picked from commit 350be23eb912bd1f3d1d2c09131d1ed03a27dcd0) --- modules/luci-base/luasrc/view/footer.htm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/luci-base/luasrc/view/footer.htm b/modules/luci-base/luasrc/view/footer.htm index d268d71cff..1667d3aa9a 100644 --- a/modules/luci-base/luasrc/view/footer.htm +++ b/modules/luci-base/luasrc/view/footer.htm @@ -5,8 +5,6 @@ -%> <% - include("themes/" .. theme .. "/footer") - local is_rollback_pending, rollback_time_remaining, rollback_session, rollback_token = luci.model.uci:rollback_pending() if is_rollback_pending or trigger_apply or trigger_revert then @@ -27,4 +25,6 @@ <% end + + include("themes/" .. theme .. "/footer") %> -- 2.30.2