{% extends "wagtailadmin/base.html" %} {% load static i18n wagtailadmin_tags %} {% block titletag %}CookiesRegTech{% endblock %} {# The logo is the page favicon too. #} {% block branding_favicon %}{% endblock %} {% block extra_css %} {{ block.super }} {# ?v= busts browser caches when the plugin is upgraded. #} {% endblock %} {% block content %} {% include "wagtailadmin/shared/header.html" with title="CookiesRegTech" subtitle="Cookie Consent" icon="cookiesregtech" %} {# Flash messages are rendered by wagtailadmin/base.html, so none are repeated here. #}

GDPR/CCPA consent banner, cookie scanner and consent log for this website.

{% if state == 'connected' %}● Connected{% endif %}
{% if state == 'connect' %}
{% csrf_token %}

Free plan · no card required

{% elif state == 'pending' %}

Almost done. Confirm from the inbox

A confirmation link was sent to {{ settings.email }} because this email already has a CookiesRegTech account. Click the link in that email, then come back here.

{% csrf_token %}
{% else %} {% if not overview %} {% endif %} {% if overview.lastScan %} {% endif %}
Account{{ account_email|default:"—" }}
Website{{ overview.hostname|default:settings.domain_id }}
Plan{{ overview.plan.name|default:"—" }}
Banner {% if overview %} {% if overview.bannerPublished %}Published (version {{ overview.bannerVersion }}){% else %}Not published yet. Open the dashboard to publish it.{% endif %} {% else %}—{% endif %}
Last scan{{ overview.lastScan.completedAt }}, {{ overview.lastScan.urlsScanned }} pages, {{ overview.lastScan.cookiesFound }} cookies found
{% if overview.cookies %}
Cookies detected ({{ overview.cookies|length }})
{% for cookie in overview.cookies %} {% endfor %}
CookieCategoryDomainDuration
{{ cookie.name }} {{ cookie.category_label }} {{ cookie.domain }} {{ cookie.duration|default:"Session" }}

Categories and descriptions are managed in the CookiesRegTech dashboard (Cookie Manager). Run a scan there to refresh this list.

{% elif overview %}

No cookies recorded yet. Open the dashboard and run a scan from Cookie Manager to build the cookie list.

{% endif %}
{% csrf_token %}

{# The dashboard is the external CookiesRegTech site: it opens in a separate tab so this admin page stays put. #}
{% csrf_token %}
{% csrf_token %}
{% csrf_token %}
{% endif %}

CookiesRegTech Wagtail plugin v{{ version }}

{% endblock %}