mirror of https://github.com/openwrt/luci.git
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>pull/2012/head
parent
e5a1ac0228
commit
350be23eb9
|
@ -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")
|
||||
%>
|
||||
|
|
Loading…
Reference in New Issue