blueprints.yaml 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781
  1. name: Admin Panel
  2. slug: admin
  3. type: plugin
  4. version: 1.10.42
  5. description: Adds an advanced administration panel to manage your site
  6. icon: empire
  7. author:
  8. name: Team Grav
  9. email: devs@getgrav.org
  10. url: https://getgrav.org
  11. homepage: https://github.com/getgrav/grav-plugin-admin
  12. keywords: admin, plugin, manager, panel
  13. bugs: https://github.com/getgrav/grav-plugin-admin/issues
  14. docs: https://github.com/getgrav/grav-plugin-admin/blob/develop/README.md
  15. license: MIT
  16. dependencies:
  17. - { name: grav, version: '>=1.7.42' }
  18. - { name: form, version: '>=6.0.1' }
  19. - { name: login, version: '>=3.7.0' }
  20. - { name: email, version: '>=3.1.6' }
  21. - { name: flex-objects, version: '>=1.2.0' }
  22. form:
  23. validation: loose
  24. fields:
  25. admin_tabs:
  26. type: tabs
  27. fields:
  28. config_tab:
  29. type: tab
  30. title: PLUGIN_ADMIN.CONFIGURATION
  31. fields:
  32. Basics:
  33. type: section
  34. title: PLUGIN_ADMIN.BASICS
  35. underline: false
  36. enabled:
  37. type: hidden
  38. label: PLUGIN_ADMIN.PLUGIN_STATUS
  39. highlight: 1
  40. default: 0
  41. options:
  42. 1: PLUGIN_ADMIN.ENABLED
  43. 0: PLUGIN_ADMIN.DISABLED
  44. validate:
  45. type: bool
  46. cache_enabled:
  47. type: toggle
  48. label: PLUGIN_ADMIN.ADMIN_CACHING
  49. help: PLUGIN_ADMIN.ADMIN_CACHING_HELP
  50. highlight: 1
  51. options:
  52. 1: PLUGIN_ADMIN.YES
  53. 0: PLUGIN_ADMIN.NO
  54. validate:
  55. type: bool
  56. twofa_enabled:
  57. type: toggle
  58. label: PLUGIN_LOGIN.2FA_TITLE
  59. help: PLUGIN_LOGIN.2FA_ENABLED_HELP
  60. default: 1
  61. highlight: 1
  62. options:
  63. 1: PLUGIN_ADMIN.YES
  64. 0: PLUGIN_ADMIN.NO
  65. validate:
  66. type: bool
  67. route:
  68. type: text
  69. label: PLUGIN_ADMIN.ADMIN_PATH
  70. size: medium
  71. placeholder: ADMIN_PATH_PLACEHOLDER
  72. help: ADMIN_PATH_HELP
  73. logo_text:
  74. type: text
  75. label: PLUGIN_ADMIN.LOGO_TEXT
  76. size: medium
  77. placeholder: "Grav"
  78. help: PLUGIN_ADMIN.LOGO_TEXT_HELP
  79. content_padding:
  80. type: toggle
  81. label: PLUGIN_ADMIN.CONTENT_PADDING
  82. help: PLUGIN_ADMIN.CONTENT_PADDING_HELP
  83. highlight: 1
  84. options:
  85. 1: PLUGIN_ADMIN.YES
  86. 0: PLUGIN_ADMIN.NO
  87. validate:
  88. type: bool
  89. body_classes:
  90. type: text
  91. label: PLUGIN_ADMIN.BODY_CLASSES
  92. size: medium
  93. help: PLUGIN_ADMIN.BODY_CLASSES_HELP
  94. sidebar.activate:
  95. type: select
  96. label: PLUGIN_ADMIN.SIDEBAR_ACTIVATION
  97. help: PLUGIN_ADMIN.SIDEBAR_ACTIVATION_HELP
  98. size: small
  99. default: tab
  100. options:
  101. tab: PLUGIN_ADMIN.SIDEBAR_ACTIVATION_TAB
  102. hover: PLUGIN_ADMIN.SIDEBAR_ACTIVATION_HOVER
  103. sidebar.hover_delay:
  104. type: text
  105. size: x-small
  106. append: PLUGIN_ADMIN.SIDEBAR_HOVER_DELAY_APPEND
  107. label: PLUGIN_ADMIN.SIDEBAR_HOVER_DELAY
  108. default: 500
  109. validate:
  110. type: number
  111. min: 1
  112. sidebar.size:
  113. type: select
  114. label: PLUGIN_ADMIN.SIDEBAR_SIZE
  115. help: PLUGIN_ADMIN.SIDEBAR_SIZE_HELP
  116. size: medium
  117. default: auto
  118. options:
  119. auto: PLUGIN_ADMIN.SIDEBAR_SIZE_AUTO
  120. small: PLUGIN_ADMIN.SIDEBAR_SIZE_SMALL
  121. theme:
  122. type: hidden
  123. label: PLUGIN_ADMIN.THEME
  124. default: grav
  125. edit_mode:
  126. type: select
  127. label: PLUGIN_ADMIN.EDIT_MODE
  128. size: small
  129. default: normal
  130. options:
  131. normal: PLUGIN_ADMIN.NORMAL
  132. expert: PLUGIN_ADMIN.EXPERT
  133. help: PLUGIN_ADMIN.EDIT_MODE_HELP
  134. frontend_preview_target:
  135. type: select
  136. label: PLUGIN_ADMIN.FRONTEND_PREVIEW_TARGET
  137. size: medium
  138. default: inline
  139. options:
  140. inline: PLUGIN_ADMIN.FRONTEND_PREVIEW_TARGET_INLINE
  141. _blank: PLUGIN_ADMIN.FRONTEND_PREVIEW_TARGET_NEW
  142. _self: PLUGIN_ADMIN.FRONTEND_PREVIEW_TARGET_CURRENT
  143. pages.show_parents:
  144. type: select
  145. size: medium
  146. label: PLUGIN_ADMIN.PARENT_DROPDOWN
  147. highlight: 1
  148. options:
  149. both: PLUGIN_ADMIN.PARENT_DROPDOWN_BOTH
  150. folder: PLUGIN_ADMIN.PARENT_DROPDOWN_FOLDER
  151. fullpath: PLUGIN_ADMIN.PARENT_DROPDOWN_FULLPATH
  152. pages.parents_levels:
  153. type: text
  154. label: PLUGIN_ADMIN.PARENTS_LEVELS
  155. size: small
  156. help: PLUGIN_ADMIN.PARENTS_LEVELS_HELP
  157. pages.show_modular:
  158. type: toggle
  159. label: PLUGIN_ADMIN.MODULAR_PARENTS
  160. highlight: 1
  161. default: 1
  162. options:
  163. 1: PLUGIN_ADMIN.ENABLED
  164. 0: PLUGIN_ADMIN.DISABLED
  165. validate:
  166. type: bool
  167. help: PLUGIN_ADMIN.MODULAR_PARENTS_HELP
  168. show_beta_msg:
  169. type: hidden
  170. show_github_msg:
  171. type: toggle
  172. label: PLUGIN_ADMIN.SHOW_GITHUB_LINK
  173. highlight: 1
  174. default: 1
  175. options:
  176. 1: PLUGIN_ADMIN.ENABLED
  177. 0: PLUGIN_ADMIN.DISABLED
  178. validate:
  179. type: bool
  180. help: PLUGIN_ADMIN.SHOW_GITHUB_LINK_HELP
  181. enable_auto_updates_check:
  182. type: toggle
  183. label: PLUGIN_ADMIN.AUTO_UPDATES
  184. highlight: 1
  185. default: 1
  186. options:
  187. 1: PLUGIN_ADMIN.ENABLED
  188. 0: PLUGIN_ADMIN.DISABLED
  189. validate:
  190. type: bool
  191. help: PLUGIN_ADMIN.AUTO_UPDATES_HELP
  192. session.timeout:
  193. type: text
  194. size: small
  195. label: PLUGIN_ADMIN.TIMEOUT
  196. append: GRAV.NICETIME.SECOND_PLURAL
  197. help: PLUGIN_ADMIN.TIMEOUT_HELP
  198. validate:
  199. type: number
  200. min: 1
  201. hide_page_types:
  202. type: select
  203. size: large
  204. label: PLUGIN_ADMIN.HIDE_PAGE_TYPES
  205. classes: fancy
  206. multiple: true
  207. array: true
  208. selectize:
  209. create: true
  210. data-options@: ['\Grav\Plugin\AdminPlugin::pagesTypes', true]
  211. hide_modular_page_types:
  212. type: select
  213. size: large
  214. label: PLUGIN_ADMIN.HIDE_MODULAR_PAGE_TYPES
  215. classes: fancy
  216. multiple: true
  217. array: true
  218. selectize:
  219. create: true
  220. data-options@: ['\Grav\Plugin\AdminPlugin::pagesModularTypes', true]
  221. Dashboard:
  222. type: section
  223. title: PLUGIN_ADMIN.DASHBOARD
  224. underline: true
  225. widgets_display:
  226. type: widgets
  227. label: PLUGIN_ADMIN.WIDGETS_DISPLAY
  228. validate:
  229. type: array
  230. Notifications:
  231. type: section
  232. title: PLUGIN_ADMIN.NOTIFICATIONS
  233. underline: true
  234. notifications.feed:
  235. type: toggle
  236. label: PLUGIN_ADMIN.FEED_NOTIFICATIONS
  237. highlight: 1
  238. default: 1
  239. options:
  240. 1: PLUGIN_ADMIN.ENABLED
  241. 0: PLUGIN_ADMIN.DISABLED
  242. validate:
  243. type: bool
  244. help: PLUGIN_ADMIN.FEED_NOTIFICATIONS_HELP
  245. notifications.dashboard:
  246. type: toggle
  247. label: PLUGIN_ADMIN.DASHBOARD_NOTIFICATIONS
  248. highlight: 1
  249. default: 1
  250. options:
  251. 1: PLUGIN_ADMIN.ENABLED
  252. 0: PLUGIN_ADMIN.DISABLED
  253. validate:
  254. type: bool
  255. help: PLUGIN_ADMIN.DASHBOARD_NOTIFICATIONS_HELP
  256. notifications.plugins:
  257. type: toggle
  258. label: PLUGIN_ADMIN.PLUGINS_NOTIFICATIONS
  259. highlight: 1
  260. default: 1
  261. options:
  262. 1: PLUGIN_ADMIN.ENABLED
  263. 0: PLUGIN_ADMIN.DISABLED
  264. validate:
  265. type: bool
  266. help: PLUGIN_ADMIN.PLUGINS_NOTIFICATIONS_HELP
  267. notifications.themes:
  268. type: toggle
  269. label: PLUGIN_ADMIN.THEMES_NOTIFICATIONS
  270. highlight: 1
  271. default: 1
  272. options:
  273. 1: PLUGIN_ADMIN.ENABLED
  274. 0: PLUGIN_ADMIN.DISABLED
  275. validate:
  276. type: bool
  277. help: PLUGIN_ADMIN.THEMES_NOTIFICATIONS_HELP
  278. customization_tab:
  279. type: tab
  280. title: PLUGIN_ADMIN.CUSTOMIZATION
  281. fields:
  282. whitelabel.logos:
  283. type: section
  284. underline: true
  285. title: PLUGIN_ADMIN.LOGOS
  286. whitelabel.logo_login:
  287. type: file
  288. label: PLUGIN_ADMIN.LOGIN_SCREEN_CUSTOM_LOGO_LABEL
  289. destination: 'user://assets'
  290. accept:
  291. - image/*
  292. whitelabel.logo_custom:
  293. type: file
  294. label: PLUGIN_ADMIN.TOP_LEFT_CUSTOM_LOGO_LABEL
  295. destination: 'user://assets'
  296. accept:
  297. - image/*
  298. codemirror_section:
  299. type: section
  300. underline: true
  301. title: PLUGIN_ADMIN.CODEMIRROR
  302. whitelabel.codemirror_theme:
  303. type: select
  304. label: PLUGIN_ADMIN.CODEMIRROR_THEME
  305. default: paper
  306. markdown: true
  307. data-options@: '\Grav\Plugin\AdminPlugin::themeOptions'
  308. description: PLUGIN_ADMIN.CODEMIRROR_THEME_DESC
  309. whitelabel.codemirror_fontsize:
  310. type: select
  311. label: PLUGIN_ADMIN.CODEMIRROR_FONTSIZE
  312. default: md
  313. options:
  314. sm: PLUGIN_ADMIN.CODEMIRROR_FONTSIZE_SM
  315. md: PLUGIN_ADMIN.CODEMIRROR_FONTSIZE_MD
  316. lg: PLUGIN_ADMIN.CODEMIRROR_FONTSIZE_LG
  317. whitelabel.codemirror_md_font:
  318. type: select
  319. label: PLUGIN_ADMIN.CODEMIRROR_MD_FONT
  320. default: sans
  321. options:
  322. sans: PLUGIN_ADMIN.CODEMIRROR_MD_FONT_SANS
  323. mono: PLUGIN_ADMIN.CODEMIRROR_MD_FONT_MONO
  324. customization_section:
  325. type: section
  326. underline: true
  327. title: PLUGIN_ADMIN.CUSTOMIZATION
  328. whitelabel.quicktray_recompile:
  329. type: toggle
  330. label: PLUGIN_ADMIN.QUICKTRAY_RECOMPILE
  331. help: PLUGIN_ADMIN.QUICKTRAY_RECOMPILE_HELP
  332. highlight: 0
  333. default: 0
  334. options:
  335. 1: PLUGIN_ADMIN.ENABLED
  336. 0: PLUGIN_ADMIN.DISABLED
  337. validate:
  338. type: bool
  339. whitelabel.color_scheme.name:
  340. type: text
  341. label: PLUGIN_ADMIN.COLOR_SCHEME_NAME
  342. help: PLUGIN_ADMIN.COLOR_SCHEME_NAME_HELP
  343. placeholder: PLUGIN_ADMIN.COLOR_SCHEME_NAME_PLACEHOLDER
  344. themes-preview:
  345. type: themepreview
  346. ignore: true;
  347. label: PLUGIN_ADMIN.PRESETS
  348. style: vertical
  349. colorschemes:
  350. type: colorscheme
  351. label: PLUGIN_ADMIN.COLOR_SCHEME_LABEL
  352. style: vertical
  353. help: PLUGIN_ADMIN.COLOR_SCHEME_HELP
  354. fields:
  355. whitelabel.color_scheme.colors.logo-bg:
  356. type: colorscheme.color
  357. default: '#1e333e'
  358. help: PLUGIN_ADMIN.LOGO_BG_HELP
  359. whitelabel.color_scheme.colors.logo-link:
  360. type: colorscheme.color
  361. default: '#ffffff'
  362. help: PLUGIN_ADMIN.LOGO_LINK_HELP
  363. whitelabel.color_scheme.colors.nav-bg:
  364. type: colorscheme.color
  365. default: '#253a47'
  366. help: PLUGIN_ADMIN.NAV_BG_HELP
  367. whitelabel.color_scheme.colors.nav-text:
  368. type: colorscheme.color
  369. default: '#afc7d5'
  370. help: PLUGIN_ADMIN.NAV_TEXT_HELP
  371. whitelabel.color_scheme.colors.nav-link:
  372. type: colorscheme.color
  373. default: '#d1dee7'
  374. help: PLUGIN_ADMIN.NAV_LINK_HELP
  375. whitelabel.color_scheme.colors.nav-selected-bg:
  376. type: colorscheme.color
  377. default: '#2d4d5b'
  378. help: PLUGIN_ADMIN.NAV_SELECTED_BG_HELP
  379. whitelabel.color_scheme.colors.nav-selected-link:
  380. type: colorscheme.color
  381. default: '#ffffff'
  382. help: PLUGIN_ADMIN.NAV_SELECTED_LINK_HELP
  383. whitelabel.color_scheme.colors.nav-hover-bg:
  384. type: colorscheme.color
  385. default: '#1e333e'
  386. help: PLUGIN_ADMIN.NAV_HOVER_BG_HELP
  387. whitelabel.color_scheme.colors.nav-hover-link:
  388. type: colorscheme.color
  389. default: '#ffffff'
  390. help: PLUGIN_ADMIN.NAV_HOVER_LINK_HELP
  391. whitelabel.color_scheme.colors.toolbar-bg:
  392. type: colorscheme.color
  393. default: '#349886'
  394. help: PLUGIN_ADMIN.TOOLBAR_BG_HELP
  395. whitelabel.color_scheme.colors.toolbar-text:
  396. type: colorscheme.color
  397. default: '#ffffff'
  398. help: PLUGIN_ADMIN.TOOLBAR_TEXT_HELP
  399. whitelabel.color_scheme.colors.page-bg:
  400. type: colorscheme.color
  401. default: '#314d5b'
  402. help: PLUGIN_ADMIN.PAGE_BG_HELP
  403. whitelabel.color_scheme.colors.page-text:
  404. type: colorscheme.color
  405. default: '#81a5b5'
  406. help: PLUGIN_ADMIN.PAGE_TEXT_HELP
  407. whitelabel.color_scheme.colors.page-link:
  408. type: colorscheme.color
  409. default: '#aad9ed'
  410. help: PLUGIN_ADMIN.PAGE_LINK_HELP
  411. whitelabel.color_scheme.colors.content-bg:
  412. type: colorscheme.color
  413. default: '#eeeeee'
  414. help: PLUGIN_ADMIN.CONTENT_BG_HELP
  415. whitelabel.color_scheme.colors.content-text:
  416. type: colorscheme.color
  417. default: '#737c81'
  418. help: PLUGIN_ADMIN.CONTENT_TEXT_HELP
  419. whitelabel.color_scheme.colors.content-link:
  420. type: colorscheme.color
  421. default: '#0082ba'
  422. help: PLUGIN_ADMIN.CONTENT_LINK_HELP
  423. whitelabel.color_scheme.colors.content-link2:
  424. type: colorscheme.color
  425. default: '#da4b46'
  426. help: PLUGIN_ADMIN.CONTENT_LINK2_HELP
  427. whitelabel.color_scheme.colors.content-header:
  428. type: colorscheme.color
  429. default: '#314d5b'
  430. help: PLUGIN_ADMIN.CONTENT_HEADER_HELP
  431. whitelabel.color_scheme.colors.content-tabs-bg:
  432. type: colorscheme.color
  433. default: '#223a47'
  434. help: PLUGIN_ADMIN.CONTENT_TABS_BG_HELP
  435. whitelabel.color_scheme.colors.content-tabs-text:
  436. type: colorscheme.color
  437. default: '#d1dee7'
  438. help: PLUGIN_ADMIN.CONTENT_TABS_TEXT_HELP
  439. whitelabel.color_scheme.colors.content-highlight:
  440. type: colorscheme.color
  441. default: '#ffffd7'
  442. help: PLUGIN_ADMIN.CONTENT_HIGHLIGHT_HELP
  443. whitelabel.color_scheme.colors.button-bg:
  444. type: colorscheme.color
  445. default: '#41bea8'
  446. help: PLUGIN_ADMIN.BUTTON_BG_HELP
  447. whitelabel.color_scheme.colors.button-text:
  448. type: colorscheme.color
  449. default: '#ffffff'
  450. help: PLUGIN_ADMIN.BUTTON_TEXT_HELP
  451. whitelabel.color_scheme.colors.notice-bg:
  452. type: colorscheme.color
  453. default: '#00a6cf'
  454. help: PLUGIN_ADMIN.NOTICE_BG_HELP
  455. whitelabel.color_scheme.colors.notice-text:
  456. type: colorscheme.color
  457. default: '#ffffff'
  458. help: PLUGIN_ADMIN.NOTICE_TEXT_HELP
  459. whitelabel.color_scheme.colors.update-bg:
  460. type: colorscheme.color
  461. default: '#8f5aad'
  462. help: PLUGIN_ADMIN.UPDATES_BG_HELP
  463. whitelabel.color_scheme.colors.update-text:
  464. type: colorscheme.color
  465. default: '#ffffff'
  466. help: PLUGIN_ADMIN.UPDATES_TEXT_HELP
  467. whitelabel.color_scheme.colors.critical-bg:
  468. type: colorscheme.color
  469. default: '#da4b46'
  470. help: PLUGIN_ADMIN.CRITICAL_BG_HELP
  471. whitelabel.color_scheme.colors.critical-text:
  472. type: colorscheme.color
  473. default: '#ffffff'
  474. help: PLUGIN_ADMIN.CRITICAL_TEXT_HELP
  475. whitelabel.color_scheme.accents.primary-accent:
  476. type: select
  477. size: meidum
  478. classes: fancy
  479. label: PLUGIN_ADMIN.PRIMARY_ACCENT_LABEL
  480. help: PLUGIN_ADMIN.PRIMARY_ACCENT_HELP
  481. options:
  482. button: PLUGIN_ADMIN.BUTTON_COLORS
  483. content: PLUGIN_ADMIN.CONTENT_COLORS
  484. tabs: PLUGIN_ADMIN.TABS_COLORS
  485. critical: PLUGIN_ADMIN.CRITICAL_COLORS
  486. logo: PLUGIN_ADMIN.LOGO_COLORS
  487. nav: PLUGIN_ADMIN.NAV_COLORS
  488. notice: PLUGIN_ADMIN.NOTICE_COLORS
  489. page: PLUGIN_ADMIN.PAGE_COLORS
  490. toolbar: PLUGIN_ADMIN.TOOLBAR_COLORS
  491. update: PLUGIN_ADMIN.UPDATE_COLORS
  492. whitelabel.color_scheme.accents.secondary-accent:
  493. type: select
  494. size: meidum
  495. classes: fancy
  496. label: PLUGIN_ADMIN.SECONDARY_ACCENT_LABEL
  497. help: PLUGIN_ADMIN.SECONDARY_ACCENT_HELP
  498. options:
  499. button: PLUGIN_ADMIN.BUTTON_COLORS
  500. content: PLUGIN_ADMIN.CONTENT_COLORS
  501. tabs: PLUGIN_ADMIN.TABS_COLORS
  502. critical: PLUGIN_ADMIN.CRITICAL_COLORS
  503. logo: PLUGIN_ADMIN.LOGO_COLORS
  504. nav: PLUGIN_ADMIN.NAV_COLORS
  505. notice: PLUGIN_ADMIN.NOTICE_COLORS
  506. page: PLUGIN_ADMIN.PAGE_COLORS
  507. toolbar: PLUGIN_ADMIN.TOOLBAR_COLORS
  508. update: PLUGIN_ADMIN.UPDATE_COLORS
  509. whitelabel.color_scheme.accents.tertiary-accent:
  510. type: select
  511. size: meidum
  512. classes: fancy
  513. label: PLUGIN_ADMIN.TERTIARY_ACCENT_LABEL
  514. help: PLUGIN_ADMIN.TERTIARY_ACCENT_HELP
  515. options:
  516. button: PLUGIN_ADMIN.BUTTON_COLORS
  517. content: PLUGIN_ADMIN.CONTENT_COLORS
  518. tabs: PLUGIN_ADMIN.TABS_COLORS
  519. critical: PLUGIN_ADMIN.CRITICAL_COLORS
  520. logo: PLUGIN_ADMIN.LOGO_COLORS
  521. nav: PLUGIN_ADMIN.NAV_COLORS
  522. notice: PLUGIN_ADMIN.NOTICE_COLORS
  523. page: PLUGIN_ADMIN.PAGE_COLORS
  524. toolbar: PLUGIN_ADMIN.TOOLBAR_COLORS
  525. update: PLUGIN_ADMIN.UPDATE_COLORS
  526. whitelabel.custom_footer:
  527. type: textarea
  528. rows: 2
  529. label: PLUGIN_ADMIN.CUSTOM_FOOTER
  530. help: PLUGIN_ADMIN.CUSTOM_FOOTER_HELP
  531. placeholder: PLUGIN_ADMIN.CUSTOM_FOOTER_PLACEHOLDER
  532. whitelabel.custom_css:
  533. label: PLUGIN_ADMIN.CUSTOM_CSS_LABEL
  534. placeholder: PLUGIN_ADMIN.CUSTOM_CSS_PLACEHOLDER
  535. help: PLUGIN_ADMIN.CUSTOM_CSS_HELP
  536. type: editor
  537. codemirror:
  538. mode: 'css'
  539. indentUnit: 2
  540. autofocus: true
  541. indentWithTabs: true
  542. lineNumbers: true
  543. styleActiveLine: true
  544. whitelabel.custom_presets:
  545. label: PLUGIN_ADMIN.CUSTOM_PRESETS
  546. help: PLUGIN_ADMIN.CUSTOM_PRESETS_HELP
  547. placeholder: PLUGIN_ADMIN.CUSTOM_PRESETS_PLACEHOLDER
  548. type: editor
  549. codemirror:
  550. mode: 'yaml'
  551. indentUnit: 2
  552. autofocus: true
  553. indentWithTabs: false
  554. lineNumbers: true
  555. styleActiveLine: true
  556. gutters: ['CodeMirror-lint-markers']
  557. lint: true
  558. extras_tab:
  559. type: tab
  560. title: PLUGIN_ADMIN.EXTRAS
  561. fields:
  562. Popularity:
  563. type: section
  564. title: PLUGIN_ADMIN.POPULARITY
  565. underline: true
  566. popularity.enabled:
  567. type: toggle
  568. label: PLUGIN_ADMIN.VISITOR_TRACKING
  569. highlight: 1
  570. default: 1
  571. options:
  572. 1: PLUGIN_ADMIN.ENABLED
  573. 0: PLUGIN_ADMIN.DISABLED
  574. validate:
  575. type: bool
  576. help: PLUGIN_ADMIN.VISITOR_TRACKING_HELP
  577. dashboard.days_of_stats:
  578. type: text
  579. label: PLUGIN_ADMIN.DAYS_OF_STATS
  580. append: days
  581. size: x-small
  582. default: 7
  583. help: PLUGIN_ADMIN.DAYS_OF_STATS_HELP
  584. validate:
  585. type: int
  586. popularity.ignore:
  587. type: array
  588. label: PLUGIN_ADMIN.IGNORE_URLS
  589. size: large
  590. help: PLUGIN_ADMIN.IGNORE_URLS_HELP
  591. default: ['/test*','/modular']
  592. value_only: true
  593. placeholder_value: /ignore-this-route
  594. popularity.history.daily:
  595. type: hidden
  596. label: PLUGIN_ADMIN.DAILY_HISTORY
  597. default: 30
  598. popularity.history.monthly:
  599. type: hidden
  600. label: PLUGIN_ADMIN.MONTHLY_HISTORY
  601. default: 12
  602. popularity.history.visitors:
  603. type: hidden
  604. label: PLUGIN_ADMIN.VISITORS_HISTORY
  605. default: 20
  606. MediaResize:
  607. type: section
  608. title: PLUGIN_ADMIN.MEDIA_RESIZE
  609. underline: true
  610. MediaResizeNote:
  611. type: spacer
  612. text: PLUGIN_ADMIN.PAGEMEDIA_RESIZER
  613. markdown: true
  614. pagemedia.resize_width:
  615. type: number
  616. size: x-small
  617. append: PLUGIN_ADMIN.PIXELS
  618. label: PLUGIN_ADMIN.RESIZE_WIDTH
  619. default: 0
  620. validate:
  621. type: number
  622. help: PLUGIN_ADMIN.RESIZE_WIDTH_HELP
  623. pagemedia.resize_height:
  624. type: number
  625. size: x-small
  626. append: PLUGIN_ADMIN.PIXELS
  627. label: PLUGIN_ADMIN.RESIZE_HEIGHT
  628. default: 0
  629. validate:
  630. type: number
  631. help: PLUGIN_ADMIN.RESIZE_HEIGHT_HELP
  632. pagemedia.res_min_width:
  633. type: number
  634. size: x-small
  635. append: PLUGIN_ADMIN.PIXELS
  636. label: PLUGIN_ADMIN.RES_MIN_WIDTH
  637. default: 0
  638. validate:
  639. type: number
  640. help: PLUGIN_ADMIN.RES_MIN_WIDTH_HELP
  641. pagemedia.res_min_height:
  642. type: number
  643. size: x-small
  644. append: PLUGIN_ADMIN.PIXELS
  645. label: PLUGIN_ADMIN.RES_MIN_HEIGHT
  646. default: 0
  647. validate:
  648. type: number
  649. help: PLUGIN_ADMIN.RES_MIN_HEIGHT_HELP
  650. pagemedia.res_max_width:
  651. type: number
  652. size: x-small
  653. append: PLUGIN_ADMIN.PIXELS
  654. label: PLUGIN_ADMIN.RES_MAX_WIDTH
  655. default: 0
  656. validate:
  657. type: number
  658. help: PLUGIN_ADMIN.RES_MAX_WIDTH_HELP
  659. pagemedia.res_max_height:
  660. type: number
  661. size: x-small
  662. append: PLUGIN_ADMIN.PIXELS
  663. label: PLUGIN_ADMIN.RES_MAX_HEIGHT
  664. default: 0
  665. validate:
  666. type: number
  667. help: PLUGIN_ADMIN.RES_MAX_HEIGHT_HELP
  668. pagemedia.resize_quality:
  669. type: number
  670. size: x-small
  671. append: 0...1
  672. label: PLUGIN_ADMIN.RESIZE_QUALITY
  673. default: 0.8
  674. validate:
  675. type: number
  676. step: 0.01
  677. help: PLUGIN_ADMIN.RESIZE_QUALITY_HELP