blueprints.yaml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. name: Admin Panel
  2. version: 1.0.0-rc.4
  3. description: Adds an advanced administration panel to manage your site
  4. icon: empire
  5. author:
  6. name: Team Grav
  7. email: devs@getgrav.org
  8. url: http://getgrav.org
  9. homepage: https://github.com/getgrav/grav-plugin-admin
  10. keywords: admin, plugin, manager, panel
  11. bugs: https://github.com/getgrav/grav-plugin-admin/issues
  12. readme: https://github.com/getgrav/grav-plugin-admin/blob/develop/README.md
  13. license: MIT
  14. dependencies:
  15. - form
  16. - email
  17. - login
  18. form:
  19. validation: loose
  20. fields:
  21. Basics:
  22. type: section
  23. title: Basics
  24. underline: false
  25. enabled:
  26. type: hidden
  27. label: Plugin status
  28. highlight: 1
  29. default: 0
  30. options:
  31. 1: Enabled
  32. 0: Disabled
  33. validate:
  34. type: bool
  35. route:
  36. type: text
  37. label: Administrator path
  38. size: medium
  39. placeholder: "Default route for administrator (relative to base)"
  40. help: If you want to change the URL for the administrator, you can provide a path here
  41. theme:
  42. type: hidden
  43. label: Theme
  44. default: grav
  45. edit_mode:
  46. type: select
  47. label: Edit mode
  48. size: small
  49. default: normal
  50. options:
  51. normal: Normal
  52. expert: Expert
  53. help: Auto will use blueprint if available, if none found, it will use "Expert" mode.
  54. google_fonts:
  55. type: toggle
  56. label: Use Google Fonts
  57. highlight: 1
  58. default: 1
  59. options:
  60. 1: Enabled
  61. 0: Disabled
  62. validate:
  63. type: bool
  64. help: Use Google custom fonts. Disable this to use Helvetica. Useful when using Cyrillic and other languages with unsupported characters.
  65. show_beta_msg:
  66. type: toggle
  67. label: Show Beta Message
  68. highlight: 1
  69. default: 1
  70. options:
  71. 1: Enabled
  72. 0: Disabled
  73. validate:
  74. type: bool
  75. help: Show the beta warning message on the dashboard
  76. enable_auto_updates_check:
  77. type: toggle
  78. label: Automatically check for updates
  79. highlight: 1
  80. default: 1
  81. options:
  82. 1: Enabled
  83. 0: Disabled
  84. validate:
  85. type: bool
  86. help: Shows an informative message, in the admin panel, when an update is available.
  87. session.timeout:
  88. type: text
  89. size: small
  90. label: Session Timeout
  91. help: "Sets the session timeout in seconds"
  92. validate:
  93. type: number
  94. min: 1
  95. warnings.delete_page:
  96. type: toggle
  97. label: Warn on page delete
  98. highlight: 1
  99. default: 1
  100. options:
  101. 1: Enabled
  102. 0: Disabled
  103. validate:
  104. type: bool
  105. help: Ask the user confirmation when deleting a page
  106. Popularity:
  107. type: section
  108. title: Popularity
  109. underline: true
  110. popularity.enabled:
  111. type: toggle
  112. label: Visitor tracking
  113. highlight: 1
  114. default: 1
  115. options:
  116. 1: Enabled
  117. 0: Disabled
  118. validate:
  119. type: bool
  120. help: Enable the visitors stats collecting feature
  121. dashboard.days_of_stats:
  122. type: text
  123. label: Days of stats
  124. size: x-small
  125. default: 7
  126. help: Keep stats for the specified number of days, then drop them
  127. validate:
  128. type: int
  129. popularity.ignore:
  130. type: array
  131. label: Ignore
  132. size: large
  133. help: "URLs to ignore"
  134. default: ['/test*','/modular']
  135. value_only: true
  136. placeholder_value: /ignore-this-route
  137. popularity.history.daily:
  138. type: hidden
  139. label: Daily history
  140. default: 30
  141. popularity.history.monthly:
  142. type: hidden
  143. label: Monthly history
  144. default: 12
  145. popularity.history.visitors:
  146. type: hidden
  147. label: Visitors history
  148. default: 20