features.yaml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. title: Features
  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/features
  15. '@data-options': '\Grav\Common\Page\Pages::modularTypes'
  16. overrides:
  17. fields:
  18. header.template:
  19. default: modular/features
  20. '@data-options': '\Grav\Common\Page\Pages::modularTypes'
  21. features:
  22. type: tab
  23. title: Programmes
  24. fields:
  25. header.features:
  26. name: features
  27. type: list
  28. label: Programmes
  29. fields:
  30. .icon:
  31. type: text
  32. label: Icon
  33. .header:
  34. type: text
  35. label: Nom du programme
  36. .text:
  37. type: markdown
  38. label: Texte de présentation du programme
  39. validate:
  40. type: textarea
  41. .logo:
  42. type: file
  43. label: Logo
  44. accept:
  45. - image/*
  46. - .svg