summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/view/footer.htm
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-07-28 11:43:02 +0200
committerJo-Philipp Wich <jo@mein.io>2018-07-28 14:21:36 +0200
commit350be23eb912bd1f3d1d2c09131d1ed03a27dcd0 (patch)
treed321486a170bdae3042b9ddebee0b2a973ae6b69 /modules/luci-base/luasrc/view/footer.htm
parente5a1ac02289e8fde8ddbd05bbb21ac448c661ae3 (diff)
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>
Diffstat (limited to 'modules/luci-base/luasrc/view/footer.htm')
-rw-r--r--modules/luci-base/luasrc/view/footer.htm4
1 files 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 @@
</script>
<%
end
+
+ include("themes/" .. theme .. "/footer")
%>