Version 1
[yaffs-website] / web / modules / contrib / eu_cookie_compliance / templates / eu_cookie_compliance_popup_info.html.twig
diff --git a/web/modules/contrib/eu_cookie_compliance/templates/eu_cookie_compliance_popup_info.html.twig b/web/modules/contrib/eu_cookie_compliance/templates/eu_cookie_compliance_popup_info.html.twig
new file mode 100644 (file)
index 0000000..207cc7f
--- /dev/null
@@ -0,0 +1,30 @@
+{#
+/**
+ * @file
+ * This is a template file for a pop-up 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
+ * the following classes to assign actions to buttons:
+ *
+ * agree-button      - agree to setting cookies
+ * find-more-button  - link to an information page
+ *
+ * Variables available:
+ * - message:  Contains the text that will be display whithin the pop-up
+ * - agree_button: Label for the agree button
+ * - disagree_button: Label for the disagree button
+ */
+#}
+
+<div>
+  <div class ="popup-content info">
+    <div id="popup-text">
+      {{ 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>
+  </div>
+</div>