vendor/boldr/cookies-bundle/src/Resources/views/cookies.html.twig line 1

Open in your IDE?
  1. <div class="boldr-cookies">
  2.     <div class="boldr-cookies-inner">
  3.         <div class="boldr-cookies-main">
  4.             <div class="boldr-cookies-title">
  5.                 {% block boldr_cookies_title %}{{ 'this_website_uses_cookies'|trans({}, 'BoldrCookiesBundle') }}{% endblock %}
  6.             </div>
  7.             <input type="checkbox" id="boldr-cookies-content-expanded">
  8.             <label class="boldr-cookies-content-expand" for="boldr-cookies-content-expanded">{{ 'read_more'|trans({}, 'BoldrCookiesBundle') }}</label>
  9.             <div class="boldr-cookies-content">
  10.                 {{ 'we_use_cookies_to'|trans({}, 'BoldrCookiesBundle') }}
  11.             </div>
  12.             <div class="boldr-cookies-buttons">
  13.                 <a href="#boldr-cookies-config" class="boldr-button {{ boldr_cms_get_button_style_class(boldr_cms_get_secondary_button_style()) }}">{{ 'configure_cookie_preferences'|trans({}, 'BoldrCookiesBundle') }}</a>
  14.                 <a href="#boldr-cookies-accept" class="boldr-button {{ boldr_cms_get_button_style_class(boldr_cms_get_primary_button_style()) }}">{{ 'accept'|trans({}, 'BoldrCookiesBundle') }}</a>
  15.             </div>
  16.         </div>
  17.         <div class="boldr-cookies-settings">
  18.             <form class="boldr-cookies-form">
  19.                 <div class="boldr-cookies-choices">
  20.                     <div class="form-label-control">
  21.                         <input type="checkbox" id="boldr-cookies-necessary" checked disabled>
  22.                         <label for="boldr-cookies-necessary">
  23.                             <span>{{ 'types.necessary'|trans({}, 'BoldrCookiesBundle') }}</span>
  24.                         </label>
  25.                     </div>
  26.                     <div class="form-label-control">
  27.                         <input type="checkbox" id="boldr-cookies-preference" checked value="preference" name="boldr-cookies">
  28.                         <label for="boldr-cookies-preference">
  29.                             <span>{{ 'types.preferences'|trans({}, 'BoldrCookiesBundle') }}</span>
  30.                         </label>
  31.                     </div>
  32.                     <div class="form-label-control">
  33.                         <input type="checkbox" id="boldr-cookies-analysis" checked value="analysis" name="boldr-cookies">
  34.                         <label for="boldr-cookies-analysis">
  35.                             <span>{{ 'types.statistics'|trans({}, 'BoldrCookiesBundle') }}</span>
  36.                         </label>
  37.                     </div>
  38.                     <div class="form-label-control">
  39.                         <input type="checkbox" id="boldr-cookies-marketing" checked value="marketing" name="boldr-cookies">
  40.                         <label for="boldr-cookies-marketing">
  41.                             <span>{{ 'types.marketing'|trans({}, 'BoldrCookiesBundle') }}</span>
  42.                         </label>
  43.                     </div>
  44.                 </div>
  45.                 <div>
  46.                     <p>
  47.                         {{ 'cookie_explanation.necessary'|trans({}, 'BoldrCookiesBundle') }}
  48.                     </p>
  49.                     <p>
  50.                         {{ 'cookie_explanation.preferences'|trans({}, 'BoldrCookiesBundle') }}
  51.                     </p>
  52.                     <p>
  53.                         {{ 'cookie_explanation.statistics'|trans({}, 'BoldrCookiesBundle') }}
  54.                     </p>
  55.                     <p>
  56.                         {{ 'cookie_explanation.marketing'|trans({}, 'BoldrCookiesBundle') }}
  57.                     </p>
  58.                     {% set privacyPolicyPage = boldr_site_options_get('boldr_privacy_policy_page') %}
  59.                     {% set privacyPolicyText = 'privacy_policy'|trans({}, 'BoldrCookiesBundle') %}
  60.                     <p>
  61.                         {{ 'for_more_information_view_privacy_policy'|trans({
  62.                             '%privacy_policy%': privacyPolicyPage ? '<a href="' ~ boldr_cms_get_permalink(privacyPolicyPage) ~ '">' ~ privacyPolicyText ~ '</a>' : privacyPolicyText
  63.                         }, 'BoldrCookiesBundle')|raw }}
  64.                     </p>
  65.                 </div>
  66.             </form>
  67.         </div>
  68.     </div>
  69. </div>