PluginProbe ʕ •ᴥ•ʔ
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode / 4.4.2
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode v4.4.2
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 / cb_frame / dashboard-page.php
cookiebot / src / view / admin / cb_frame Last commit date
prior-consent 1 year ago settings 1 year ago dashboard-page.php 1 year ago debug-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
170 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 <?php echo esc_html__( 'Account added', 'cookiebot' ); ?>
48 </div>
49 <p class="cb-main__success__text">
50 <span><?php echo esc_html__( 'Congratulations!', 'cookiebot' ); ?></span>
51 <?php echo esc_html__( 'You have added your Domain Group ID to WordPress. You are all set!', 'cookiebot' ); ?>
52 </p>
53 </div>
54 <?php endif; ?>
55 </div>
56 </div>
57
58 <?php if ( $cbid ) : ?>
59 <div class="cb-main__dashboard__card">
60 <div class="cb-main__card__inner <?php echo $cbid ? 'start_card' : 'new_card'; ?>">
61 <h3 class="cb-main__card__subtitle">
62 <?php echo esc_html__( 'Your opinion matters', 'cookiebot' ); ?>
63 </h3>
64 <p class="cb-main__review__text">
65 <?php echo esc_html__( 'Are you happy with our WordPress plugin? Your feedback will help us make our product better for you.', 'cookiebot' ); ?>
66 </p>
67 <a href="https://wordpress.org/support/plugin/cookiebot/reviews/#new-post" target="_blank"
68 class="cb-btn cb-link-btn" rel="noopener">
69 <?php echo esc_html__( 'Write a review', 'cookiebot' ); ?>
70 </a>
71 </div>
72 </div>
73 <?php endif; ?>
74
75 <div class="cb-main__dashboard__card">
76 <div class="cb-main__card__inner <?php echo $cbid ? 'start_card' : 'new_card'; ?>">
77 <?php if ( ! $cbid ) : ?>
78 <div class="cb-main__card__content">
79 <p class="cb-main__card__label">
80 <?php echo esc_html__( 'Get started', 'cookiebot' ); ?>
81 </p>
82 <h2 class="cb-main__card__title">
83 <?php echo esc_html__( 'Create a new Cookiebot CMP account', 'cookiebot' ); ?>
84 </h2>
85 <a href="https://admin.cookiebot.com/signup/?utm_source=wordpress&utm_medium=referral&utm_campaign=banner"
86 target="_blank" class="cb-btn cb-white-btn" rel="noopener">
87 <?php echo esc_html__( 'Create a new account', 'cookiebot' ); ?>
88 </a>
89 </div>
90 <?php else : ?>
91 <h3 class="cb-main__card__subtitle">
92 <?php echo esc_html__( 'Learn more about how to optimize your Cookiebot CMP setup?', 'cookiebot' ); ?>
93 </h3>
94 <a href="https://support.cookiebot.com/hc/en-us" target="_blank" class="cb-btn cb-link-btn"
95 rel="noopener">
96 <?php echo esc_html__( 'Visit Help Center', 'cookiebot' ); ?>
97 </a>
98 <?php endif; ?>
99 </div>
100 </div>
101 </div>
102
103 <div class="cb-main__dashboard__card--container">
104 <div class="cb-main__dashboard__card">
105 <div class="cb-main__card__inner start_card">
106 <div class="cb-main__video">
107 <iframe src="https://www.youtube.com/embed/1-lvuJa42P0"
108 title="Cookiebot WordPress Installation"
109 allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
110 allowfullscreen></iframe>
111 </div>
112 <div class="cb-main__card--content">
113 <p class="cb-main__card__label"><?php echo esc_html__( 'Video guide', 'cookiebot' ); ?></p>
114 <h2 class="cb-main__card__title">
115 <?php echo esc_html__( 'How to get started with Cookiebot CMP', 'cookiebot' ); ?>
116 </h2>
117 <a href="https://support.cookiebot.com/hc/en-us/articles/4408356523282-Getting-started"
118 target="_blank" class="cb-btn cb-link-btn" rel="noopener">
119 <?php echo esc_html__( 'Learn more about Cookiebot CMP', 'cookiebot' ); ?>
120 </a>
121 </div>
122 </div>
123 </div>
124 <div class="cb-main__dashboard__card">
125 <div class="cb-main__card__inner legislations_card">
126 <div class="cb-main__legislation__item">
127 <div class="cb-main__legislation____icon">
128 <img src="<?php echo esc_html( $europe_icon ); ?>" alt="GDPR">
129 </div>
130 <div class="cb-main__legislation__name">
131 <?php echo esc_html__( 'GDPR', 'cookiebot' ); ?>
132 </div>
133 <div class="cb-main__legislation__region">
134 <?php echo esc_html__( 'Europe', 'cookiebot' ); ?>
135 </div>
136 <a href="https://support.cookiebot.com/hc/en-us/articles/4416376763922-Using-Cookiebot-for-GDPR-compliance" target="_blank"
137 class="cb-btn cb-link-btn external-icon legislation-link" rel="noopener">
138 <span><?php echo esc_html__( 'Learn More', 'cookiebot' ); ?></span>
139 <img src="<?php echo esc_html( $link_icon ); ?>"
140 alt="<?php echo esc_html__( 'Learn More', 'cookiebot' ); ?>">
141 </a>
142 </div>
143 <div class="cb-main__legislation__item">
144 <div class="cb-main__legislation____icon">
145 <img src="<?php echo esc_html( $usa_icon ); ?>" alt="CCPA">
146 </div>
147 <div class="cb-main__legislation__name">
148 <?php echo esc_html__( 'CCPA', 'cookiebot' ); ?>
149 </div>
150 <div class="cb-main__legislation__region">
151 <?php echo esc_html__( 'North America', 'cookiebot' ); ?>
152 </div>
153 <a href="https://support.cookiebot.com/hc/en-us/articles/360010952259-Using-Cookiebot-CMP-for-CCPA-CPRA-compliance" target="_blank"
154 class="cb-btn cb-link-btn external-icon legislation-link" rel="noopener">
155 <span><?php echo esc_html__( 'Learn More', 'cookiebot' ); ?></span>
156 <img src="<?php echo esc_html( $link_icon ); ?>"
157 alt="<?php echo esc_html__( 'Learn More', 'cookiebot' ); ?>">
158 </a>
159 </div>
160 <a href="https://support.cookiebot.com/hc/en-us/categories/360000349934-Regulations" target="_blank"
161 class="cb-btn cb-link-btn cb-right-btn" rel="noopener">
162 <?php echo esc_html__( 'See other legislations', 'cookiebot' ); ?>
163 </a>
164 </div>
165 </div>
166 </div>
167 </div>
168 </div>
169 </div>
170