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.
8 <h2 name="content"><%:System%></h2>
9 <h3><%:Backup / Restore%></h3>
10 <p><%:Here you can backup and restore your configuration and - if possible - reset this device to the default settings.%></p>
14 <li><a href="<%=REQUEST_URI%>?backup=kthxbye"><%:Create backup%></a></li>
15 <% if reset_avail then -%>
16 <li><a href="<%=REQUEST_URI%>?reset=yarly" onclick="return confirm('<%:Proceed reverting all settings and resetting to firmware defaults?%>')"><%:Reset this device to defaults%></a></li>
23 <form method="post" action="<%=REQUEST_URI%>" enctype="multipart/form-data">
24 <div class="left"><%:Backup Archive%>:</div>
26 <input type="file" size="30" name="archive" />
29 <input type="submit" class="cbi-button cbi-input-apply" value="<%:Restore backup%>" />