danger.yaml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. title: Membres en danger
  2. # extends@: default
  3. form:
  4. fields:
  5. tabs:
  6. type: tabs
  7. active: 1
  8. fields:
  9. membres:
  10. type: tab
  11. title: Membres en danger
  12. fields:
  13. header.media_thumbnail:
  14. type: filepicker
  15. label: Image en-tête
  16. folder: 'self@'
  17. preview_images: true
  18. header.intro:
  19. type: tinymce
  20. label: Texte Introduction
  21. header.memberList:
  22. type: list
  23. label: Membres
  24. style: vertical
  25. collapsed: true
  26. fields:
  27. .membre:
  28. type: text
  29. label: Nom
  30. .pays:
  31. type: text
  32. label: Pays
  33. .photo:
  34. type: filepicker
  35. label: Photos
  36. preview_images: true
  37. .statut:
  38. type: radio
  39. label: Statut
  40. classes: field-selection__select
  41. default: menace
  42. options:
  43. menace: Menacé·e
  44. prison: Emprisonné·e
  45. free: Libéré·e
  46. .prison:
  47. type: datetime
  48. label: Emprisonné·e depuis
  49. classes: prison form-statut
  50. .menace:
  51. type: datetime
  52. label: Menacé·e
  53. classes: menace form-statut
  54. .menace_type:
  55. type: text
  56. label: Menacé·e - description
  57. classes: menace form-statut
  58. .free:
  59. type: datetime
  60. label: Libéré·e depuis
  61. classes: free form-statut
  62. .text:
  63. type: tinymce
  64. label: Informations
  65. .textreso:
  66. type: tinymce
  67. label: Comment agir
  68. .article:
  69. type: pages
  70. label: Article à relier
  71. size: medium
  72. style: vertical
  73. # classes: fancy
  74. show_all: false
  75. show_modular: false
  76. show_root: false
  77. start_route: '/actualites/'
  78. help: PLUGIN_ADMIN.HOME_PAGE_HELP
  79. header.datavis:
  80. type: toggle
  81. label: Activer datavis
  82. highlight: 0
  83. default: 0
  84. options:
  85. 1: 'Oui'
  86. 0: 'Non'
  87. validate:
  88. type: bool
  89. header.datavis_title:
  90. type: text
  91. label: titre frise
  92. header.datavis_text:
  93. type: tinymce
  94. label: description de la frise
  95. header.files:
  96. type: file
  97. multiple: true
  98. limit: 1000
  99. filesize: 3
  100. label: Photos
  101. destination: '@self'
  102. accept:
  103. - image/*
  104. # columns:
  105. # type: columns
  106. # fields:
  107. # column1:
  108. # type: column
  109. # fields:
  110. # order_title:
  111. # type: section
  112. # title: Mise en avant
  113. # underline: true
  114. # header.top:
  115. # type: pages
  116. # size: medium
  117. # style: vertical
  118. # # classes: fancy
  119. # show_all: false
  120. # show_modular: false
  121. # show_root: false
  122. # start_route: '/actualites/'
  123. # help: PLUGIN_ADMIN.HOME_PAGE_HELP
  124. # column2:
  125. # type: column
  126. # fields:
  127. # order_title:
  128. # type: section
  129. # title: Accés rapide
  130. # underline: true
  131. #
  132. # order:
  133. # type: order
  134. # style: vertical
  135. # start_route: '/actualites/'
  136. # sitemap: