blueprints.yaml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. name: Cookie Consent
  2. version: 0.4.0
  3. description: This grav plugin is to alert users about the use of cookies on your website. The plugin integrates the popular js lib cookie consent by insites.
  4. icon: gavel
  5. author:
  6. name: naucon
  7. homepage: https://github.com/naucon/grav-plugin-cookieconsent
  8. keywords: grav, plugin, cookie, consent, eu, law, policy, insites
  9. bugs: https://github.com/naucon/grav-plugin-cookieconsent/issues
  10. docs: https://github.com/naucon/grav-plugin-cookieconsent/blob/develop/README.md
  11. license: MIT
  12. form:
  13. validation: strict
  14. fields:
  15. basics:
  16. type: section
  17. title: Basics
  18. underline: true
  19. enabled:
  20. type: toggle
  21. label: Plugin status
  22. highlight: 1
  23. default: 0
  24. options:
  25. 1: Enabled
  26. 0: Disabled
  27. validate:
  28. type: bool
  29. cdn:
  30. type: toggle
  31. label: CDN
  32. help: "Include JavaScript and CSS files from official CDN or local."
  33. highlight: 1
  34. default: 1
  35. options:
  36. 1: Enabled
  37. 0: Disabled
  38. validate:
  39. type: bool
  40. content:
  41. type: section
  42. title: Content
  43. underline: true
  44. content_message:
  45. type: text
  46. label: Message
  47. help: Message on the banner
  48. placeholder: "This website uses cookies to ensure you get the best experience on our website."
  49. validate:
  50. type: text
  51. content_dismiss:
  52. type: text
  53. label: Dismiss button text
  54. placeholder: "Got it!"
  55. validate:
  56. type: text
  57. content_link:
  58. type: text
  59. label: Policy link text
  60. placeholder: "Learn more"
  61. validate:
  62. type: text
  63. content_href:
  64. type: text
  65. label: Link to policy
  66. placeholder: "https://cookiesandyou.com"
  67. validate:
  68. type: text
  69. colors:
  70. type: section
  71. title: Colors
  72. underline: true
  73. popup_background_color:
  74. type: colorpicker
  75. label: Banner background
  76. help: Color of banner background
  77. default: #000000
  78. validate:
  79. type: text
  80. popup_text_color:
  81. type: colorpicker
  82. label: Banner Text
  83. help: Color of banner text
  84. default: #ffffff
  85. validate:
  86. type: text
  87. button_background_color:
  88. type: colorpicker
  89. label: Button background
  90. help: Color of button background
  91. default: #f1d600
  92. validate:
  93. type: text
  94. button_text_color:
  95. type: colorpicker
  96. label: Button text
  97. help: Color of button text
  98. default: #000000
  99. validate:
  100. type: text
  101. button_border_color:
  102. type: colorpicker
  103. label: Button border
  104. help: Color of button border
  105. default: #f1d600
  106. validate:
  107. type: text
  108. style:
  109. type: section
  110. title: Position & Style
  111. underline: true
  112. position:
  113. type: select
  114. size: medium
  115. label: Position
  116. default: bottom
  117. help: Position on the website, where the banner will be displayed.
  118. options:
  119. top: Top
  120. top-pushdown: Top (Pushdown)
  121. bottom: Bottom
  122. bottom-left: Bottom Left
  123. bottom-right: Bottom Right
  124. theme:
  125. type: select
  126. size: medium
  127. label: Layout
  128. default: block
  129. help: Button layout
  130. options:
  131. block: Block (angled corners)
  132. classic: Classic (round corners)
  133. edgeless: Edgeless