Merge pull request #1705 from Mushoz/add-igmp-snooping
[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 <% local node, url = luci.dispatcher.lookup(luci.http.formvalue("redir")); if url then %>
22         <div class="cbi-page-actions">
23                 <form class="inline" method="get" action="<%=luci.util.pcdata(url)%>">
24                         <input class="cbi-button cbi-button-link" style="margin:0" type="submit" value="<%:Back%>" />
25                 </form>
26         </div>
27 <% end %>
28
29 <%+footer%>