2008-08-03 15:01:36 +00:00
< %#
2015-01-16 22:38:38 +00:00
Copyright 2008 Steven Barth < steven @ midlink . org >
2015-01-16 22:46:42 +00:00
Copyright 2008 Jo-Philipp Wich < jow @ openwrt . org >
2015-01-16 22:38:38 +00:00
Licensed to the public under the Apache License 2.0.
2008-08-03 15:01:36 +00:00
-%>
2015-01-16 22:38:38 +00:00
2008-08-03 15:01:36 +00:00
< %+header%>
2015-10-06 11:29:43 +00:00
< h2 name = "content" > < %:System%>< / h2 >
2009-10-31 15:54:11 +00:00
< h3 > < %:Backup / Restore%>< / h3 >
2012-07-01 20:05:05 +00:00
< p > < %:Here you can backup and restore your configuration and - if possible - reset this device 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 -%>
2012-07-01 20:05:05 +00:00
< 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 >
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%>