showcase.yaml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. title: Showcase
  2. '@extends': default
  3. form:
  4. fields:
  5. tabs:
  6. fields:
  7. advanced:
  8. fields:
  9. columns:
  10. fields:
  11. column1:
  12. fields:
  13. name:
  14. default: modular/showcase
  15. '@data-options': '\Grav\Common\Page\Pages::modularTypes'
  16. overrides:
  17. fields:
  18. header.template:
  19. default: modular/showcase
  20. '@data-options': '\Grav\Common\Page\Pages::modularTypes'
  21. buttons:
  22. type: tab
  23. title: Buttons
  24. fields:
  25. header.buttons:
  26. name: buttons
  27. type: list
  28. label: Buttons
  29. fields:
  30. .text:
  31. type: text
  32. label: Text
  33. .url:
  34. type: text
  35. label: URL
  36. # .primary:
  37. # type: toggle
  38. # label: Primary
  39. # highlight: 1
  40. # default: 1
  41. # options:
  42. # 1: 'Yes'
  43. # 0: 'No'
  44. # validate:
  45. # type: bool
  46. .pdf:
  47. type: filepicker
  48. label: pdf à télécharger
  49. accept:
  50. - .pdf