34968c05ac7ec720cd736064e619a699899af371
[project/luci.git] / modules / admin-full / luasrc / view / admin_uci / changes.htm
1 <%#
2 LuCI - Lua Configuration Interface
3 Copyright 2008 Steven Barth <steven@midlink.org>
4 Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10         http://www.apache.org/licenses/LICENSE-2.0
11
12 $Id$
13
14 -%>
15
16 <%+header%>
17
18 <h2><a id="content" name="content"><%:Configuration / Changes%></a></h2>
19
20 <% if changes then %>
21         <%+admin_uci/changelog%>
22         <%- uci_changelog(changes) -%>
23 <% else %>
24         <p><strong><%:There are no pending changes!%></strong></p>
25 <% end %>
26
27 <div class="cbi-page-actions">
28         <div style="float:left">
29                 <form class="inline" method="get" action="<%=luci.util.pcdata(luci.http.formvalue("redir"))%>">
30                         <input class="cbi-button" style="float:left; margin:0" type="submit" value="<%:« Back%>" />
31                 </form>
32         </div>
33
34         <div style="text-align:right">
35                 <form class="inline" method="get" action="<%=controller%>/admin/uci/apply">
36                         <input class="cbi-button cbi-button-apply" type="submit" value="<%:Apply%>" />
37                 </form>
38                 <form class="inline" method="get" action="<%=controller%>/admin/uci/saveapply">
39                         <input class="cbi-button cbi-button-save" type="submit" value="<%:Save & Apply%>" />
40                 </form>
41                 <form class="inline" method="get" action="<%=controller%>/admin/uci/revert">
42                         <input class="cbi-button cbi-button-reset" type="submit" value="<%:Revert%>" />
43                 </form>
44         </div>
45 </div>
46
47 <%+footer%>