1 <div class=
"cbi-form" id=
"tabs" style=
"display:none">
2 <ul class=
"cbi-tabmenu">
3 <li><a href=
"#actions"><%:Actions%
></a></li>
4 <li><a href=
"#config"><%:Configuration%
></a></li>
8 <h3><%:Backup / Restore%
></h3>
9 <p><%:Click
"Generate archive" to download a tar archive of the current configuration files. To reset the firmware to its initial state, click
"Perform reset" (only possible with squashfs images).%
></p>
11 <form action=
"/cgi-bin/luci-backup" method=
"post" style=
"display:inline">
12 <input type=
"hidden" name=
"sessionid" />
13 <input class=
"cbi-button cbi-button-apply" type=
"button" id=
"btn_backup" value=
"<%:Generate archive%>" />
15 <input class=
"cbi-button cbi-button-reset" type=
"button" id=
"btn_reset" value=
"<%:Perform reset%>" />
19 <p><%:To restore configuration files, you can upload a previously generated backup archive here.%
></p>
21 <input class=
"cbi-button cbi-input-apply" type=
"button" id=
"btn_restore" value=
"<%:Upload archive...%>" />
25 <h3><%:Flash new firmware image%
></h3>
26 <p><%:Upload a sysupgrade-compatible image here to replace the running firmware. Check
"Keep settings" to retain the current configuration (requires an OpenWrt compatible firmware image).%
></p>
28 <input class=
"cbi-button cbi-input-apply" type=
"button" id=
"btn_flash" value=
"<%:Flash image...%>" />
33 <textarea style=
"width:100%"></textarea>
34 <div class=
"cbi-page-actions">
35 <input class=
"cbi-button cbi-button-save" type=
"button" id=
"btn_save" value=
"<%:Save%>" />
36 <input class=
"cbi-button cbi-button-apply" type=
"button" id=
"btn_list" value=
"<%:Show current backup file list …%>" />