modals.yaml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. add_user:
  2. fields:
  3. - type: section
  4. title: PLUGIN_ADMIN.ADD_ACCOUNT
  5. - type: text
  6. label: PLUGIN_ADMIN.USERNAME
  7. help: PLUGIN_ADMIN.USERNAME_HELP
  8. name: username
  9. placeholder: PLUGIN_ADMIN.USERNAME_PLACEHOLDER
  10. validate:
  11. required: true
  12. message: PLUGIN_LOGIN.USERNAME_NOT_VALID
  13. add_group:
  14. fields:
  15. - type: section
  16. title: PLUGIN_ADMIN_ADDON_USER_MANAGER.ADD_GROUP
  17. - type: text
  18. label: PLUGIN_ADMIN.NAME
  19. name: name
  20. validate:
  21. required: true
  22. bulk_user:
  23. fields:
  24. - type: section
  25. title: PLUGIN_ADMIN_ADDON_USER_MANAGER.BULK_DELETE_USER
  26. - type: button
  27. text: PLUGIN_ADMIN_ADDON_USER_MANAGER.BULK_DELETE
  28. name: bulk_delete
  29. style: vertical
  30. classes: large warning
  31. - type: section
  32. title: PLUGIN_ADMIN_ADDON_USER_MANAGER.BULK_USER_GROUP
  33. - type: select
  34. name: groups
  35. multiple: true
  36. size: large
  37. label: PLUGIN_ADMIN.GROUPS
  38. classes: fancy
  39. help: PLUGIN_ADMIN.GROUPS_HELP
  40. validate:
  41. type: commalist
  42. - type: button
  43. text: PLUGIN_ADMIN_ADDON_USER_MANAGER.BULK_ADD_GROUP
  44. name: bulk_add_to_group
  45. style: vertical
  46. classes: large
  47. - type: button
  48. text: PLUGIN_ADMIN_ADDON_USER_MANAGER.BULK_REMOVE_GROUP
  49. name: bulk_remove_from_group
  50. style: vertical
  51. classes: large warning
  52. - type: selectize
  53. name: permissions
  54. multiple: true
  55. size: large
  56. label: PLUGIN_ADMIN.PERMISSIONS
  57. classes: fancy
  58. help: PLUGIN_ADMIN.PERMISSIONS_HELP
  59. validate:
  60. type: commalist
  61. - type: button
  62. text: PLUGIN_ADMIN_ADDON_USER_MANAGER.BULK_ADD_PERMISSIONS
  63. name: bulk_add_acl
  64. style: vertical
  65. classes: large
  66. - type: button
  67. text: PLUGIN_ADMIN_ADDON_USER_MANAGER.BULK_REMOVE_PERMISSIONS
  68. name: bulk_remove_acl
  69. style: vertical
  70. classes: large warning
  71. bulk_group:
  72. fields:
  73. - type: section
  74. title: PLUGIN_ADMIN_ADDON_USER_MANAGER.BULK_DELETE_GROUP
  75. - type: button
  76. text: PLUGIN_ADMIN_ADDON_USER_MANAGER.BULK_DELETE
  77. name: bulk_delete
  78. style: vertical
  79. classes: large warning