PluginProbe ʕ •ᴥ•ʔ
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode / 4.2.10
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode v4.2.10
4.7.2 4.7.1 trunk 2.3.0 2.4.0 2.4.1 2.4.2 2.5.0 3.0.0 3.0.1 3.1.0 3.10.0 3.10.1 3.11.1 3.11.2 3.11.3 3.2.0 3.3.0 3.3.1 3.4.0 3.4.1 3.4.2 3.5.0 3.6.0 3.6.1 3.6.2 3.6.5 3.6.6 3.7.0 3.7.1 3.8.0 3.9.0 4.0.0 4.0.1 4.0.2 4.0.3 4.1.0 4.1.1 4.2.0 4.2.1 4.2.10 4.2.11 4.2.12 4.2.13 4.2.14 4.2.2 4.2.3 4.2.4 4.2.5 4.2.6 4.2.7 4.2.8 4.2.9 4.3.0 4.3.1 4.3.10 4.3.11 4.3.12 4.3.2 4.3.3 4.3.4 4.3.5 4.3.6 4.3.7 4.3.7.1 4.3.8 4.3.9 4.3.9.1 4.4.0 4.4.1 4.4.2 4.5.0 4.5.1 4.5.10 4.5.11 4.5.2 4.5.3 4.5.4 4.5.5 4.5.6 4.5.7 4.5.8 4.5.9 4.6.0 4.6.1 4.6.2 4.6.3 4.6.4 4.6.5 4.6.6 4.6.7 4.7.0
cookiebot / src / view / admin / settings / dashboard-page.php
cookiebot / src / view / admin / settings Last commit date
multiple-configuration 3 years ago prior-consent 3 years ago dashboard-page.php 3 years ago debug-page.php 3 years ago gtm-page.php 3 years ago iab-page.php 3 years ago legislations-page.php 3 years ago network-settings-page.php 3 years ago settings-page.php 3 years ago support-page.php 3 years ago
dashboard-page.php
169 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 <?php if ( ! $cbid ) : ?>
30 <img src="<?php echo esc_html( $cb_wp ); ?>" alt="Cookiebot for WordPress" class="cb-wp">
31 <div class="cb-main__card__content">
32 <h2 class="cb-main__card__title">
33 <?php echo esc_html__( 'I already have a Cookiebot CMP account', 'cookiebot' ); ?>
34 </h2>
35 <a href="<?php echo esc_url( add_query_arg( 'page', Settings_Page::ADMIN_SLUG, admin_url( 'admin.php' ) ) ); ?>"
36 class="cb-btn cb-main-btn">
37 <?php echo esc_html__( 'Connect my existing account', 'cookiebot' ); ?>
38 </a>
39 </div>
40 <?php else : ?>
41 <h2 class="cb-main__card__title">
42 <?php echo esc_html__( 'Your Cookiebot CMP for WordPress solution', 'cookiebot' ); ?>
43 </h2>
44 <div class="cb-main__card__success">
45 <div class="cb-btn cb-success-btn">
46 <img src="<?php echo esc_html( $check_icon ); ?>" alt="Check">
47 </div>
48 <p class="cb-main__success__text">
49 <span><?php echo esc_html__( 'Congratulations!', 'cookiebot' ); ?></span>
50 <?php echo esc_html__( 'You have added your Domain Group ID to WordPress. You are all set!', 'cookiebot' ); ?>
51 </p>
52 </div>
53 <?php endif; ?>
54 </div>
55 </div>
56
57 <?php if ( $cbid ) : ?>
58 <div class="cb-main__dashboard__card">
59 <div class="cb-main__card__inner <?php echo $cbid ? 'start_card' : 'new_card'; ?>">
60 <h3 class="cb-main__card__subtitle">
61 <?php echo esc_html__( 'Your opinion matters', 'cookiebot' ); ?>
62 </h3>
63 <p class="cb-main__review__text">
64 <?php echo esc_html__( 'Are you happy with our WordPress plugin? Your feedback will help us make our product better for you.', 'cookiebot' ); ?>
65 </p>
66 <a href="https://wordpress.org/support/plugin/cookiebot/reviews/#new-post" target="_blank"
67 class="cb-btn cb-link-btn" rel="noopener">
68 <?php echo esc_html__( 'Write a review', 'cookiebot' ); ?>
69 </a>
70 </div>
71 </div>
72 <?php endif; ?>
73
74 <div class="cb-main__dashboard__card">
75 <div class="cb-main__card__inner <?php echo $cbid ? 'start_card' : 'new_card'; ?>">
76 <?php if ( ! $cbid ) : ?>
77 <div class="cb-main__card__content">
78 <p class="cb-main__card__label">
79 <?php echo esc_html__( 'Get started', 'cookiebot' ); ?>
80 </p>
81 <h2 class="cb-main__card__title">
82 <?php echo esc_html__( 'Create a new Cookiebot CMP account', 'cookiebot' ); ?>
83 </h2>
84 <a href="https://manage.cookiebot.com/en/signup/?utm_source=wordpress&utm_medium=referral&utm_campaign=banner"
85 target="_blank" class="cb-btn cb-white-btn" rel="noopener">
86 <?php echo esc_html__( 'Create a new account', 'cookiebot' ); ?>
87 </a>
88 </div>
89 <?php else : ?>
90 <h3 class="cb-main__card__subtitle">
91 <?php echo esc_html__( 'Learn more about how to optimize your Cookiebot CMP setup?', 'cookiebot' ); ?>
92 </h3>
93 <a href="https://support.cookiebot.com/hc/en-us" target="_blank" class="cb-btn cb-link-btn"
94 rel="noopener">
95 <?php echo esc_html__( 'Visit Help Center', 'cookiebot' ); ?>
96 </a>
97 <?php endif; ?>
98 </div>
99 </div>
100 </div>
101
102 <div class="cb-main__dashboard__card--container">
103 <div class="cb-main__dashboard__card">
104 <div class="cb-main__card__inner start_card">
105 <div class="cb-main__video">
106 <iframe src="https://www.youtube.com/embed/eSVFnjoMKFk"
107 title="Cookiebot WordPress Installation"
108 allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
109 allowfullscreen></iframe>
110 </div>
111 <div class="cb-main__card--content">
112 <p class="cb-main__card__label"><?php echo esc_html__( 'Video guide', 'cookiebot' ); ?></p>
113 <h2 class="cb-main__card__title">
114 <?php echo esc_html__( 'How to get started with Cookiebot CMP', 'cookiebot' ); ?>
115 </h2>
116 <a href="https://support.cookiebot.com/hc/en-us/articles/4408356523282-Getting-started"
117 target="_blank" class="cb-btn cb-link-btn" rel="noopener">
118 <?php echo esc_html__( 'Learn more about Cookiebot CMP', 'cookiebot' ); ?>
119 </a>
120 </div>
121 </div>
122 </div>
123 <div class="cb-main__dashboard__card">
124 <div class="cb-main__card__inner legislations_card">
125 <div class="cb-main__legislation__item">
126 <div class="cb-main__legislation____icon">
127 <img src="<?php echo esc_html( $europe_icon ); ?>" alt="GDPR">
128 </div>
129 <div class="cb-main__legislation__name">
130 <?php echo esc_html__( 'GDPR', 'cookiebot' ); ?>
131 </div>
132 <div class="cb-main__legislation__region">
133 <?php echo esc_html__( 'Europe', 'cookiebot' ); ?>
134 </div>
135 <a href="https://www.cookiebot.com/en/gdpr/" target="_blank"
136 class="cb-btn cb-link-btn external-icon legislation-link" rel="noopener">
137 <span><?php echo esc_html__( 'Learn More', 'cookiebot' ); ?></span>
138 <img src="<?php echo esc_html( $link_icon ); ?>"
139 alt="<?php echo esc_html__( 'Learn More', 'cookiebot' ); ?>">
140 </a>
141 </div>
142 <div class="cb-main__legislation__item">
143 <div class="cb-main__legislation____icon">
144 <img src="<?php echo esc_html( $usa_icon ); ?>" alt="CCPA">
145 </div>
146 <div class="cb-main__legislation__name">
147 <?php echo esc_html__( 'CCPA', 'cookiebot' ); ?>
148 </div>
149 <div class="cb-main__legislation__region">
150 <?php echo esc_html__( 'North America', 'cookiebot' ); ?>
151 </div>
152 <a href="https://www.cookiebot.com/en/what-is-ccpa/" target="_blank"
153 class="cb-btn cb-link-btn external-icon legislation-link" rel="noopener">
154 <span><?php echo esc_html__( 'Learn More', 'cookiebot' ); ?></span>
155 <img src="<?php echo esc_html( $link_icon ); ?>"
156 alt="<?php echo esc_html__( 'Learn More', 'cookiebot' ); ?>">
157 </a>
158 </div>
159 <a href="https://www.cookiebot.com/en/blog/" target="_blank"
160 class="cb-btn cb-link-btn cb-right-btn" rel="noopener">
161 <?php echo esc_html__( 'See other legislations', 'cookiebot' ); ?>
162 </a>
163 </div>
164 </div>
165 </div>
166 </div>
167 </div>
168 </div>
169