* luci-trunk: huge xhtml, css and accessibility improvement patch - thanks Alina!
[project/luci.git] / modules / admin-full / luasrc / view / admin_system / backup.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 <%+header%>
16 <h2><a id="content" name="content"><%:system%></a></h2>
17 <h3><%:a_s_backup%></h3>
18 <p><%:a_s_backup1%></p>
19 <br />
20 <div>
21         <ul>
22         <li><a href="<%=REQUEST_URI%>?backup=kthxbye"><%:a_s_backup_backup%></a></li>
23         <% if reset_avail then -%>
24         <li><a href="<%=REQUEST_URI%>?reset=yarly" onclick="return confirm('<%:a_s_backup_reset1%>')"><%:a_s_backup_reset%></a></li>
25         <% end -%>
26         </ul>
27 </div>
28
29 <br />
30
31 <form method="post" action="<%=REQUEST_URI%>" enctype="multipart/form-data">
32         <div class="left"><%:a_s_backup_archive%>:</div>
33         <div>
34                 <input type="file" size="30" name="archive" />
35         </div>
36         <div>
37                 <input type="submit" class="cbi-input-apply" value="<%:a_s_backup_restore%>" />
38         </div>
39 </form>
40 <%+footer%>