prior-consent
1 year ago
settings
10 months ago
dashboard-page.php
1 year ago
network-settings-page.php
10 months ago
settings-page.php
1 year ago
support-page.php
1 year ago
dashboard-page.php
125 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' : ''; ?>"> |
| 26 | <div class="cb-main__dashboard__card--container"> |
| 27 | <div class="cb-main__dashboard__card"> |
| 28 | <div class="cb-main__card__inner <?php echo $cbid ? 'start_card' : 'account_card'; ?>"> |
| 29 | <h2 class="cb-main__card__title"> |
| 30 | <?php echo esc_html__( 'Welcome to Usercentrics Cookiebot WordPress Plugin', 'cookiebot' ); ?> |
| 31 | </h2> |
| 32 | <div class="cb-main__card__success"> |
| 33 | <div class="cb-btn cb-success-btn"> |
| 34 | <img src="<?php echo esc_html( $check_icon ); ?>" alt="Check"> |
| 35 | <?php echo esc_html__( 'Account added', 'cookiebot' ); ?> |
| 36 | </div> |
| 37 | <p class="cb-main__success__text"> |
| 38 | <?php echo esc_html__( 'You’ve added your settings ID to your Usercentrics Cookiebot WordPress Plugin.', 'cookiebot' ); ?> |
| 39 | </p> |
| 40 | </div> |
| 41 | </div> |
| 42 | </div> |
| 43 | |
| 44 | <?php if ( $cbid ) : ?> |
| 45 | <div class="cb-main__dashboard__card"> |
| 46 | <div class="cb-main__card__inner <?php echo $cbid ? 'start_card' : 'new_card'; ?>"> |
| 47 | <h3 class="cb-main__card__subtitle"> |
| 48 | <?php echo esc_html__( 'Your opinion matters', 'cookiebot' ); ?> |
| 49 | </h3> |
| 50 | <p class="cb-main__review__text"> |
| 51 | <?php echo esc_html__( 'Are you happy with Usercentrics Cookiebot WordPress Plugin? Your feedback helps us improve it.', 'cookiebot' ); ?> |
| 52 | </p> |
| 53 | <a href="https://form.typeform.com/to/n6ZlunZP" target="_blank" |
| 54 | class="cb-btn cb-link-btn" rel="noopener"> |
| 55 | <?php echo esc_html__( 'Share feedback', 'cookiebot' ); ?> |
| 56 | </a> |
| 57 | </div> |
| 58 | </div> |
| 59 | |
| 60 | <div class="cb-main__dashboard__card"> |
| 61 | <div class="cb-main__card__inner start_card"> |
| 62 | <div class="cb-main__card--content"> |
| 63 | <h3 class="cb-main__card__subtitle"> |
| 64 | <?php echo esc_html__( 'How to set up Usercentrics Cookiebot WordPress Plugin', 'cookiebot' ); ?> |
| 65 | </h3> |
| 66 | <a href="https://support.cookiebot.com/hc/en-us/articles/4408356523282-Getting-started" |
| 67 | target="_blank" class="cb-btn cb-link-btn" rel="noopener"> |
| 68 | <?php echo esc_html__( 'Learn more', 'cookiebot' ); ?> |
| 69 | </a> |
| 70 | </div> |
| 71 | </div> |
| 72 | </div> |
| 73 | <?php endif; ?> |
| 74 | </div> |
| 75 | |
| 76 | <div class="cb-main__dashboard__card--container"> |
| 77 | <div class="cb-main__dashboard__card"> |
| 78 | </div> |
| 79 | <div class="cb-main__dashboard__card"> |
| 80 | <div class="cb-main__card__inner legislations_card"> |
| 81 | <div class="cb-main__legislation__item"> |
| 82 | <div class="cb-main__legislation____icon"> |
| 83 | <img src="<?php echo esc_html( $europe_icon ); ?>" alt="GDPR"> |
| 84 | </div> |
| 85 | <div class="cb-main__legislation__name"> |
| 86 | <?php echo esc_html__( 'GDPR', 'cookiebot' ); ?> |
| 87 | </div> |
| 88 | <div class="cb-main__legislation__region"> |
| 89 | <?php echo esc_html__( 'Europe', 'cookiebot' ); ?> |
| 90 | </div> |
| 91 | <a href="https://support.cookiebot.com/hc/en-us/articles/4416376763922-Using-Cookiebot-for-GDPR-compliance" target="_blank" |
| 92 | class="cb-btn cb-link-btn external-icon legislation-link" rel="noopener"> |
| 93 | <span><?php echo esc_html__( 'Learn More', 'cookiebot' ); ?></span> |
| 94 | <img src="<?php echo esc_html( $link_icon ); ?>" |
| 95 | alt="<?php echo esc_html__( 'Learn More', 'cookiebot' ); ?>"> |
| 96 | </a> |
| 97 | </div> |
| 98 | <div class="cb-main__legislation__item"> |
| 99 | <div class="cb-main__legislation____icon"> |
| 100 | <img src="<?php echo esc_html( $usa_icon ); ?>" alt="CCPA"> |
| 101 | </div> |
| 102 | <div class="cb-main__legislation__name"> |
| 103 | <?php echo esc_html__( 'CCPA', 'cookiebot' ); ?> |
| 104 | </div> |
| 105 | <div class="cb-main__legislation__region"> |
| 106 | <?php echo esc_html__( 'North America', 'cookiebot' ); ?> |
| 107 | </div> |
| 108 | <a href="https://support.cookiebot.com/hc/en-us/articles/360010952259-Using-Cookiebot-CMP-for-CCPA-CPRA-compliance" target="_blank" |
| 109 | class="cb-btn cb-link-btn external-icon legislation-link" rel="noopener"> |
| 110 | <span><?php echo esc_html__( 'Learn More', 'cookiebot' ); ?></span> |
| 111 | <img src="<?php echo esc_html( $link_icon ); ?>" |
| 112 | alt="<?php echo esc_html__( 'Learn More', 'cookiebot' ); ?>"> |
| 113 | </a> |
| 114 | </div> |
| 115 | <a href="https://support.cookiebot.com/hc/en-us/categories/360000349934-Regulations" target="_blank" |
| 116 | class="cb-btn cb-link-btn cb-right-btn" rel="noopener"> |
| 117 | <?php echo esc_html__( 'See other legislations', 'cookiebot' ); ?> |
| 118 | </a> |
| 119 | </div> |
| 120 | </div> |
| 121 | </div> |
| 122 | </div> |
| 123 | </div> |
| 124 | </div> |
| 125 |