| @@ -34,16 +34,16 @@ | ||
| 34 | 34 | <?php } ?> |
| 35 | 35 | </div> |
| 36 | 36 | |
| 37 | 37 | <?php if ( $notice ) { ?> |
| 38 | - <div class="fw-bg-green-200 fw-text-green-800 fw-px-4 fw-py-1" id="fly-page-cache-notice"> | |
| 38 | + <div class="fw-bg-green-200 fw-text-green-800 fw-px-4 fw-py-1 fly-form-notice"> | |
| 39 | 39 | <p><?php echo esc_html( $notice ); ?></p> |
| 40 | 40 | </div> |
| 41 | 41 | <?php } ?> |
| 42 | 42 | |
| 43 | 43 | <div class="fw-mt-2 fw-px-4 fw-py-4 fw-fw-sm:p-6 fw-text-sm fw-text-gray-500"> |
| 44 | - <p class="fw-mt-0"><?php esc_html_e( 'OPcache improves PHP performance by storing precompiled script bytecode in shared memory, thereby removing the need for PHP to load and parse scripts on each request.', 'flywp' ); ?></p> | |
| 45 | - | |
| 44 | + <p class="fw-mt-0 fw-text-sm"><?php esc_html_e( 'OPcache improves PHP performance by storing precompiled script bytecode in shared memory, thereby removing the need for PHP to load and parse scripts on each request.', 'flywp' ); ?></p> | |
| 45 | + | |
| 46 | 46 | <?php if ( flywp()->opcache->enabled() ) { ?> |
| 47 | 47 | <div class="md:fw-flex fw-w-full fw-mb-4 fw-gap-3 fw-items-center"> |
| 48 | 48 | <div class="sm:fw-w-2/3 fw-mb-6 sm:fw-mb-0"> |
| 49 | 49 | <dl class="fw-m-0 fw-mt-2"> |
| @@ -74,9 +74,9 @@ | ||
| 74 | 74 | </dl> |
| 75 | 75 | </div> |
| 76 | 76 | |
| 77 | 77 | <div class="sm:fw-w-1/3 fw-text-center sm:fw-text-right"> |
| 78 | - <a href="<?php echo esc_url( flywp()->opcache->purge_cache_url() ); ?>" class="button button-primary button-hero"><?php esc_html_e( 'Clear Cache', 'flywp' ); ?></a> | |
| 78 | + <a href="<?php echo esc_url( flywp()->opcache->purge_cache_url() ); ?>" class="button button-primary button-hero !fw-bg-indigo-600 hover:!fw-bg-indigo-700"><?php esc_html_e( 'Clear Cache', 'flywp' ); ?></a> | |
| 79 | 79 | </div> |
| 80 | 80 | </div> |
| 81 | 81 | <?php } ?> |
| 82 | 82 | </div> |