html-oauth-start.php 1.4 KB

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * Admin -> WooCommerce -> Extensions -> WooCommerce.com Subscriptions main page.
  4. *
  5. * @package WooCommerce\Views
  6. */
  7. defined( 'ABSPATH' ) || exit();
  8. ?>
  9. <div class="wrap woocommerce wc_addons_wrap wc-helper">
  10. <?php require WC_Helper::get_view_filename( 'html-section-nav.php' ); ?>
  11. <h1 class="screen-reader-text"><?php esc_html_e( 'WooCommerce Extensions', 'woocommerce' ); ?></h1>
  12. <?php require WC_Helper::get_view_filename( 'html-section-notices.php' ); ?>
  13. <div class="start-container">
  14. <div class="text">
  15. <img src="<?php echo esc_url( WC()->plugin_url() . '/assets/images/woocommerce_logo.png' ); ?>" alt="WooCommerce" style="width:180px;">
  16. <?php if ( ! empty( $_GET['wc-helper-status'] ) && 'helper-disconnected' === $_GET['wc-helper-status'] ) : ?>
  17. <p><?php esc_html_e( '<strong>Sorry to see you go</strong>. Feel free to reconnect again using the button below.', 'woocommerce' ); ?></p>
  18. <?php endif; ?>
  19. <h2><?php esc_html_e( 'Manage your subscriptions, get important product notifications, and updates, all from the convenience of your WooCommerce dashboard', 'woocommerce' ); ?></h2>
  20. <p><?php esc_html_e( 'Once connected, your WooCommerce.com purchases will be listed here.', 'woocommerce' ); ?></p>
  21. <p><a class="button button-primary" href="<?php echo esc_url( $connect_url ); ?>"><?php esc_html_e( 'Connect', 'woocommerce' ); ?></a></p>
  22. </div>
  23. </div>
  24. </div>