2 LuCI - Lua Configuration Interface
3 Copyright
2008 Steven Barth
<steven@midlink.org
>
4 Copyright
2008 Jo-Philipp Wich
<xm@leipzig.freifunk.net
>
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
10 http://www.apache.org/licenses/LICENSE-
2.0
16 <h2><a id=
"content" name=
"content"><%:System%
></a></h2>
17 <h3><%:Backup / Restore%
></h3>
18 <p><%:Here you can backup and restore your router configuration and - if possible - reset the router to the default settings.%
></p>
22 <li><a href=
"<%=REQUEST_URI%>?backup=kthxbye"><%:Create backup%
></a></li>
23 <% if reset_avail then -%
>
24 <li><a href=
"<%=REQUEST_URI%>?reset=yarly" onclick=
"return confirm('<%:Proceed reverting all settings and resetting to firmware defaults?%>')"><%:Reset router to defaults%
></a></li>
31 <form method=
"post" action=
"<%=REQUEST_URI%>" enctype=
"multipart/form-data">
32 <div class=
"left"><%:Backup Archive%
>:
</div>
34 <input type=
"file" size=
"30" name=
"archive" />
37 <input type=
"submit" class=
"cbi-button cbi-input-apply" value=
"<%:Restore backup%>" />