modules/admin-full: properly handle disabled radios in live overview
[project/luci.git] / modules / admin-full / luasrc / view / admin_uci / revert.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 / Revert%></a></h2>
19
20 <% if changes then %>
21         <%+cbi/apply_xhr%>
22         <%+admin_uci/changelog%>
23
24         <p><strong><%:The following changes have been reverted%>:</strong></p>
25         <%- uci_changelog(changes) -%>
26 <% else %>
27         <p><strong><%:There are no pending changes to revert!%></strong></p>
28 <% end %>
29
30 <div class="cbi-page-actions">
31         <form class="inline" method="get" action="<%=luci.util.pcdata(luci.http.formvalue("redir"))%>">
32                 <input class="cbi-button" style="margin:0" type="submit" value="« <%:back%>" />
33         </form>
34 </div>
35
36 <%+footer%>