2 Copyright 2008 Steven Barth <steven@midlink.org>
3 Copyright 2008-2015 Jo-Philipp Wich <jow@openwrt.org>
4 Licensed to the public under the Apache License 2.0.
9 <h2 name="content"><%:Configuration%> / <%:Changes%></h2>
12 <%+admin_uci/changelog%>
13 <%- uci_changelog(changes) -%>
15 <p><strong><%:There are no pending changes!%></strong></p>
18 <div class="cbi-page-actions">
19 <% local r = luci.http.formvalue("redir"); if r and #r > 0 then %>
20 <div style="float:left">
21 <form class="inline" method="get" action="<%=luci.util.pcdata(r)%>">
22 <input class="cbi-button cbi-button-link" style="float:left; margin:0" type="submit" value="<%:Back%>" />
27 <div style="text-align:right">
28 <form class="inline" method="post" action="<%=controller%>/admin/uci/apply">
29 <input type="hidden" name="token" value="<%=token%>" />
30 <input type="hidden" name="redir" value="<%=pcdata(luci.http.formvalue("redir"))%>" />
31 <input class="cbi-button cbi-button-apply" type="submit" value="<%:Apply%>" />
33 <form class="inline" method="post" action="<%=controller%>/admin/uci/saveapply">
34 <input type="hidden" name="token" value="<%=token%>" />
35 <input type="hidden" name="redir" value="<%=pcdata(luci.http.formvalue("redir"))%>" />
36 <input class="cbi-button cbi-button-save" type="submit" value="<%:Save & Apply%>" />
38 <form class="inline" method="post" action="<%=controller%>/admin/uci/revert">
39 <input type="hidden" name="token" value="<%=token%>" />
40 <input type="hidden" name="redir" value="<%=pcdata(luci.http.formvalue("redir"))%>" />
41 <input class="cbi-button cbi-button-reset" type="submit" value="<%:Revert%>" />