revert.htm 752 B

123456789101112131415161718192021222324252627
  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. <%+header%>
  7. <h2 name="content"><%:Configuration%> / <%:Revert%></h2>
  8. <% if changes then %>
  9. <%+cbi/apply_xhr%>
  10. <%+admin_uci/changelog%>
  11. <p><strong><%:The following changes have been reverted%>:</strong></p>
  12. <%- uci_changelog(changes) -%>
  13. <% else %>
  14. <p><strong><%:There are no pending changes to revert!%></strong></p>
  15. <% end %>
  16. <div class="cbi-page-actions">
  17. <form class="inline" method="get" action="<%=luci.util.pcdata(luci.http.formvalue("redir"))%>">
  18. <input class="cbi-button cbi-button-link" style="margin:0" type="submit" value="<%:Back%>" />
  19. </form>
  20. </div>
  21. <%+footer%>