prior-consent
1 year ago
templates
9 months ago
dashboard-cookiebot.php
9 months ago
dashboard-page-old.php
1 year ago
dashboard-page-session-expired.php
10 months ago
dashboard-page-static.php
10 months ago
dashboard-page.php
10 months ago
dashboard-trial-expired.php
10 months ago
network-settings-page.php
10 months ago
settings-page.php
1 year ago
support-page.php
9 months ago
dashboard-cookiebot.php
127 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"> |
| 26 | <div class="cb-main__dashboard__card--container"> |
| 27 | <div class="cb-main__dashboard__card__cookiebot"> |
| 28 | <div class="cb-main__card__inner account_card"> |
| 29 | <img src="<?php echo esc_html( $cb_wp ); ?>" alt="Cookiebot for WordPress" class="cb-wp"> |
| 30 | <div class="cb-main__card__content"> |
| 31 | <h2 class="cb-main__card__title"> |
| 32 | <?php echo esc_html__( 'I already have a Cookiebot CMP account', 'cookiebot' ); ?> |
| 33 | </h2> |
| 34 | <a href="/wp-admin/admin.php?page=<?php echo esc_html( Settings_Page::ADMIN_SLUG ); ?>" |
| 35 | class="cb-btn cb-main-btn"> |
| 36 | <?php echo esc_html__( 'Connect my existing account', 'cookiebot' ); ?> |
| 37 | </a> |
| 38 | </div> |
| 39 | </div> |
| 40 | </div> |
| 41 | |
| 42 | <div class="cb-main__dashboard__card__cookiebot"> |
| 43 | <div class="cb-main__card__inner new_card"> |
| 44 | <div class="cb-main__card__content"> |
| 45 | <p class="cb-main__card__label"> |
| 46 | <?php echo esc_html__( 'Get started', 'cookiebot' ); ?> |
| 47 | </p> |
| 48 | <h2 class="cb-main__card__title"> |
| 49 | <?php echo esc_html__( 'Create a new Cookiebot CMP account', 'cookiebot' ); ?> |
| 50 | </h2> |
| 51 | <a href="https://admin.cookiebot.com/en/signup/?utm_source=wordpress&utm_medium=organic&utm_campaign=banner" |
| 52 | target="_blank" class="cb-btn cb-white-btn" rel="noopener"> |
| 53 | <?php echo esc_html__( 'Create a new account', 'cookiebot' ); ?> |
| 54 | </a> |
| 55 | </div> |
| 56 | </div> |
| 57 | </div> |
| 58 | </div> |
| 59 | |
| 60 | <div class="cb-main__dashboard__card--container"> |
| 61 | <div class="cb-main__dashboard__card"> |
| 62 | <div class="cb-main__card__inner start_card"> |
| 63 | <div class="cb-main__video"> |
| 64 | <iframe src="https://www.youtube.com/embed/1-lvuJa42P0" |
| 65 | title="Cookiebot WordPress Installation" |
| 66 | allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" |
| 67 | allowfullscreen></iframe> |
| 68 | </div> |
| 69 | <div class="cb-main__card--content"> |
| 70 | <p class="cb-main__card__label"><?php echo esc_html__( 'Video guide', 'cookiebot' ); ?></p> |
| 71 | <h2 class="cb-main__card__title"> |
| 72 | <?php echo esc_html__( 'How to get started with Cookiebot CMP', 'cookiebot' ); ?> |
| 73 | </h2> |
| 74 | <a href="https://support.cookiebot.com/hc/en-us/articles/4408356523282-Getting-started" |
| 75 | target="_blank" class="cb-btn cb-link-btn" rel="noopener"> |
| 76 | <?php echo esc_html__( 'Learn more about Cookiebot CMP', 'cookiebot' ); ?> |
| 77 | </a> |
| 78 | </div> |
| 79 | </div> |
| 80 | </div> |
| 81 | <div class="cb-main__dashboard__card"> |
| 82 | <div class="cb-main__card__inner legislations_card"> |
| 83 | <div class="cb-main__legislation__item"> |
| 84 | <div class="cb-main__legislation____icon"> |
| 85 | <img src="<?php echo esc_html( $europe_icon ); ?>" alt="GDPR"> |
| 86 | </div> |
| 87 | <div class="cb-main__legislation__name"> |
| 88 | <?php echo esc_html__( 'GDPR', 'cookiebot' ); ?> |
| 89 | </div> |
| 90 | <div class="cb-main__legislation__region"> |
| 91 | <?php echo esc_html__( 'Europe', 'cookiebot' ); ?> |
| 92 | </div> |
| 93 | <a href="https://www.cookiebot.com/en/gdpr/" target="_blank" |
| 94 | class="cb-btn cb-link-btn external-icon legislation-link" rel="noopener"> |
| 95 | <?php echo esc_html__( 'Learn More', 'cookiebot' ); ?> |
| 96 | <img src="<?php echo esc_html( $link_icon ); ?>" |
| 97 | alt="<?php echo esc_html__( 'Learn More', 'cookiebot' ); ?>"> |
| 98 | </a> |
| 99 | </div> |
| 100 | <div class="cb-main__legislation__item"> |
| 101 | <div class="cb-main__legislation____icon"> |
| 102 | <img src="<?php echo esc_html( $usa_icon ); ?>" alt="CCPA"> |
| 103 | </div> |
| 104 | <div class="cb-main__legislation__name"> |
| 105 | <?php echo esc_html__( 'CCPA', 'cookiebot' ); ?> |
| 106 | </div> |
| 107 | <div class="cb-main__legislation__region"> |
| 108 | <?php echo esc_html__( 'North America', 'cookiebot' ); ?> |
| 109 | </div> |
| 110 | <a href="https://www.cookiebot.com/en/what-is-ccpa/" target="_blank" |
| 111 | class="cb-btn cb-link-btn external-icon legislation-link" rel="noopener"> |
| 112 | <?php echo esc_html__( 'Learn More', 'cookiebot' ); ?> |
| 113 | <img src="<?php echo esc_html( $link_icon ); ?>" |
| 114 | alt="<?php echo esc_html__( 'Learn More', 'cookiebot' ); ?>"> |
| 115 | </a> |
| 116 | </div> |
| 117 | <a href="https://www.cookiebot.com/en/blog/" target="_blank" |
| 118 | class="cb-btn cb-link-btn cb-right-btn" rel="noopener"> |
| 119 | <?php echo esc_html__( 'See other legislations', 'cookiebot' ); ?> |
| 120 | </a> |
| 121 | </div> |
| 122 | </div> |
| 123 | </div> |
| 124 | </div> |
| 125 | </div> |
| 126 | </div> |
| 127 |