prior-consent
1 year ago
templates
3 months ago
dashboard-cookiebot.php
7 months ago
dashboard-page-old.php
3 months ago
dashboard-page-session-expired.php
10 months ago
dashboard-page-static.php
10 months ago
dashboard-page.php
7 months ago
dashboard-trial-expired.php
10 months ago
network-settings-page.php
4 months ago
ppg-page.php
3 months ago
settings-page.php
3 months ago
support-page.php
9 months ago
ppg-page.php
55 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @var string $hero_image |
| 4 | * @var bool $is_installed |
| 5 | * @var bool $is_active |
| 6 | */ |
| 7 | |
| 8 | use cybot\cookiebot\settings\templates\Header; |
| 9 | use cybot\cookiebot\settings\templates\Main_Tabs; |
| 10 | |
| 11 | $header = new Header(); |
| 12 | $main_tabs = new Main_Tabs(); |
| 13 | |
| 14 | $header->display(); |
| 15 | ?> |
| 16 | <div class="cb-body"> |
| 17 | <div class="cb-wrapper"> |
| 18 | <?php $main_tabs->display( 'ppg' ); ?> |
| 19 | <div class="cb-main__content"> |
| 20 | <h1 class="cb-ppg__page-title"><?php esc_html_e( 'Explore our plugins', 'cookiebot' ); ?></h1> |
| 21 | |
| 22 | <div class="cb-ppg__divider"></div> |
| 23 | |
| 24 | <div class="cb-ppg__plugin-container"> |
| 25 | <div class="cb-ppg__plugin-header"> |
| 26 | <h2 class="cb-ppg__plugin-name"> |
| 27 | <?php esc_html_e( 'Usercentrics Privacy Policy Generator', 'cookiebot' ); ?> |
| 28 | </h2> |
| 29 | <div class="cb-ppg__plugin-actions"> |
| 30 | <?php if ( $is_active ) : ?> |
| 31 | <span class="cb-btn cb-success-btn"> |
| 32 | <?php esc_html_e( 'Active', 'cookiebot' ); ?> |
| 33 | </span> |
| 34 | <?php elseif ( $is_installed ) : ?> |
| 35 | <button type="button" id="cb-ppg-activate-btn" class="cb-btn cb-main-btn"> |
| 36 | <?php esc_html_e( 'Activate', 'cookiebot' ); ?> |
| 37 | </button> |
| 38 | <?php else : ?> |
| 39 | <button type="button" id="cb-ppg-install-btn" class="cb-btn cb-main-btn"> |
| 40 | <?php esc_html_e( 'Install Now', 'cookiebot' ); ?> |
| 41 | </button> |
| 42 | <?php endif; ?> |
| 43 | </div> |
| 44 | </div> |
| 45 | |
| 46 | <div class="cb-ppg__hero"> |
| 47 | <img src="<?php echo esc_url( $hero_image ); ?>" |
| 48 | alt="<?php esc_attr_e( 'Usercentrics Privacy Policy Generator - Generate your privacy policy in minutes', 'cookiebot' ); ?>" |
| 49 | class="cb-ppg__hero-image" /> |
| 50 | </div> |
| 51 | </div> |
| 52 | </div> |
| 53 | </div> |
| 54 | </div> |
| 55 |