diff options
Diffstat (limited to 'modules/luci-base/luasrc/view/footer.htm')
-rw-r--r-- | modules/luci-base/luasrc/view/footer.htm | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/modules/luci-base/luasrc/view/footer.htm b/modules/luci-base/luasrc/view/footer.htm deleted file mode 100644 index ba14ec8678..0000000000 --- a/modules/luci-base/luasrc/view/footer.htm +++ /dev/null @@ -1,27 +0,0 @@ -<%# - Copyright 2008 Steven Barth <steven@midlink.org> - Copyright 2008-2019 Jo-Philipp Wich <jo@mein.io> - Licensed to the public under the Apache License 2.0. --%> - -<% - 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 -%> - <script type="text/javascript"> - document.addEventListener("luci-loaded", function() { - <% if trigger_apply then -%> - L.ui.changes.apply(true); - <%- elseif trigger_revert then -%> - L.ui.changes.revert(); - <%- else -%> - L.ui.changes.confirm(true, Date.now() + <%=rollback_time_remaining%> * 1000, <%=luci.http.write_json(rollback_token)%>); - <%- end %> - }); - </script> -<% - end - - include("themes/" .. theme .. "/footer") -%> |