custom/plugins/EightworksCookieConsentPlus6/src/Resources/views/storefront/layout/cookie/cookie-permission.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/layout/cookie/cookie-permission.html.twig' %}
  2. {% block layout_cookie_permission_inner %}
  3.     {% set eightworksCookieConsentPlusConfig = config('EightworksCookieConsentPlus6.config') %}
  4.     {% if eightworksCookieConsentPlusConfig.active %}
  5.         {% if eightworksCookieConsentPlusConfig.showBtnReconfigure %}
  6.             <div class="eightworks-cookie-consent-plus-toggler{% if eightworksCookieConsentPlusConfig.btnReconfigurePosition == 'right' %} eightworks-cookie-consent-plus-toggler-right{% endif %} eightworks-cookie-consent-plus-toggler-animation-{% if eightworksCookieConsentPlusConfig.btnReconfigureAnimationMode %}{{eightworksCookieConsentPlusConfig.btnReconfigureAnimationMode}}{% else %}normal{% endif %} eightworks-cookie-consent-plus-toggler-{{eightworksCookieConsentPlusConfig.btnReconfigureColorTheme}}">
  7.                 <div class="eightworks-cookie-consent-plus-toggler-icon eightworks-cookie-consent-plus-toggler-icon-{{ eightworksCookieConsentPlusConfig.btnReconfigureIcon }}">
  8.                     {% if eightworksCookieConsentPlusConfig.btnReconfigureIcon == 'cookie' %}
  9.                         <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="0 0 512 512" height="32px"><defs><clipPath id="_clipPath_jhN5H8jhGqrPUC4LTjfAyDnmLvApInYD"><rect width="512" height="512"/></clipPath></defs><g clip-path="url(#_clipPath_jhN5H8jhGqrPUC4LTjfAyDnmLvApInYD)"><g><circle vector-effect="non-scaling-stroke" cx="197.45312499999994" cy="346.96875" r="39.03125" fill="rgb(0,0,0)"/><circle vector-effect="non-scaling-stroke" cx="324.3046874999999" cy="363.33593750000006" r="29.2734375" fill="rgb(0,0,0)"/><circle vector-effect="non-scaling-stroke" cx="255.99999999999994" cy="255.99999999999994" r="19.515625" fill="rgb(0,0,0)"/><circle vector-effect="non-scaling-stroke" cx="216.96874999999991" cy="158.421875" r="19.515625" fill="rgb(0,0,0)"/><circle vector-effect="non-scaling-stroke" cx="377.72656249999994" cy="138.90625" r="29.2734375" fill="rgb(0,0,0)"/><circle vector-effect="non-scaling-stroke" cx="470.671875" cy="158.421875" r="19.515625" fill="rgb(0,0,0)"/><circle vector-effect="non-scaling-stroke" cx="387.48437499999994" cy="50.96884375000002" r="19.515625" fill="rgb(0,0,0)"/><circle vector-effect="non-scaling-stroke" cx="158.42187499999994" cy="241.7265625" r="29.2734375" fill="rgb(0,0,0)"/><path d=" M 218.003 64.552 C 221.869 89.203 236.012 111.056 256.917 124.679 C 256.31 129.397 256.004 134.149 256 138.906 C 256 203.464 308.536 256 373.094 256 C 382.813 256 392.434 254.771 401.782 252.39 C 415.221 264.722 432.161 272.572 450.259 274.852 C 440.735 373.66 357.247 451.156 256 451.156 C 148.391 451.156 60.844 363.609 60.844 256 C 60.844 161.388 128.524 82.291 218.003 64.552 Z  M 256 21.813 C 126.67 21.813 21.812 126.67 21.812 256 C 21.812 385.33 126.67 490.188 256 490.188 C 385.33 490.188 490.188 385.33 490.188 256 C 490.188 246.515 489.465 237.206 488.353 228.015 C 475.944 236.459 460.332 238.702 446.047 234.095 C 431.762 229.487 420.403 218.543 415.267 204.44 C 402.712 212.597 388.066 216.949 373.094 216.969 C 329.981 216.969 295.031 182.019 295.031 138.906 C 295.031 124.562 299.169 111.311 305.921 99.758 C 305.531 99.777 305.179 99.875 304.789 99.875 C 277.844 99.875 256 78.031 256 51.086 C 256 40.216 259.669 30.282 265.68 22.183 C 262.46 22.047 259.259 21.813 256 21.813 Z " fill="rgb(0,0,0)"/></g></g></svg>
  10.                     {% else %}
  11.                         <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="0 0 512 512" height="32px"><defs><clipPath id="_clipPath_nBLsrh2flM7lbCd5zxJapSeXVGvx4yoa"><rect width="512" height="512"/></clipPath></defs><g clip-path="url(#_clipPath_nBLsrh2flM7lbCd5zxJapSeXVGvx4yoa)"><path d=" M 438.398 100.978 C 434.536 101.015 430.683 99.688 427.584 96.902 C 380.083 54.442 319.439 31.398 256.807 32.011 C 194.175 32.624 133.994 56.852 87.334 100.254 C 80.843 106.27 70.727 105.879 64.711 99.431 C 58.696 92.961 59.066 82.824 65.535 76.808 C 118.073 27.971 185.884 0.704 256.494 0.012 C 327.104 -0.679 395.436 25.256 448.919 73.055 C 455.505 78.942 456.074 89.049 450.186 95.657 C 447.063 99.143 442.749 100.935 438.398 100.978 Z " fill="rgb(0,0,0)"/><g/><g><path d=" M 466.513 205.262 C 461.372 205.312 456.271 202.888 453.154 198.31 C 408.093 132.615 334.92 93.841 257.42 94.6 C 179.92 95.359 107.52 135.557 63.754 202.122 C 58.898 209.53 48.955 211.59 41.59 206.713 C 34.203 201.857 32.143 191.935 36.999 184.549 C 86.631 109.072 168.919 63.486 257.107 62.623 C 345.295 61.759 428.46 105.726 479.56 180.237 C 484.559 187.527 482.715 197.487 475.404 202.487 C 472.691 204.327 469.606 205.232 466.513 205.262 Z " fill="rgb(0,0,0)"/></g><g><path d=" M 210.97 512.483 C 206.853 512.523 202.72 510.985 199.553 507.858 C 196.02 504.372 113.221 421.488 112.432 340.916 C 111.614 257.294 177.056 188.618 258.333 187.822 C 339.609 187.026 406.383 254.408 407.202 338.03 C 407.289 346.862 400.191 354.1 391.36 354.186 C 382.528 354.273 375.29 347.175 375.204 338.344 C 374.558 272.363 322.28 219.197 258.646 219.82 C 195.012 220.443 143.785 274.622 144.431 340.603 C 145.092 408.162 221.298 484.348 222.073 485.109 C 228.364 491.319 228.42 501.452 222.188 507.743 C 219.104 510.867 215.044 512.443 210.97 512.483 Z " fill="rgb(0,0,0)"/></g><g><path d=" M 312.042 511.493 C 273.559 511.87 183.63 439.531 174.193 358.083 C 170.86 329.293 179.744 299.722 197.931 278.978 C 213.756 260.945 235.268 250.813 258.498 250.458 L 258.946 250.454 C 281.601 250.232 303.105 258.918 319.562 274.949 C 336.751 291.699 346.338 314.326 346.576 338.645 L 346.678 349.077 C 346.93 374.782 367.144 395.492 391.762 395.251 C 416.379 395.01 436.205 373.908 435.954 348.203 L 435.918 344.555 C 434.943 244.933 361.964 162.764 269.77 157.522 C 221.697 154.728 175.782 171.776 140.547 205.36 C 103.98 240.237 83.301 289.764 83.805 341.218 C 84.219 383.541 98.958 424.636 125.302 456.935 C 130.873 463.792 129.863 473.851 123.005 479.443 C 116.169 485.036 106.089 484.004 100.475 477.147 C 69.574 439.239 52.27 391.065 51.785 341.51 C 51.194 281.225 75.502 223.15 118.431 182.194 C 160.134 142.402 214.51 122.285 271.547 125.546 C 380.499 131.754 466.755 227.81 467.895 344.221 L 467.931 347.868 C 468.355 391.216 434.313 426.815 392.053 427.228 C 349.794 427.642 315.082 392.716 314.658 349.369 L 314.556 338.937 C 314.402 323.194 308.243 308.619 297.214 297.847 C 286.875 287.75 273.402 282.292 259.259 282.431 C 259.152 282.432 259.067 282.433 258.96 282.434 C 240.935 282.695 228.889 292.179 221.968 300.077 C 209.625 314.129 203.637 334.455 205.945 354.401 C 213.657 420.846 290.674 479.722 311.708 479.516 C 320.54 479.43 327.777 486.527 327.864 495.359 C 327.95 504.19 320.874 511.407 312.042 511.493 Z " fill="rgb(0,0,0)"/></g><g><path d=" M 371.104 479.617 C 313.848 480.178 243.257 410.892 242.457 329.211 C 242.371 320.379 249.468 313.141 258.3 313.055 C 267.131 312.968 274.369 320.066 274.456 328.898 C 275.076 392.212 328.851 448.029 370.791 447.619 C 379.622 447.532 386.86 454.63 386.946 463.461 C 387.033 472.293 379.935 479.531 371.104 479.617 Z " fill="rgb(0,0,0)"/></g></g></svg>
  12.                     {% endif %}
  13.                 </div>
  14.                 <div class="eightworks-cookie-consent-plus-toggler-text">
  15.                     {% if eightworksCookieConsentPlusConfig.btnReconfigureText != '' %}
  16.                         {{eightworksCookieConsentPlusConfig.btnReconfigureText}}
  17.                     {% else %}
  18.                         {{ "cookie.headline"|trans|sw_sanitize }}
  19.                     {% endif %}
  20.                 </div>
  21.                 <button
  22.                     title="{% if eightworksCookieConsentPlusConfig.btnReconfigureText != '' %}{{eightworksCookieConsentPlusConfig.btnReconfigureText}}{% else %}{{ "cookie.headline"|trans|sw_sanitize }}{% endif %}"
  23.                     onclick="return false;" data-toggle="modal" data-target="#eightworks-cookie-consent-plus" class="cookie-permission--configure-button" data-openConsentManager="true"></button>
  24.             </div>
  25.         {% endif %}
  26.         <div class="modal fade offcanvas" id="eightworks-cookie-consent-plus" tabindex="-1" data-cookie-permission="true" data-cookie="true">
  27.             <div class="modal-dialog">
  28.                 <div class="modal-content">
  29.                     <div class="modal-body">
  30.                         <div id="eightworks-cookie-consent-plus-cookie-list"></div>
  31.                         <div class="eightworks-cookie-consent-plus-loader align-items-center justify-content-center">
  32.                             <div class="spinner-border text-primary" role="status">
  33.                                 <span class="sr-only">Loading...</span>
  34.                             </div>
  35.                         </div>
  36.                     </div>
  37.                 </div>
  38.             </div>
  39.         </div>
  40.     {% else %}
  41.         {{ parent() }}
  42.     {% endif %}
  43. {% endblock %}