luci-base: fix footer template

Move the apply widget markup before the final </html> tag to avoid XHTML
errors with the OpenWrt theme.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 350be23eb9)
This commit is contained in:
Jo-Philipp Wich 2018-07-28 11:43:02 +02:00
parent 7e5331f154
commit 520afa4c39

View file

@ -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 @@
</script>
<%
end
include("themes/" .. theme .. "/footer")
%>