process.php
30 lines
| 1 | <div id="wpstg--process-modal" data-cancelButtonText="<?php esc_attr_e('Cancel', 'wp-staging') ?>" class="wpstg--process-modal"> |
| 2 | <span class="wpstg-loader"></span> |
| 3 | <h3 class="wpstg--process-modal--title"> |
| 4 | <?php esc_html_e('Processing...', 'wp-staging') ?> |
| 5 | </h3> |
| 6 | <div class="wpstg--process-modal--subtitle"> |
| 7 | <?php esc_html_e('Progress', 'wp-staging') ?> |
| 8 | <span class="wpstg--process-modal--percent">0</span>% - <?php esc_html_e('Elapsed time', 'wp-staging');?> |
| 9 | <span class="wpstg--process-modal--elapsed-time">0:00</span> |
| 10 | </div> |
| 11 | <div class="wpstg--process-modal--info-strip" style="display: none;"> |
| 12 | <?php esc_html_e('You can close this window. Remote Sync will continue in the background.', 'wp-staging'); ?> |
| 13 | </div> |
| 14 | <div class="wpstg--process-modal--no-update-message" style="display: none; color: red; margin-top: 10px; margin-bottom: 10px;"> |
| 15 | <?php esc_html_e('No updates from the server. Please cancel the process if it does not stop automatically and contact support.', 'wp-staging'); ?> |
| 16 | </div> |
| 17 | <button class="wpstg--process-modal--logs-button wpstg-btn wpstg-btn-ghost" data-txt-bad="<?php echo sprintf( |
| 18 | esc_attr__('(%s) Critical, (%s) Errors, (%s) Warnings. Show Logs', 'wp-staging'), |
| 19 | '<span class=\'wpstg--modal--logs--critical-count\'>0</span>', |
| 20 | '<span class=\'wpstg--modal--logs--error-count\'>0</span>', |
| 21 | '<span class=\'wpstg--modal--logs--warning-count\'>0</span>' |
| 22 | ) ?>"> |
| 23 | <?php esc_html_e('Show Logs', 'wp-staging') ?> |
| 24 | </button> |
| 25 | <div class="wpstg--process-modal--generic-problem"></div> |
| 26 | <div class="wpstg--process-modal--logs wpstg--logs--container"> |
| 27 | <?php require(WPSTG_VIEWS_DIR . 'logs/logs-template.php'); ?> |
| 28 | </div> |
| 29 | </div> |
| 30 |