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>
This commit is contained in:
parent
e5a1ac0228
commit
350be23eb9
1 changed files with 2 additions and 2 deletions
|
@ -5,8 +5,6 @@
|
||||||
-%>
|
-%>
|
||||||
|
|
||||||
<%
|
<%
|
||||||
include("themes/" .. theme .. "/footer")
|
|
||||||
|
|
||||||
local is_rollback_pending, rollback_time_remaining, rollback_session, rollback_token = luci.model.uci:rollback_pending()
|
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
|
if is_rollback_pending or trigger_apply or trigger_revert then
|
||||||
|
@ -27,4 +25,6 @@
|
||||||
</script>
|
</script>
|
||||||
<%
|
<%
|
||||||
end
|
end
|
||||||
|
|
||||||
|
include("themes/" .. theme .. "/footer")
|
||||||
%>
|
%>
|
||||||
|
|
Loading…
Reference in a new issue