prior-consent
1 year ago
templates
1 year ago
dashboard-page.php
1 year ago
network-settings-page.php
1 year ago
settings-page.php
1 year ago
support-page.php
1 year ago
dashboard-page.php
124 lines
| 1 | <?php |
| 2 | |
| 3 | use cybot\cookiebot\settings\templates\Header; |
| 4 | use cybot\cookiebot\settings\templates\Main_Tabs; |
| 5 | |
| 6 | use cybot\cookiebot\settings\pages\Settings_Page; |
| 7 | |
| 8 | /** |
| 9 | * @var string $cbid |
| 10 | * @var string $cb_wp |
| 11 | * @var string $europe_icon |
| 12 | * @var string $usa_icon |
| 13 | * @var string $check_icon |
| 14 | * @var string $link_icon |
| 15 | */ |
| 16 | |
| 17 | $header = new Header(); |
| 18 | $main_tabs = new Main_Tabs(); |
| 19 | |
| 20 | $header->display(); |
| 21 | ?> |
| 22 | <div class="cb-body"> |
| 23 | <div class="cb-wrapper"> |
| 24 | <?php $main_tabs->display( 'dashboard' ); ?> |
| 25 | <div class="cb-main__content <?php echo $cbid ? 'sync-account' : 'no-account'; ?>"> |
| 26 | <div class="cb-main__dashboard__card--container"> |
| 27 | <div class="cb-main__dashboard__card"> |
| 28 | <div class="cb-main__card__inner account_card"> |
| 29 | <div class="cb-main__card__content"> |
| 30 | <h2 class="cb-main__card__title"> |
| 31 | <?php echo esc_html__( 'I already have an account', 'cookiebot' ); ?> |
| 32 | </h2> |
| 33 | <a href="<?php echo esc_url( add_query_arg( 'page', Settings_Page::ADMIN_SLUG, admin_url( 'admin.php' ) ) ); ?>" |
| 34 | class="cb-btn cb-main-btn"> |
| 35 | <?php echo esc_html__( 'Connect my account', 'cookiebot' ); ?> |
| 36 | </a> |
| 37 | </div> |
| 38 | </div> |
| 39 | </div> |
| 40 | |
| 41 | <div class="cb-main__dashboard__card"> |
| 42 | <div class="cb-main__card__inner <?php echo $cbid ? 'start_card' : 'new_card'; ?>"> |
| 43 | <div class="cb-main__card__content"> |
| 44 | <p class="cb-main__card__label"> |
| 45 | <?php echo esc_html__( 'Get started', 'cookiebot' ); ?> |
| 46 | </p> |
| 47 | <h2 class="cb-main__card__title"> |
| 48 | <?php echo esc_html__( 'New to our solutions? Create your account. ', 'cookiebot' ); ?> |
| 49 | </h2> |
| 50 | <a href="https://account.usercentrics.eu/?trial=standard&uc_subscription_type=web&pricing_plan=FreeExtended&utm_source=wordpress&utm_medium=referral&utm_campaign=banner" |
| 51 | target="_blank" class="cb-btn cb-white-btn" rel="noopener"> |
| 52 | <?php echo esc_html__( 'Create a new account', 'cookiebot' ); ?> |
| 53 | </a> |
| 54 | </div> |
| 55 | </div> |
| 56 | </div> |
| 57 | </div> |
| 58 | |
| 59 | <div class="cb-main__dashboard__card--container-full"> |
| 60 | <div class="cb-main__dashboard__card"> |
| 61 | <div class="cb-main__card__inner start_card"> |
| 62 | <div class="cb-main__card--content"> |
| 63 | <h2 class="cb-main__card__title"> |
| 64 | <?php echo esc_html__( 'How to get started', 'cookiebot' ); ?> |
| 65 | </h2> |
| 66 | <a href="https://support.cookiebot.com/hc/en-us/articles/360003784174-Installing-Cookiebot-CMP-on-WordPress" |
| 67 | target="_blank" class="cb-btn cb-link-btn" rel="noopener"> |
| 68 | <?php echo esc_html__( 'Learn more about your CMP', 'cookiebot' ); ?> |
| 69 | </a> |
| 70 | </div> |
| 71 | </div> |
| 72 | </div> |
| 73 | </div> |
| 74 | |
| 75 | <div class="cb-main__dashboard__card--container"> |
| 76 | <div class="cb-main__dashboard__card"> |
| 77 | </div> |
| 78 | <div class="cb-main__dashboard__card"> |
| 79 | <div class="cb-main__card__inner legislations_card"> |
| 80 | <div class="cb-main__legislation__item"> |
| 81 | <div class="cb-main__legislation____icon"> |
| 82 | <img src="<?php echo esc_html( $europe_icon ); ?>" alt="GDPR"> |
| 83 | </div> |
| 84 | <div class="cb-main__legislation__name"> |
| 85 | <?php echo esc_html__( 'GDPR', 'cookiebot' ); ?> |
| 86 | </div> |
| 87 | <div class="cb-main__legislation__region"> |
| 88 | <?php echo esc_html__( 'Europe', 'cookiebot' ); ?> |
| 89 | </div> |
| 90 | <a href="https://support.cookiebot.com/hc/en-us/articles/360010952259-Using-Cookiebot-CMP-for-CCPA-CPRA-compliance" target="_blank" |
| 91 | class="cb-btn cb-link-btn external-icon legislation-link" rel="noopener"> |
| 92 | <span><?php echo esc_html__( 'Learn More', 'cookiebot' ); ?></span> |
| 93 | <img src="<?php echo esc_html( $link_icon ); ?>" |
| 94 | alt="<?php echo esc_html__( 'Learn More', 'cookiebot' ); ?>"> |
| 95 | </a> |
| 96 | </div> |
| 97 | <div class="cb-main__legislation__item"> |
| 98 | <div class="cb-main__legislation____icon"> |
| 99 | <img src="<?php echo esc_html( $usa_icon ); ?>" alt="CCPA"> |
| 100 | </div> |
| 101 | <div class="cb-main__legislation__name"> |
| 102 | <?php echo esc_html__( 'CCPA', 'cookiebot' ); ?> |
| 103 | </div> |
| 104 | <div class="cb-main__legislation__region"> |
| 105 | <?php echo esc_html__( 'North America', 'cookiebot' ); ?> |
| 106 | </div> |
| 107 | <a href="https://support.cookiebot.com/hc/en-us/articles/360010952259-Using-Cookiebot-CMP-for-CCPA-CPRA-compliance" target="_blank" |
| 108 | class="cb-btn cb-link-btn external-icon legislation-link" rel="noopener"> |
| 109 | <span><?php echo esc_html__( 'Learn More', 'cookiebot' ); ?></span> |
| 110 | <img src="<?php echo esc_html( $link_icon ); ?>" |
| 111 | alt="<?php echo esc_html__( 'Learn More', 'cookiebot' ); ?>"> |
| 112 | </a> |
| 113 | </div> |
| 114 | <a href="https://support.cookiebot.com/hc/en-us/categories/360000349934-Regulations" target="_blank" |
| 115 | class="cb-btn cb-link-btn cb-right-btn" rel="noopener"> |
| 116 | <?php echo esc_html__( 'See other legislations', 'cookiebot' ); ?> |
| 117 | </a> |
| 118 | </div> |
| 119 | </div> |
| 120 | </div> |
| 121 | </div> |
| 122 | </div> |
| 123 | </div> |
| 124 |