backup-ongoing.php
11 months ago
backup_controller.php
11 months ago
backups-table-header.php
11 months ago
backups-under-table.php
11 months ago
before-update-backup-errors.php
11 months ago
email-errors.php
11 months ago
quota-errors.php
11 months ago
security-plugins-warning.php
11 months ago
super-quick-migration.php
11 months ago
support-chat.php
11 months ago
upload-backup.php
11 months ago
backups-under-table.php
94 lines
| 1 | <?php |
| 2 | |
| 3 | // Namespace |
| 4 | namespace BMI\Plugin\Dashboard; |
| 5 | use BMI\Plugin\Backup_Migration_Plugin AS BMP; |
| 6 | |
| 7 | // Exit on direct access |
| 8 | if (!defined('ABSPATH')) exit; |
| 9 | |
| 10 | ?> |
| 11 | |
| 12 | <div class="cf lh28 valign-restore"> |
| 13 | |
| 14 | <div class="left cf hoverable" id="show-upload-area"> |
| 15 | <div class="left"> |
| 16 | <img class="a2" src="<?php echo $this->get_asset('images', 'upload-min.png'); ?>" width="15px" alt="image"> |
| 17 | </div> |
| 18 | <div class="left f16 secondary hoverable"> |
| 19 | <?php _e('Upload backup files', 'backup-backup') ?> |
| 20 | </div> |
| 21 | </div> |
| 22 | |
| 23 | <div class="left cf" style="margin-left: 35px;"> |
| 24 | <div class="left"> |
| 25 | <img class="a1" src="<?php echo $this->get_asset('images', 'search-min.png'); ?>" width="15px" alt="image"> |
| 26 | </div> |
| 27 | <div class="left f16"> |
| 28 | <?php _e('Rescan for backup files:', 'backup-backup') ?> |
| 29 | <a href="#" id="rescan-for-backups" class="secondary hoverable"><?php _e('Refresh', 'backup-backup') ?></a> |
| 30 | <span style="display: none;">| <a href="#"><?php _e('Remotely', 'backup-backup') ?></a></span> |
| 31 | <span id="reloading-bm-list" style="display: none;"><div class="spinner-loader"></div></span> |
| 32 | </div> |
| 33 | </div> |
| 34 | |
| 35 | </div> |
| 36 | |
| 37 | <div class="mtl del-all-btn-wrp mbll" style="display: none;"> |
| 38 | <button class="btn red deleteAllSelected"><?php _e('Delete all selected backups', 'backup-backup') ?></button> |
| 39 | </div> |
| 40 | |
| 41 | <div class="upload_area hidden"> |
| 42 | |
| 43 | <div id="drop-area"> |
| 44 | <label for="upid_input"> |
| 45 | <form class="my-form center mt"> |
| 46 | <div class="img_upload center block"></div> |
| 47 | <div class="f18 muted-text mtll"> |
| 48 | <?php _e("Drag & drop your backup file here", 'backup-backup'); ?> |
| 49 | </div> |
| 50 | <div class="cf mtl center inline"> |
| 51 | <div class="left ortext"> |
| 52 | <?php _e("...or", 'backup-backup'); ?> |
| 53 | </div> |
| 54 | <div class="left"> |
| 55 | <div class="btn upload_button"> |
| 56 | <?php _e("Browse for file", 'backup-backup'); ?> |
| 57 | </div> |
| 58 | </div> |
| 59 | </div> |
| 60 | <input type="file" id="upid_input" accept=".zip,.gz,.tar" onchange="jQuery.fchunker_upload()"> |
| 61 | </form> |
| 62 | </label> |
| 63 | </div> |
| 64 | |
| 65 | <div class="mtl center upload-progress" style="display: none;"> |
| 66 | |
| 67 | <div class="upload-title mtl"> |
| 68 | <?php _e("Upload in progress", 'backup-backup'); ?> |
| 69 | </div> |
| 70 | |
| 71 | <div class="upload-progress-bar"> |
| 72 | <span> |
| 73 | <div class="upload-percentage">99%</div> |
| 74 | </span> |
| 75 | </div> |
| 76 | |
| 77 | <div class="mtll"> |
| 78 | <a href="#" class="f16 medium red-text nodec hoverable" onclick="window.location.reload()"><?php _e("Cancel upload", 'backup-backup'); ?></a> |
| 79 | </div> |
| 80 | |
| 81 | </div> |
| 82 | |
| 83 | <div class="f18 mt30 lh30"> |
| 84 | <?php _e("Alternatively, you can place the files (e.g. via FTP) into your local backup directory", 'backup-backup'); ?> (<?php echo BMP::fixSlashes(BMI_BACKUPS); ?>) <?php _e('or remote storage, and then use the "Rescan for backup files" - option above to make them show up in the list.', 'backup-backup'); ?> |
| 85 | </div> |
| 86 | |
| 87 | </div> |
| 88 | |
| 89 | <div class="center mtll" id="load-more-backups-wrp"> |
| 90 | <a href="#" id="load-more-backups" style="display: none;" class="btn inline semibold mm60"> |
| 91 | <?php _e('Load more', 'backup-backup'); ?> |
| 92 | </a> |
| 93 | </div> |
| 94 |