blueprints.yaml 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404
  1. name: Admin Panel
  2. version: 1.6.7
  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. docs: https://github.com/getgrav/grav-plugin-admin/blob/develop/README.md
  13. license: MIT
  14. dependencies:
  15. - { name: grav, version: '>=1.3.9' }
  16. - { name: form, version: '>=2.11.0' }
  17. - { name: login, version: '>=2.5.0' }
  18. - { name: email, version: '~2.0' }
  19. form:
  20. validation: loose
  21. fields:
  22. Basics:
  23. type: section
  24. title: Basics
  25. underline: false
  26. enabled:
  27. type: hidden
  28. label: PLUGIN_ADMIN.PLUGIN_STATUS
  29. highlight: 1
  30. default: 0
  31. options:
  32. 1: PLUGIN_ADMIN.ENABLED
  33. 0: PLUGIN_ADMIN.DISABLED
  34. validate:
  35. type: bool
  36. cache_enabled:
  37. type: toggle
  38. label: PLUGIN_ADMIN.ADMIN_CACHING
  39. help: PLUGIN_ADMIN.ADMIN_CACHING_HELP
  40. highlight: 0
  41. options:
  42. 1: PLUGIN_ADMIN.YES
  43. 0: PLUGIN_ADMIN.NO
  44. validate:
  45. type: bool
  46. twofa_enabled:
  47. type: toggle
  48. label: PLUGIN_ADMIN.2FA_TITLE
  49. help: PLUGIN_ADMIN.2FA_ENABLED_HELP
  50. default: 1
  51. highlight: 1
  52. options:
  53. 1: PLUGIN_ADMIN.YES
  54. 0: PLUGIN_ADMIN.NO
  55. validate:
  56. type: bool
  57. route:
  58. type: text
  59. label: Administrator path
  60. size: medium
  61. placeholder: "Default route for administrator (relative to base)"
  62. help: If you want to change the URL for the administrator, you can provide a path here
  63. logo_text:
  64. type: text
  65. label: Logo text
  66. size: medium
  67. placeholder: "Grav"
  68. help: Text to display in place of the default Grav logo
  69. content_padding:
  70. type: toggle
  71. label: PLUGIN_ADMIN.CONTENT_PADDING
  72. help: PLUGIN_ADMIN.CONTENT_PADDING_HELP
  73. highlight: 1
  74. options:
  75. 1: PLUGIN_ADMIN.YES
  76. 0: PLUGIN_ADMIN.NO
  77. validate:
  78. type: bool
  79. body_classes:
  80. type: text
  81. label: Body classes
  82. size: medium
  83. help: Add a space separated name of custom body classes
  84. sidebar.activate:
  85. type: select
  86. label: Sidebar Activation
  87. help: Control how the sidebar is activated
  88. size: small
  89. default: tab
  90. options:
  91. tab: Tab
  92. hover: Hover
  93. sidebar.hover_delay:
  94. type: text
  95. size: x-small
  96. append: millseconds
  97. label: Hover delay
  98. default: 500
  99. validate:
  100. type: number
  101. min: 1
  102. sidebar.size:
  103. type: select
  104. label: Sidebar Size
  105. help: Control the width of the sidebar
  106. size: medium
  107. default: auto
  108. options:
  109. auto: Automatic width
  110. small: Small width
  111. theme:
  112. type: hidden
  113. label: Theme
  114. default: grav
  115. edit_mode:
  116. type: select
  117. label: Edit mode
  118. size: small
  119. default: normal
  120. options:
  121. normal: Normal
  122. expert: Expert
  123. help: Auto will use blueprint if available, if none found, it will use "Expert" mode.
  124. frontend_pages_target:
  125. type: select
  126. label: Open frontend pages in
  127. size: medium
  128. default: _blank
  129. options:
  130. _blank: New tab
  131. frontend_tab: Separate tab (always the same)
  132. _self: Current tab
  133. pages.show_parents:
  134. type: select
  135. size: medium
  136. label: Parent dropdown
  137. highlight: 1
  138. options:
  139. both: Show slug and folder
  140. folder: Show folder
  141. fullpath: Show fullpath
  142. google_fonts:
  143. type: toggle
  144. label: Use Google Fonts
  145. highlight: 1
  146. default: 1
  147. options:
  148. 1: PLUGIN_ADMIN.ENABLED
  149. 0: PLUGIN_ADMIN.DISABLED
  150. validate:
  151. type: bool
  152. help: Use Google custom fonts. Disable this to use Helvetica. Useful when using Cyrillic and other languages with unsupported characters.
  153. show_beta_msg:
  154. type: hidden
  155. show_github_msg:
  156. type: toggle
  157. label: Show GitHub Link
  158. highlight: 1
  159. default: 1
  160. options:
  161. 1: PLUGIN_ADMIN.ENABLED
  162. 0: PLUGIN_ADMIN.DISABLED
  163. validate:
  164. type: bool
  165. help: Show the "Found an issue? Please report it on GitHub." message.
  166. pages_list_display_field:
  167. type: text
  168. size: small
  169. label: Pages List Display Field
  170. help: "Field of the page to use in the list of pages if present. Defaults/Fallback to title."
  171. enable_auto_updates_check:
  172. type: toggle
  173. label: Automatically check for updates
  174. highlight: 1
  175. default: 1
  176. options:
  177. 1: PLUGIN_ADMIN.ENABLED
  178. 0: PLUGIN_ADMIN.DISABLED
  179. validate:
  180. type: bool
  181. help: Shows an informative message, in the admin panel, when an update is available.
  182. session.timeout:
  183. type: text
  184. size: small
  185. label: Session Timeout
  186. append: secs
  187. help: "Sets the session timeout in seconds"
  188. validate:
  189. type: number
  190. min: 1
  191. warnings.delete_page:
  192. type: toggle
  193. label: Warn on page delete
  194. highlight: 1
  195. default: 1
  196. options:
  197. 1: PLUGIN_ADMIN.ENABLED
  198. 0: PLUGIN_ADMIN.DISABLED
  199. validate:
  200. type: bool
  201. help: Ask the user confirmation when deleting a page
  202. hide_page_types:
  203. type: array
  204. label: Hide page types in Admin
  205. value_only: true
  206. hide_modular_page_types:
  207. type: array
  208. label: Hide modular page types in Admin
  209. value_only: true
  210. Dashboard:
  211. type: section
  212. title: Dashboard
  213. underline: true
  214. widgets.dashboard-maintenance:
  215. type: toggle
  216. label: Maintenance Widget
  217. highlight: 1
  218. default: 1
  219. options:
  220. 1: PLUGIN_ADMIN.ENABLED
  221. 0: PLUGIN_ADMIN.DISABLED
  222. validate:
  223. type: bool
  224. help: Display dashboard maintenance widget
  225. widgets.dashboard-statistics:
  226. type: toggle
  227. label: Statistics Widget
  228. highlight: 1
  229. default: 1
  230. options:
  231. 1: PLUGIN_ADMIN.ENABLED
  232. 0: PLUGIN_ADMIN.DISABLED
  233. validate:
  234. type: bool
  235. help: Display dashboard statistics widget
  236. widgets.dashboard-notifications:
  237. type: toggle
  238. label: Notifications Feed Widget
  239. highlight: 1
  240. default: 1
  241. options:
  242. 1: PLUGIN_ADMIN.ENABLED
  243. 0: PLUGIN_ADMIN.DISABLED
  244. validate:
  245. type: bool
  246. help: Display dashboard notifications feed widget
  247. widgets.dashboard-feed:
  248. type: toggle
  249. label: News Feed Widget
  250. highlight: 1
  251. default: 1
  252. options:
  253. 1: PLUGIN_ADMIN.ENABLED
  254. 0: PLUGIN_ADMIN.DISABLED
  255. validate:
  256. type: bool
  257. help: Display dashboard news feed widget
  258. widgets.dashboard-pages:
  259. type: toggle
  260. label: Latest Pages Widget
  261. highlight: 1
  262. default: 1
  263. options:
  264. 1: PLUGIN_ADMIN.ENABLED
  265. 0: PLUGIN_ADMIN.DISABLED
  266. validate:
  267. type: bool
  268. help: Display dashboard latest pages widget
  269. Notifications:
  270. type: section
  271. title: Notifications
  272. underline: true
  273. notifications.feed:
  274. type: toggle
  275. label: Feed Notifications
  276. highlight: 1
  277. default: 1
  278. options:
  279. 1: PLUGIN_ADMIN.ENABLED
  280. 0: PLUGIN_ADMIN.DISABLED
  281. validate:
  282. type: bool
  283. help: Display feed-based notifications
  284. notifications.dashboard:
  285. type: toggle
  286. label: Dashboard Notifications
  287. highlight: 1
  288. default: 1
  289. options:
  290. 1: PLUGIN_ADMIN.ENABLED
  291. 0: PLUGIN_ADMIN.DISABLED
  292. validate:
  293. type: bool
  294. help: Display dashboard-based notifications
  295. notifications.plugins:
  296. type: toggle
  297. label: Plugins Notifications
  298. highlight: 1
  299. default: 1
  300. options:
  301. 1: PLUGIN_ADMIN.ENABLED
  302. 0: PLUGIN_ADMIN.DISABLED
  303. validate:
  304. type: bool
  305. help: Display plugins-targeted notifications
  306. notifications.themes:
  307. type: toggle
  308. label: Themes Notifications
  309. highlight: 1
  310. default: 1
  311. options:
  312. 1: PLUGIN_ADMIN.ENABLED
  313. 0: PLUGIN_ADMIN.DISABLED
  314. validate:
  315. type: bool
  316. help: Display themes-targeted notifications
  317. Popularity:
  318. type: section
  319. title: Popularity
  320. underline: true
  321. popularity.enabled:
  322. type: toggle
  323. label: Visitor tracking
  324. highlight: 1
  325. default: 1
  326. options:
  327. 1: PLUGIN_ADMIN.ENABLED
  328. 0: PLUGIN_ADMIN.DISABLED
  329. validate:
  330. type: bool
  331. help: Enable the visitors stats collecting feature
  332. dashboard.days_of_stats:
  333. type: text
  334. label: Days of stats
  335. append: days
  336. size: x-small
  337. default: 7
  338. help: Keep stats for the specified number of days, then drop them
  339. validate:
  340. type: int
  341. popularity.ignore:
  342. type: array
  343. label: Ignore
  344. size: large
  345. help: "URLs to ignore"
  346. default: ['/test*','/modular']
  347. value_only: true
  348. placeholder_value: /ignore-this-route
  349. popularity.history.daily:
  350. type: hidden
  351. label: Daily history
  352. default: 30
  353. popularity.history.monthly:
  354. type: hidden
  355. label: Monthly history
  356. default: 12
  357. popularity.history.visitors:
  358. type: hidden
  359. label: Visitors history
  360. default: 20