summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini/luasrc/view/mini/backup.htm
blob: 42d338e1db3626e88613629119823364e14d7e31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<%#
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

	http://www.apache.org/licenses/LICENSE-2.0

$Id$

-%>
<%+header%>
<h1><%:system%></h1>
<h2><%:a_s_backup%></h2>
<p><%:a_s_backup1%></p>
<br />
<div>
	<ul>
	<li><a href="<%=REQUEST_URI%>?backup=kthxbye"><%:a_s_backup_backup%></a></li>
	<% if reset_avail then -%>
	<li><a href="<%=REQUEST_URI%>?reset=yarly" onclick="return confirm('<%:a_s_backup_reset1%>')"><%:a_s_backup_reset%></a></li>
	<% end -%>
	</ul>
</div>

<br />

<form method="post" action="<%=REQUEST_URI%>" enctype="multipart/form-data">
	<div class="left"><%:a_s_backup_archive%>:</div>
	<div>
		<input type="file" size="30" name="archive" />
	</div>
	<div>
		<input type="submit" value="<%:a_s_backup_restore%>" />
	</div>
</form>
<%+footer%>