Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

blueprints.yaml 10 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  1. name: Form
  2. slug: form
  3. type: plugin
  4. version: 7.3.0
  5. description: Enables forms handling and processing
  6. icon: check-square
  7. author:
  8. name: Team Grav
  9. email: devs@getgrav.org
  10. url: https://getgrav.org
  11. keywords: plugin, form
  12. homepage: https://github.com/getgrav/grav-plugin-form
  13. bugs: https://github.com/getgrav/grav-plugin-form/issues
  14. license: MIT
  15. dependencies:
  16. - { name: grav, version: '>=1.7.41' }
  17. form:
  18. validation: strict
  19. fields:
  20. enabled:
  21. type: hidden
  22. label: PLUGIN_ADMIN.PLUGIN_STATUS
  23. highlight: 1
  24. default: 0
  25. options:
  26. 1: PLUGIN_ADMIN.ENABLED
  27. 0: PLUGIN_ADMIN.DISABLED
  28. validate:
  29. type: bool
  30. general:
  31. type: section
  32. title: PLUGIN_FORM.GENERAL
  33. fields:
  34. debug:
  35. type: toggle
  36. label: Debug
  37. highlight: 1
  38. default: 0
  39. options:
  40. 1: PLUGIN_ADMIN.ENABLED
  41. 0: PLUGIN_ADMIN.DISABLED
  42. validate:
  43. type: bool
  44. built_in_css:
  45. type: toggle
  46. label: PLUGIN_FORM.USE_BUILT_IN_CSS
  47. highlight: 1
  48. default: 1
  49. options:
  50. 1: PLUGIN_ADMIN.ENABLED
  51. 0: PLUGIN_ADMIN.DISABLED
  52. validate:
  53. type: bool
  54. inline_css:
  55. type: toggle
  56. label: PLUGIN_FORM.USE_INLINE_CSS
  57. highlight: 1
  58. default: 1
  59. options:
  60. 1: PLUGIN_ADMIN.ENABLED
  61. 0: PLUGIN_ADMIN.DISABLED
  62. validate:
  63. type: bool
  64. refresh_prevention:
  65. type: toggle
  66. label: PLUGIN_FORM.REFRESH_PREVENTION
  67. help: PLUGIN_FORM.REFRESH_PREVENTION_HELP
  68. highlight: 1
  69. default: 0
  70. options:
  71. 1: PLUGIN_ADMIN.ENABLED
  72. 0: PLUGIN_ADMIN.DISABLED
  73. validate:
  74. type: bool
  75. client_side_validation:
  76. type: toggle
  77. label: PLUGIN_FORM.CLIENT_SIDE_VALIDATION
  78. help: PLUGIN_FORM.CLIENT_SIDE_VALIDATION_HELP
  79. highlight: 1
  80. default: 1
  81. options:
  82. 1: PLUGIN_ADMIN.ENABLED
  83. 0: PLUGIN_ADMIN.DISABLED
  84. validate:
  85. type: bool
  86. inline_errors:
  87. type: toggle
  88. label: PLUGIN_FORM.INLINE_ERRORS
  89. help: PLUGIN_FORM.INLINE_ERRORS_HELP
  90. highlight: 0
  91. default: 0
  92. options:
  93. 1: PLUGIN_ADMIN.ENABLED
  94. 0: PLUGIN_ADMIN.DISABLED
  95. validate:
  96. type: bool
  97. files:
  98. type: section
  99. title: PLUGIN_FORM.FILES
  100. fields:
  101. files.multiple:
  102. type: toggle
  103. label: PLUGIN_FORM.ALLOW_MULTIPLE
  104. help: PLUGIN_FORM.ALLOW_MULTIPLE_HELP
  105. highlight: 1
  106. default: 0
  107. options:
  108. 1: PLUGIN_ADMIN.ENABLED
  109. 0: PLUGIN_ADMIN.DISABLED
  110. validate:
  111. type: bool
  112. files.limit:
  113. type: text
  114. size: x-small
  115. label: PLUGIN_FORM.LIMIT
  116. help: PLUGIN_FORM.LIMIT_HELP
  117. default: 10
  118. validate:
  119. type: number
  120. min: 1
  121. files.destination:
  122. type: text
  123. size: large
  124. label: PLUGIN_FORM.DESTINATION
  125. help: PLUGIN_FORM.DESTINATION_HELP
  126. default: '@self'
  127. files.accept:
  128. type: selectize
  129. size: large
  130. label: PLUGIN_FORM.ACCEPT
  131. help: PLUGIN_FORM.ACCEPT_HELP
  132. classes: fancy
  133. default:
  134. - image/*
  135. validate:
  136. type: commalist
  137. files.filesize:
  138. type: text
  139. label: PLUGIN_FORM.FILESIZE
  140. help: PLUGIN_FORM.FILESIZE_HELP
  141. size: x-small
  142. default: 5
  143. validate:
  144. type: number
  145. min: 0
  146. files.avoid_overwriting:
  147. type: toggle
  148. label: PLUGIN_FORM.AVOID_OVERWRITING
  149. help: PLUGIN_FORM.AVOID_OVERWRITING_HELP
  150. highlight: 0
  151. default: 0
  152. options:
  153. 1: PLUGIN_ADMIN.ENABLED
  154. 0: PLUGIN_ADMIN.DISABLED
  155. validate:
  156. type: bool
  157. files.random_name:
  158. type: toggle
  159. label: PLUGIN_FORM.RANDOM_NAME
  160. help: PLUGIN_FORM.RANDOM_NAME_HELP
  161. highlight: 0
  162. default: 0
  163. options:
  164. 1: PLUGIN_ADMIN.ENABLED
  165. 0: PLUGIN_ADMIN.DISABLED
  166. validate:
  167. type: bool
  168. recaptcha:
  169. type: section
  170. title: PLUGIN_FORM.RECAPTCHA
  171. fields:
  172. recaptcha.version:
  173. type: select
  174. label: PLUGIN_FORM.RECAPTCHA_VERSION
  175. default: 2-checkbox
  176. options:
  177. 2-checkbox: PLUGIN_FORM.RECAPTCHA_VERSION_V2_CHECKBOX
  178. 2-invisible: PLUGIN_FORM.RECAPTCHA_VERSION_V2_INVISIBLE
  179. 3: PLUGIN_FORM.RECAPTCHA_VERSION_V3_LATEST
  180. recaptcha.theme:
  181. type: select
  182. label: PLUGIN_FORM.RECAPTCHA_THEME
  183. default: light
  184. options:
  185. light: PLUGIN_FORM.RECAPTCHA_THEME_LIGHT
  186. dark: PLUGIN_FORM.RECAPTCHA_THEME_DARK
  187. recaptcha.site_key:
  188. recaptcha.site_key:
  189. type: text
  190. label: PLUGIN_FORM.RECAPTCHA_SITE_KEY
  191. help: PLUGIN_FORM.RECAPTCHA_SITE_KEY_HELP
  192. default: ''
  193. recaptcha.secret_key:
  194. type: text
  195. label: PLUGIN_FORM.RECAPTCHA_SECRET_KEY
  196. help: PLUGIN_FORM.RECAPTCHA_SECRET_KEY_HELP
  197. default: ''
  198. turnstile_captcha:
  199. type: section
  200. title: PLUGIN_FORM.TURNSTILE_CAPTCHA
  201. fields:
  202. turnstile.theme:
  203. type: select
  204. label: PLUGIN_FORM.RECAPTCHA_THEME
  205. default: light
  206. options:
  207. light: PLUGIN_FORM.RECAPTCHA_THEME_LIGHT
  208. dark: PLUGIN_FORM.RECAPTCHA_THEME_DARK
  209. turnstile.site_key:
  210. type: text
  211. label: PLUGIN_FORM.RECAPTCHA_SITE_KEY
  212. help: PLUGIN_FORM.RECAPTCHA_SITE_KEY_HELP
  213. default: ''
  214. turnstile.secret_key:
  215. type: text
  216. label: PLUGIN_FORM.RECAPTCHA_SECRET_KEY
  217. help: PLUGIN_FORM.RECAPTCHA_SECRET_KEY_HELP
  218. default: ''
  219. basic_captcha:
  220. type: section
  221. title: PLUGIN_FORM.BASIC_CAPTCHA
  222. fields:
  223. basic_captcha.type:
  224. type: elements
  225. label: PLUGIN_FORM.BASIC_CAPTCHA_TYPE
  226. default: 'characters'
  227. size: medium
  228. options:
  229. characters: Random Characters
  230. math: Math Puzzle
  231. fields:
  232. characters:
  233. type: element
  234. fields:
  235. basic_captcha.chars.length:
  236. type: range
  237. label: PLUGIN_FORM.BASIC_CAPTCHA_LENGTH
  238. default: 6
  239. validate:
  240. min: 4
  241. max: 12
  242. append: characters
  243. basic_captcha.chars.font:
  244. type: select
  245. label: PLUGIN_FORM.BASIC_CAPTCHA_FONT
  246. default: zxx-noise.ttf
  247. options:
  248. 'zxx-noise.ttf': zxx-Noise
  249. 'zxx-xed.ttf': zxx-Xed
  250. 'zxx-camo.ttf': zxx-Camo
  251. 'zxx-sans.ttf': zxx-Sans
  252. basic_captcha.chars.size:
  253. type: range
  254. label: PLUGIN_FORM.BASIC_CAPTCHA_SIZE
  255. default: 24
  256. append: px
  257. validate:
  258. min: 12
  259. max: 32
  260. step: 2
  261. basic_captcha.chars.bg:
  262. type: colorpicker
  263. size: small
  264. label: PLUGIN_FORM.BASIC_CAPTCHA_BG_COLOR
  265. default: '#ffffff'
  266. basic_captcha.chars.text:
  267. type: colorpicker
  268. size: small
  269. label: PLUGIN_FORM.BASIC_CAPTCHA_TEXT_COLOR
  270. default: '#000000'
  271. basic_captcha.chars.start_x:
  272. type: number
  273. label: PLUGIN_FORM.BASIC_CAPTCHA_START_X
  274. default: 5
  275. append: px
  276. size: small
  277. validate:
  278. min: 0
  279. type: number
  280. basic_captcha.chars.start_y:
  281. type: number
  282. label: PLUGIN_FORM.BASIC_CAPTCHA_START_Y
  283. default: 30
  284. append: px
  285. size: small
  286. validate:
  287. min: 0
  288. type: number
  289. basic_captcha.chars.box_width:
  290. type: number
  291. label: PLUGIN_FORM.BASIC_CAPTCHA_BOX_WIDTH
  292. default: 135
  293. append: px
  294. size: small
  295. validate:
  296. min: 0
  297. type: number
  298. basic_captcha.chars.box_height:
  299. type: number
  300. label: PLUGIN_FORM.BASIC_CAPTCHA_BOX_HEIGHT
  301. default: 40
  302. append: px
  303. size: small
  304. validate:
  305. min: 0
  306. type: number
  307. math:
  308. type: element
  309. fields:
  310. basic_captcha.math.min:
  311. type: number
  312. label: PLUGIN_FORM.BASIC_CAPTCHA_MATH_MIN
  313. default: 1
  314. size: small
  315. validate:
  316. min: 0
  317. type: number
  318. basic_captcha.math.max:
  319. type: number
  320. label: PLUGIN_FORM.BASIC_CAPTCHA_MATH_MAX
  321. default: 10
  322. size: small
  323. validate:
  324. min: 1
  325. type: number
  326. basic_captcha.math.operators:
  327. type: selectize
  328. selectize:
  329. options:
  330. - value: '+'
  331. text: '+ Addition'
  332. - value: '-'
  333. text: '- Subtraction'
  334. - value: '*'
  335. text: 'x Multiplication'
  336. - value: '/'
  337. text: '/ Division'
  338. label: PLUGIN_FORM.BASIC_CAPTCHA_MATH_OPERATORS
  339. validate:
  340. type: commalist