luci2: rename switch acl group to network as it is going to be shared with other...
[project/luci2/ui.git] / luci2 / htdocs / luci2 / template / system.upgrade.htm
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>
5         </ul>
6
7         <div id="actions">
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>
10                 <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%>" />
14                         </form>
15                         <input class="cbi-button cbi-button-reset" type="button" id="btn_reset" value="<%:Perform reset%>" />
16                 </p>
17                 <br />
18
19                 <p><%:To restore configuration files, you can upload a previously generated backup archive here.%></p>
20                 <p>
21                         <input class="cbi-button cbi-input-apply" type="button" id="btn_restore" value="<%:Upload archive...%>" />
22                 </p>
23                 <br />
24
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>
27                 <p>
28                         <input class="cbi-button cbi-input-apply" type="button" id="btn_flash" value="<%:Flash image...%>" />
29                 </p>
30         </div>
31
32         <div id="config">
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 …%>" />
37                 </div>
38         </div>
39 </div>