PluginProbe ʕ •ᴥ•ʔ
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode / 4.5.10
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode v4.5.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 / common / dashboard-trial-expired.php
cookiebot / src / view / admin / common Last commit date
prior-consent 1 year ago templates 1 year ago dashboard-page-old.php 1 year ago dashboard-page-session-expired.php 1 year ago dashboard-page-static.php 1 year ago dashboard-page.php 1 year ago dashboard-trial-expired.php 1 year ago network-settings-page.php 1 year ago settings-page.php 1 year ago support-page.php 1 year ago
dashboard-trial-expired.php
172 lines
1 <?php
2
3 use cybot\cookiebot\settings\templates\Header;
4 use cybot\cookiebot\settings\templates\Main_Tabs;
5 use cybot\cookiebot\settings\pages\Settings_Page;
6 use cybot\cookiebot\lib\Cookiebot_WP;
7
8 /**
9 * @var array $template_args Array containing all template variables
10 */
11
12 $header = new Header();
13 $main_tabs = new Main_Tabs();
14
15 $header->display();
16 ?>
17
18 <div class="cb-body">
19 <div class="banner-container">
20 <!-- Trial expiration notice -->
21 <div class="header-top-banners trial-expired-banner">
22 <div class="banner-content">
23 <img src="<?php echo \esc_url( CYBOT_COOKIEBOT_PLUGIN_URL . 'assets/img/icons/clock-icon.svg' ); ?>"
24 alt="Clock Icon">
25 <div>
26 <h3><?php echo esc_html__( 'Your premium trial is over', 'cookiebot' ); ?></h3>
27 <p style="text-wrap: nowrap;">
28 <?php echo esc_html__( 'To stay compliant, reactivate your banner by choosing a plan. Start with Free or unlock more features by upgrading.', 'cookiebot' ); ?>
29 </p>
30 </div>
31 </div>
32 <div class="upgrade-expired-trial">
33 <a href="https://account.usercentrics.eu/subscription/<?php echo isset( $template_args['user_data']['subscriptions']['active']['subscription_id'] ) ? esc_attr( $template_args['user_data']['subscriptions']['active']['subscription_id'] ) . '/' : ''; ?>manage" target="_blank" style="text-decoration: none; color: inherit;">
34 <h3><?php echo esc_html__( 'Reactivate banner', 'cookiebot' ); ?> <span class="upgrade-chevron">&rsaquo;</span></h3>
35 </a>
36 </div>
37 </div>
38 </div>
39 <div class="cb-wrapper">
40 <?php $main_tabs->display( 'dashboard' ); ?>
41
42 <div class="dashboard-grid">
43 <!-- Main Content Area -->
44 <div class="dashboard-grid-row">
45 <div class="gray-box">
46 <div class="header-section-no-margin">
47 <img src="<?php echo \esc_url( CYBOT_COOKIEBOT_PLUGIN_URL . 'assets/img/icons/set-up-icon.svg' ); ?>" alt="Setup Icon">
48 <h1><?php echo \esc_html__( 'Set up your cookie banner', 'cookiebot' ); ?></h1>
49 </div>
50
51 <!-- Steps Container -->
52 <div class="steps-container" style="padding-top: 1em;">
53 <!-- Reactivate banner step -->
54 <div class="step-box">
55 <div class="step-row">
56 <div class="step-icon">
57 <div class="empty-circle"></div>
58 </div>
59 <div class="step-content">
60 <h2><?php echo \esc_html__( 'Reactivate your banner', 'cookiebot' ); ?></h2>
61 </div>
62 <span class="to-do-status">To do</span>
63 </div>
64 </div>
65
66 <!-- Scan website step -->
67 <div class="step-box">
68 <div class="step-row">
69 <div class="step-icon">
70 <div class="empty-circle"></div>
71 </div>
72 <div class="step-content">
73 <h2><?php echo \esc_html__( 'Scan your website', 'cookiebot' ); ?></h2>
74 </div>
75 </div>
76 </div>
77
78 <!-- Upgrade your plan step -->
79 <div class="step-box">
80 <div class="step-row">
81 <div class="step-icon">
82 <div class="empty-circle"></div>
83 </div>
84 <div class="step-content">
85 <h2><?php echo \esc_html__( 'Upgrade your plan', 'cookiebot' ); ?></h2>
86 </div>
87 <div class="step-status">
88 <div class="lightning-badge">
89 <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
90 <path d="M7.58333 0.583344L1.75 8.16668H7L6.41667 13.4167L12.25 5.83334H7L7.58333 0.583344Z" fill="#0047FF"/>
91 </svg>
92 </div>
93 </div>
94 </div>
95
96 <div class="upgrade-details">
97 <div class="divider"></div>
98 <p class="upgrade-intro">Upgrade to unlock these premium benefits:</p>
99
100 <ul class="upgrade-features">
101 <li><strong>Match your consent banner to your brand</strong> with advanced customization options.</li>
102 <li><strong>Adapt your banner to increase opt-ins</strong> using our consent analytics data.</li>
103 <li><strong>Benefit from higher session limits</strong> and maintain privacy compliance as your traffic grows.</li>
104 </ul>
105
106 <p class="ready-text">Ready to take your consent experience to the next level?</p>
107
108 <div class="upgrade-container">
109 <button id="upgrade-now-button" class="cb-btn cb-primary-btn" onclick="window.open('https://account.usercentrics.eu/subscription/<?php echo isset( $template_args['user_data']['subscriptions']['active']['subscription_id'] ) ? esc_attr( $template_args['user_data']['subscriptions']['active']['subscription_id'] ) . '/' : ''; ?>manage', '_blank')">
110 <?php echo esc_html__( 'Choose my plan', 'cookiebot' ); ?>
111 </button>
112 </div>
113 </div>
114 </div>
115 </div>
116 </div>
117
118 <!-- Right Side - Banner Control -->
119 <div class="gray-box-overview">
120 <div class="header-section">
121 <div>
122 <div class="top-row">
123 <span class="banner-inactive-badge">Banner inactive</span>
124 <span class="trial-ended-badge">Trial ended</span>
125 </div>
126 <h1><?php echo esc_html__( 'Banner control', 'cookiebot' ); ?></h1>
127 <p class="subtitle"><?php echo esc_html__( 'Your banner is currently inactive. Reactivate it below to keep your site compliant.', 'cookiebot' ); ?></p>
128 </div>
129 </div>
130
131 <div class="banner-actions">
132 <button class="cb-btn cb-primary-btn" onclick="window.open('https://account.usercentrics.eu/subscription/manage', '_blank')">
133 <?php echo esc_html__( 'Reactivate banner', 'cookiebot' ); ?>
134 </button>
135 </div>
136 </div>
137 </div>
138 </div>
139 </div>
140 </div>
141
142 <style>
143 .to-do-status {
144 background-color: #FEF3C7;
145 color: #92400E;
146 padding: 0.375rem 0.75rem;
147 border-radius: 0.375rem;
148 font-size: 0.875rem;
149 font-weight: 500;
150 margin-left: auto;
151 }
152
153 .banner-inactive-badge {
154 background-color: #9F1818;
155 color: white;
156 padding: 0.375rem 0.75rem;
157 border-radius: 0.375rem;
158 font-size: 0.875rem;
159 font-weight: 500;
160 }
161
162 .trial-ended-badge {
163 background-color: white;
164 color: #1032CF;
165 border: 1px solid #1032CF;
166 padding: 0.375rem 0.75rem;
167 border-radius: 1rem;
168 font-size: 0.875rem;
169 font-weight: 500;
170 }
171 </style>
172