Merge pull request #522 from LuttyYang/master
[project/luci.git] / modules / luci-mod-admin-full / luasrc / view / admin_uci / revert.htm
1 <%#
2  Copyright 2008 Steven Barth <steven@midlink.org>
3  Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
4  Licensed to the public under the Apache License 2.0.
5 -%>
6
7 <%+header%>
8
9 <h2 name="content"><%:Configuration%> / <%:Revert%></h2>
10
11 <% if changes then %>
12         <%+cbi/apply_xhr%>
13         <%+admin_uci/changelog%>
14
15         <p><strong><%:The following changes have been reverted%>:</strong></p>
16         <%- uci_changelog(changes) -%>
17 <% else %>
18         <p><strong><%:There are no pending changes to revert!%></strong></p>
19 <% end %>
20
21 <div class="cbi-page-actions">
22         <form class="inline" method="get" action="<%=luci.util.pcdata(luci.http.formvalue("redir"))%>">
23                 <input class="cbi-button cbi-button-link" style="margin:0" type="submit" value="<%:Back%>" />
24         </form>
25 </div>
26
27 <%+footer%>