Globally reduce copyright headers
[project/luci.git] / modules / luci-mod-admin-full / luasrc / view / admin_uci / changes.htm
1 <%#
2 Copyright 2008 Steven Barth <steven@midlink.org>
3 Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
4 Licensed to the public under the Apache License 2.0.
5 -%>
6
7 <%+header%>
8
9 <h2><a id="content" name="content"><%:Configuration%> / <%:Changes%></a></h2>
10
11 <% if changes then %>
12 <%+admin_uci/changelog%>
13 <%- uci_changelog(changes) -%>
14 <% else %>
15 <p><strong><%:There are no pending changes!%></strong></p>
16 <% end %>
17
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%>" />
23 </form>
24 </div>
25 <% end %>
26
27 <div style="text-align:right">
28 <form class="inline" method="get" action="<%=controller%>/admin/uci/apply">
29 <input type="hidden" name="redir" value="<%=pcdata(luci.http.formvalue("redir"))%>" />
30 <input class="cbi-button cbi-button-apply" type="submit" value="<%:Apply%>" />
31 </form>
32 <form class="inline" method="get" action="<%=controller%>/admin/uci/saveapply">
33 <input type="hidden" name="redir" value="<%=pcdata(luci.http.formvalue("redir"))%>" />
34 <input class="cbi-button cbi-button-save" type="submit" value="<%:Save & Apply%>" />
35 </form>
36 <form class="inline" method="get" action="<%=controller%>/admin/uci/revert">
37 <input type="hidden" name="redir" value="<%=pcdata(luci.http.formvalue("redir"))%>" />
38 <input class="cbi-button cbi-button-reset" type="submit" value="<%:Revert%>" />
39 </form>
40 </div>
41 </div>
42
43 <%+footer%>