<%# LuCI - Lua Configuration Interface Copyright 2008 Steven Barth Copyright 2008 Jo-Philipp Wich Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id: apply.htm 9014 2012-08-14 13:08:18Z jow $ -%> <%+header%> <%=luci.sys.hostname()%> <% local uci = require("luci.model.uci").cursor() if uci:get("functionlist","functionlist","SUPPORT_OPEN_LEFTMENU") == "0" then %> <% end reboot_time = uci:get('functionlist','vendorlist','DUT_REBOOT_TIME') or 60 %> <% if changes then %> <%+cbi/apply_xhr%> <%- cbi_apply_xhr('uci-apply', configs, REQUEST_URI) -%>

<%:System%> - <% if title then %><%=title%><% else %><%:Reloading...%><% end %>

<% if msg then %><%=msg%><% else %><%:Changes applied.%><% end %>

<%:Loading%> <%:Waiting for changes to be applied...%>

<% else %>

<%:There are no pending changes to apply!%>

<% local redir = luci.dispatcher.build_url("admin", "status", "overview")%> <% end %> <%+footer%>