- <div class="tab-content">
- <div class="tab-pane active" id="actions">
- <div class="panel panel-default">
- <div class="panel-heading">
- <h3 class="panel-title"><%:Backup / Restore%></h3>
- </div>
- <div class="panel-body">
- <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>
- <p>
- <form action="/cgi-bin/luci-backup" method="post" style="display:inline">
- <input type="hidden" name="sessionid" />
- <input class="btn btn-primary" type="button" id="btn_backup" value="<%:Generate archive%>" />
- </form>
- <input class="btn btn-danger" type="button" id="btn_reset" value="<%:Perform reset%>" />
- </p>
-
- <p><%:To restore configuration files, you can upload a previously generated backup archive here.%></p>
- <p>
- <input class="btn btn-primary" type="button" id="btn_restore" value="<%:Upload archive...%>" />
- </p>
- </div>
+<div class="tab-content">
+ <div class="tab-pane active" id="actions">
+ <div class="panel panel-default">
+ <div class="panel-heading">
+ <h3 class="panel-title"><%:Backup / Restore%></h3>