2008-08-03 15:01:36 +00:00
< %#
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%>
2009-10-31 15:54:11 +00:00
< h2 > < a id = "content" name = "content" > < %:System%>< / a > < / h2 >
< h3 > < %:Backup / Restore%>< / h3 >
< p > < %:Here you can backup and restore your router configuration and - if possible - reset the router to the default settings.%>< / p >
2008-08-03 15:01:36 +00:00
< br / >
< div >
< ul >
2009-10-31 15:54:11 +00:00
< li > < a href = "<%=REQUEST_URI%>?backup=kthxbye" > < %:Create backup%>< / a > < / li >
2008-08-03 15:01:36 +00:00
< % if reset_avail then -%>
2009-10-31 15:54:11 +00:00
< 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 >
2008-08-03 15:01:36 +00:00
< % end -%>
< / ul >
< / div >
< br / >
< form method = "post" action = "<%=REQUEST_URI%>" enctype = "multipart/form-data" >
2009-10-31 15:54:11 +00:00
< div class = "left" > < %:Backup Archive%>:< / div >
2008-08-03 15:01:36 +00:00
< div >
< input type = "file" size = "30" name = "archive" / >
< / div >
< div >
2011-09-22 13:25:48 +00:00
< input type = "submit" class = "cbi-button cbi-input-apply" value = "<%:Restore backup%>" / >
2008-08-03 15:01:36 +00:00
< / div >
< / form >
2011-09-22 13:25:48 +00:00
< %+footer%>