Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / eu_cookie_compliance / templates / eu_cookie_compliance_popup_info.html.twig
index 207cc7f83a26f3b7c2ad311644089bceda2d2770..4317b1635f76e8266f7bc205563d54090031c50f 100644 (file)
@@ -1,7 +1,7 @@
 {#
 /**
  * @file
- * This is a template file for a pop-up prompting user to give their consent for
+ * This is a template file for a banner prompting user to give their consent for
  * the website to set cookies.
  *
  * When overriding this template it is important to note that jQuery will use
  * find-more-button  - link to an information page
  *
  * Variables available:
- * - message:  Contains the text that will be display whithin the pop-up
+ * - message:  Contains the text that will be display whithin the banner
  * - agree_button: Label for the agree button
  * - disagree_button: Label for the disagree button
  */
 #}
 
-<div>
-  <div class ="popup-content info">
-    <div id="popup-text">
+<div class="eu-cookie-compliance-banner eu-cookie-compliance-banner-info">
+  <div class ="popup-content info eu-cookie-compliance-content">
+    <div id="popup-text" class="eu-cookie-compliance-message">
       {{ message }}
     </div>
-    <div id="popup-buttons">
-      <button type="button" class="agree-button">{{ agree_button }}</button>
-      <button type="button" class="find-more-button">{{ disagree_button }}</button>
+    <div id="popup-buttons" class="eu-cookie-compliance-buttons">
+      <button type="button" class="agree-button eu-cookie-compliance-agree-button">{{ agree_button }}</button>
+      {% if disagree_button %}
+        <button type="button" class="find-more-button eu-cookie-compliance-more-button">{{ disagree_button }}</button>
+      {% endif %}
     </div>
   </div>
 </div>