partials
2 weeks ago
advanced-exclude-options.php
11 months ago
backup-parts.php
10 months ago
backup-scheduling-options.php
1 week ago
backup-storages.php
1 week ago
backup.php
1 week ago
confirm-restore.php
2 weeks ago
download-modal.php
10 months ago
edit-schedule-modal.php
2 weeks ago
manage-schedules.php
2 weeks ago
remote-upload.php
4 months ago
restore.php
2 weeks ago
upload.php
2 weeks ago
backup-parts.php
40 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * @var \WPStaging\Framework\TemplateEngine\TemplateEngine $this |
| 5 | * @var array $backupParts |
| 6 | */ |
| 7 | |
| 8 | ?> |
| 9 | <?php |
| 10 | foreach ($backupParts as $backupPart) :?> |
| 11 | <div class="wpstg--backups--part"> |
| 12 | <div class="wpstg-backup-part-header"> |
| 13 | <div class="wpstg-backup-part-title"> |
| 14 | <?php $this->getAssets()->renderSvg($backupPart['icon']); ?> |
| 15 | <div class="wpstg--backup-category <?php esc_attr_e($backupPart['partType'], 'wp-staging');?>"> |
| 16 | <?php esc_html_e($backupPart['name'], 'wp-staging'); ?> |
| 17 | </div> |
| 18 | <?php if (!empty($backupPart['partIndex'])) : ?> |
| 19 | <span class="wpstg--backup-category wpstg--backup-category-parts"> |
| 20 | <?php esc_html_e($backupPart['partIndex'], 'wp-staging'); ?> |
| 21 | </span> |
| 22 | <?php endif; ?> |
| 23 | </div> |
| 24 | <a href="<?php esc_attr_e($backupPart['downloadLink'], 'wp-staging'); ?>" class="wpstg--download-btn"> |
| 25 | <?php $this->getAssets()->renderSvg('download'); ?> |
| 26 | </a> |
| 27 | </div> |
| 28 | <div class="wpstg-backup-part-desc"> |
| 29 | <?php esc_html_e($backupPart['description'], 'wp-staging'); ?> |
| 30 | </div> |
| 31 | <div class="wpstg--backup-parts-info"> |
| 32 | <span class="wpstg--backup-icon"> |
| 33 | <?php $this->getAssets()->renderSvg('file'); ?> |
| 34 | <?php esc_html_e('File Size:', 'wp-staging');?> |
| 35 | <?php esc_html_e($backupPart['fileSize'], 'wp-staging');?> |
| 36 | </span> |
| 37 | </div> |
| 38 | </div> |
| 39 | <?php endforeach;?> |
| 40 |