general.php
2 months ago
mail-settings.php
2 months ago
remote-sync-settings.php
3 months ago
temporary-login.php
2 months ago
remote-sync-settings.php
62 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Connection Keys Settings Tab (Free Version) |
| 5 | * |
| 6 | * Shows an upgrade callout directing users to WP Staging Pro |
| 7 | * for the Remote Sync feature. The Pro version of this view |
| 8 | * lives at views/pro/settings/tabs/remote-sync-settings.php. |
| 9 | */ |
| 10 | |
| 11 | use WPStaging\Framework\Language\Language; |
| 12 | |
| 13 | ?> |
| 14 | |
| 15 | <div class="wpstg-remote-sync-settings wpstg-max-w-3xl wpstg-py-2"> |
| 16 | |
| 17 | <!-- Header --> |
| 18 | <header class="wpstg-mb-8"> |
| 19 | <h1 class="wpstg-text-2xl wpstg-font-bold wpstg-tracking-tight wpstg-text-gray-900 dark:wpstg-text-gray-100 wpstg-mb-2 wpstg-m-0"> |
| 20 | <?php esc_html_e('Remote Sync Connection Key', 'wp-staging'); ?> |
| 21 | </h1> |
| 22 | <nav class="wpstg-flex wpstg-items-center wpstg-gap-1 wpstg-text-sm wpstg-text-gray-500 dark:wpstg-text-gray-400" aria-label="<?php echo esc_attr__('Breadcrumb', 'wp-staging'); ?>"> |
| 23 | <span class="hover:wpstg-text-gray-900 dark:hover:wpstg-text-gray-200 wpstg-transition-colors"><?php echo esc_html('WP Staging'); ?></span> |
| 24 | <svg class="wpstg-h-4 wpstg-w-4 wpstg-opacity-50" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 25 | <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/> |
| 26 | </svg> |
| 27 | <span class="hover:wpstg-text-gray-900 dark:hover:wpstg-text-gray-200 wpstg-transition-colors"><?php esc_html_e('Settings', 'wp-staging'); ?></span> |
| 28 | <svg class="wpstg-h-4 wpstg-w-4 wpstg-opacity-50" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 29 | <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/> |
| 30 | </svg> |
| 31 | <span class="wpstg-font-medium wpstg-text-gray-900 dark:wpstg-text-gray-100"><?php esc_html_e('Remote Sync Connection Key', 'wp-staging'); ?></span> |
| 32 | </nav> |
| 33 | </header> |
| 34 | |
| 35 | <!-- Upgrade Callout --> |
| 36 | <div class="wpstg-callout wpstg-callout-info wpstg-mb-6"> |
| 37 | <div class="wpstg-icon-box wpstg-icon-box-blue"> |
| 38 | <svg class="wpstg-h-5 wpstg-w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 39 | <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"/> |
| 40 | </svg> |
| 41 | </div> |
| 42 | <div class="wpstg-flex-1"> |
| 43 | <h3 class="wpstg-heading-lg"> |
| 44 | <?php esc_html_e('Unlock Remote Sync', 'wp-staging'); ?> |
| 45 | </h3> |
| 46 | <p class="wpstg-text-body wpstg-text-sm wpstg-m-0"> |
| 47 | <?php esc_html_e('Pull a WordPress site from another server using a secure connection key.', 'wp-staging'); ?> |
| 48 | </p> |
| 49 | <p class="wpstg-text-body wpstg-text-sm wpstg-m-0 wpstg-mb-4"> |
| 50 | <?php esc_html_e('Remote Sync is available with a WP Staging Developer or Agency plan.', 'wp-staging'); ?> |
| 51 | </p> |
| 52 | <a href="<?php echo esc_url(Language::localizePricingUrl('https://wp-staging.com/#pricing')); ?>" target="_blank" rel="noopener noreferrer" class="wpstg-btn wpstg-btn-md wpstg-btn-primary wpstg-no-underline"> |
| 53 | <?php esc_html_e('Unlock Remote Sync', 'wp-staging'); ?> |
| 54 | <svg class="wpstg-btn-icon-sm" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 55 | <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"/> |
| 56 | </svg> |
| 57 | </a> |
| 58 | </div> |
| 59 | </div> |
| 60 | |
| 61 | </div> |
| 62 |