| 1 |
<?php |
| 2 |
/** |
| 3 |
* Settings modal(s) |
| 4 |
* |
| 5 |
* @package PoweredCache\Admin |
| 6 |
*/ |
| 7 |
|
| 8 |
// phpcs:disable WordPress.WhiteSpace.PrecisionAlignment.Found |
| 9 |
if ( ! defined( 'ABSPATH' ) ) { |
| 10 |
exit; // Exit if accessed directly. |
| 11 |
} |
| 12 |
?> |
| 13 |
<div class="sui-modal sui-modal-lg"> |
| 14 |
<?php wp_nonce_field( 'powered_cache_run_diagnostic', 'powered_cache_run_diagnostic' ); ?> |
| 15 |
|
| 16 |
<div role="dialog" |
| 17 |
id="pcmodal--powered-cache-diagnostic" |
| 18 |
class="sui-modal-content" |
| 19 |
aria-live="polite" |
| 20 |
aria-modal="true" |
| 21 |
aria-labelledby="pcmodal--powered-cache-diagnostic-title" |
| 22 |
aria-describedby="pcmodal--powered-cache-diagnostic-desc" |
| 23 |
> |
| 24 |
|
| 25 |
<div class="sui-box"> |
| 26 |
|
| 27 |
<button class="sui-screen-reader-text" data-modal-close=""><?php esc_html_e( 'Close', 'powered-cache' ); ?></button> |
| 28 |
|
| 29 |
<div class="sui-box-header"> |
| 30 |
|
| 31 |
<h3 id="pcmodal--powered-cache-diagnostic-title" class="sui-box-title"><?php esc_html_e( 'Diagnostic', 'powered-cache' ); ?></h3> |
| 32 |
|
| 33 |
<button class="sui-button-icon sui-button-float--right" data-modal-close=""> |
| 34 |
<span class="sui-icon-close sui-md" aria-hidden="true"></span> |
| 35 |
<span class="sui-screen-reader-text"><?php esc_html_e( 'Close this modal', 'powered-cache' ); ?></span> |
| 36 |
</button> |
| 37 |
|
| 38 |
</div> |
| 39 |
|
| 40 |
<div id="pcmodal--powered-cache-diagnostic-message" class="sui-box-body"> |
| 41 |
|
| 42 |
<p id="pcmodal--powered-cache-diagnostic-desc"> |
| 43 |
<?php esc_html_e( 'Welcome to Powered Cache Diagnostic. Running the diagnostic test helps to identify potential issues with the caching. This is only a test. It might take additional steps to fixing the issues.', 'powered-cache' ); ?> |
| 44 |
</p> |
| 45 |
|
| 46 |
<div class="sui-border-frame diagnostic-modal-performance"> |
| 47 |
<ul id="powered-cache-diagnostic-items"> |
| 48 |
</ul> |
| 49 |
|
| 50 |
<button id="pcmodal--powered-cache-diagnostic-test" class="sui-button sui-button-blue" aria-controls="pcmodal--powered-cache-diagnostic-progress"> |
| 51 |
<?php esc_html_e( 'Run Diagnostic Test', 'powered-cache' ); ?> |
| 52 |
</button> |
| 53 |
</div> |
| 54 |
|
| 55 |
</div> |
| 56 |
</div> |
| 57 |
|
| 58 |
</div> |
| 59 |
|
| 60 |
</div> |
| 61 |
|