luci-mod-admin-full/mini: replace Wifi with Wireless in menus
[project/luci.git] / modules / luci-mod-admin-mini / luasrc / view / mini / backup.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 <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>
11 <br />
12 <div>
13         <ul>
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>
17         <% end -%>
18         </ul>
19 </div>
20
21 <br />
22
23 <form method="post" action="<%=REQUEST_URI%>" enctype="multipart/form-data">
24         <div class="left"><%:Backup Archive%>:</div>
25         <div>
26                 <input type="file" size="30" name="archive" />
27         </div>
28         <div>
29                 <input type="submit" class="cbi-button cbi-input-apply" value="<%:Restore backup%>" />
30         </div>
31 </form>
32 <%+footer%>