From 350be23eb912bd1f3d1d2c09131d1ed03a27dcd0 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 28 Jul 2018 11:43:02 +0200 Subject: 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 --- 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 d268d71cf..1667d3aa9 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") %> -- cgit v1.2.3