_partials
5 months ago
setup
1 year ago
staging-site
1 year ago
wordpress-com
5 months ago
confirm-delete.php
5 months ago
free-version.php
1 year ago
index.php
6 months ago
listing.php
6 months ago
reset-setup.php
6 months ago
setup.php
6 months ago
staging-site-list-item.php
6 months ago
reset-setup.php
44 lines
| 1 | <?php |
| 2 | |
| 3 | use WPStaging\Staging\Dto\StagingSiteDto; |
| 4 | use WPStaging\Staging\Service\DirectoryScanner; |
| 5 | use WPStaging\Staging\Service\AbstractStagingSetup; |
| 6 | use WPStaging\Staging\Service\TableScanner; |
| 7 | |
| 8 | /** |
| 9 | * @var AbstractStagingSetup $stagingSetup |
| 10 | * @var StagingSiteDto $stagingSiteDto |
| 11 | * @var DirectoryScanner $directoryScanner |
| 12 | * @var TableScanner $tableScanner |
| 13 | */ |
| 14 | ?> |
| 15 | |
| 16 | <h1 class="wpstg-u-m-0 wpstg-mt-10px wpstg--swal2-title"><?php esc_html_e('Reset Staging Site', 'wp-staging'); ?></h1> |
| 17 | <p style="text-align: justify;"><?php esc_html_e('Do you really want to reset this staging site with the current state of the production site?', 'wp-staging'); ?></p> |
| 18 | <p style="font-size: 18px;" class="wpstg--red-warning"><?php esc_html_e('This will delete your modifications!', 'wp-staging'); ?></p> |
| 19 | <p class="wpstg-tables-selection-note" style="text-align: justify;"> |
| 20 | <b class="wpstg--red"><?php esc_html_e("Note: ", "wp-staging") ?></b> |
| 21 | <?php esc_html_e("The original selection for tables and files have been preselected. You can adjust and verify them before starting the reset.", "wp-staging") ?> |
| 22 | </p> |
| 23 | <div class="wpstg-tabs-wrapper" style="text-align: left;"> |
| 24 | <a href="#" class="wpstg-tab-header active" data-id="#wpstg-setup-tables" data-collapsed="true"> |
| 25 | <span class="wpstg-tab-triangle"></span> |
| 26 | <?php esc_html_e("Database Tables", "wp-staging") ?> |
| 27 | <span id="wpstg-tables-count" class="wpstg-selection-preview"></span> |
| 28 | </a> |
| 29 | |
| 30 | <fieldset class="wpstg-tab-section" id="wpstg-setup-tables"> |
| 31 | <?php $tableScanner->renderTablesSelection() ?> |
| 32 | </fieldset> |
| 33 | |
| 34 | <a href="#" class="wpstg-tab-header" data-id="#wpstg-setup-files" data-collapsed="true"> |
| 35 | <span class="wpstg-tab-triangle"></span> |
| 36 | <?php esc_html_e("Files", "wp-staging") ?> |
| 37 | <span id="wpstg-files-count" class="wpstg-selection-preview"></span> |
| 38 | </a> |
| 39 | |
| 40 | <fieldset class="wpstg-tab-section" id="wpstg-setup-files"> |
| 41 | <?php $directoryScanner->renderFilesSelection() ?> |
| 42 | </fieldset> |
| 43 | </div> |
| 44 |