blueprints.yaml 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787
  1. name: Admin Panel
  2. slug: admin
  3. type: plugin
  4. version: 1.10.25
  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: http://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.24' }
  18. - { name: form, version: '>=5.1.0' }
  19. - { name: login, version: '>=3.5.0' }
  20. - { name: email, version: '>=3.1.0' }
  21. - { name: flex-objects, version: '>=1.1.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. pages_list_display_field:
  182. type: text
  183. size: small
  184. label: PLUGIN_ADMIN.PAGES_LIST_DISPLAY_FIELD
  185. help: PLUGIN_ADMIN.PAGES_LIST_DISPLAY_FIELD_HELP
  186. enable_auto_updates_check:
  187. type: toggle
  188. label: PLUGIN_ADMIN.AUTO_UPDATES
  189. highlight: 1
  190. default: 1
  191. options:
  192. 1: PLUGIN_ADMIN.ENABLED
  193. 0: PLUGIN_ADMIN.DISABLED
  194. validate:
  195. type: bool
  196. help: PLUGIN_ADMIN.AUTO_UPDATES_HELP
  197. session.timeout:
  198. type: text
  199. size: small
  200. label: PLUGIN_ADMIN.TIMEOUT
  201. append: GRAV.NICETIME.SECOND_PLURAL
  202. help: PLUGIN_ADMIN.TIMEOUT_HELP
  203. validate:
  204. type: number
  205. min: 1
  206. hide_page_types:
  207. type: select
  208. size: large
  209. label: PLUGIN_ADMIN.HIDE_PAGE_TYPES
  210. classes: fancy
  211. multiple: true
  212. array: true
  213. selectize:
  214. create: true
  215. data-options@: ['\Grav\Plugin\AdminPlugin::pagesTypes', true]
  216. hide_modular_page_types:
  217. type: select
  218. size: large
  219. label: PLUGIN_ADMIN.HIDE_MODULAR_PAGE_TYPES
  220. classes: fancy
  221. multiple: true
  222. array: true
  223. selectize:
  224. create: true
  225. data-options@: ['\Grav\Plugin\AdminPlugin::pagesModularTypes', true]
  226. Dashboard:
  227. type: section
  228. title: PLUGIN_ADMIN.DASHBOARD
  229. underline: true
  230. widgets_display:
  231. type: widgets
  232. label: PLUGIN_ADMIN.WIDGETS_DISPLAY
  233. validate:
  234. type: array
  235. Notifications:
  236. type: section
  237. title: PLUGIN_ADMIN.NOTIFICATIONS
  238. underline: true
  239. notifications.feed:
  240. type: toggle
  241. label: PLUGIN_ADMIN.FEED_NOTIFICATIONS
  242. highlight: 1
  243. default: 1
  244. options:
  245. 1: PLUGIN_ADMIN.ENABLED
  246. 0: PLUGIN_ADMIN.DISABLED
  247. validate:
  248. type: bool
  249. help: PLUGIN_ADMIN.FEED_NOTIFICATIONS_HELP
  250. notifications.dashboard:
  251. type: toggle
  252. label: PLUGIN_ADMIN.DASHBOARD_NOTIFICATIONS
  253. highlight: 1
  254. default: 1
  255. options:
  256. 1: PLUGIN_ADMIN.ENABLED
  257. 0: PLUGIN_ADMIN.DISABLED
  258. validate:
  259. type: bool
  260. help: PLUGIN_ADMIN.DASHBOARD_NOTIFICATIONS_HELP
  261. notifications.plugins:
  262. type: toggle
  263. label: PLUGIN_ADMIN.PLUGINS_NOTIFICATIONS
  264. highlight: 1
  265. default: 1
  266. options:
  267. 1: PLUGIN_ADMIN.ENABLED
  268. 0: PLUGIN_ADMIN.DISABLED
  269. validate:
  270. type: bool
  271. help: PLUGIN_ADMIN.PLUGINS_NOTIFICATIONS_HELP
  272. notifications.themes:
  273. type: toggle
  274. label: PLUGIN_ADMIN.THEMES_NOTIFICATIONS
  275. highlight: 1
  276. default: 1
  277. options:
  278. 1: PLUGIN_ADMIN.ENABLED
  279. 0: PLUGIN_ADMIN.DISABLED
  280. validate:
  281. type: bool
  282. help: PLUGIN_ADMIN.THEMES_NOTIFICATIONS_HELP
  283. customization_tab:
  284. type: tab
  285. title: PLUGIN_ADMIN.CUSTOMIZATION
  286. fields:
  287. whitelabel.logos:
  288. type: section
  289. underline: true
  290. title: PLUGIN_ADMIN.LOGOS
  291. whitelabel.logo_login:
  292. type: file
  293. label: PLUGIN_ADMIN.LOGIN_SCREEN_CUSTOM_LOGO_LABEL
  294. destination: 'user://assets'
  295. accept:
  296. - image/*
  297. whitelabel.logo_custom:
  298. type: file
  299. label: PLUGIN_ADMIN.TOP_LEFT_CUSTOM_LOGO_LABEL
  300. destination: 'user://assets'
  301. accept:
  302. - image/*
  303. codemirror_section:
  304. type: section
  305. underline: true
  306. title: PLUGIN_ADMIN.CODEMIRROR
  307. whitelabel.codemirror_theme:
  308. type: select
  309. label: PLUGIN_ADMIN.CODEMIRROR_THEME
  310. default: paper
  311. markdown: true
  312. data-options@: '\Grav\Plugin\AdminPlugin::themeOptions'
  313. description: PLUGIN_ADMIN.CODEMIRROR_THEME_DESC
  314. whitelabel.codemirror_fontsize:
  315. type: select
  316. label: PLUGIN_ADMIN.CODEMIRROR_FONTSIZE
  317. default: md
  318. options:
  319. sm: PLUGIN_ADMIN.CODEMIRROR_FONTSIZE_SM
  320. md: PLUGIN_ADMIN.CODEMIRROR_FONTSIZE_MD
  321. lg: PLUGIN_ADMIN.CODEMIRROR_FONTSIZE_LG
  322. whitelabel.codemirror_md_font:
  323. type: select
  324. label: PLUGIN_ADMIN.CODEMIRROR_MD_FONT
  325. default: sans
  326. options:
  327. sans: PLUGIN_ADMIN.CODEMIRROR_MD_FONT_SANS
  328. mono: PLUGIN_ADMIN.CODEMIRROR_MD_FONT_MONO
  329. customization_section:
  330. type: section
  331. underline: true
  332. title: PLUGIN_ADMIN.CUSTOMIZATION
  333. whitelabel.quicktray_recompile:
  334. type: toggle
  335. label: PLUGIN_ADMIN.QUICKTRAY_RECOMPILE
  336. help: PLUGIN_ADMIN.QUICKTRAY_RECOMPILE_HELP
  337. highlight: 0
  338. default: 0
  339. options:
  340. 1: PLUGIN_ADMIN.ENABLED
  341. 0: PLUGIN_ADMIN.DISABLED
  342. validate:
  343. type: bool
  344. whitelabel.color_scheme.name:
  345. type: text
  346. label: PLUGIN_ADMIN.COLOR_SCHEME_NAME
  347. help: PLUGIN_ADMIN.COLOR_SCHEME_NAME_HELP
  348. placeholder: PLUGIN_ADMIN.COLOR_SCHEME_NAME_PLACEHOLDER
  349. themes-preview:
  350. type: themepreview
  351. ignore: true;
  352. label: PLUGIN_ADMIN.PRESETS
  353. style: vertical
  354. colorschemes:
  355. type: colorscheme
  356. label: PLUGIN_ADMIN.COLOR_SCHEME_LABEL
  357. style: vertical
  358. help: PLUGIN_ADMIN.COLOR_SCHEME_HELP
  359. fields:
  360. whitelabel.color_scheme.colors.logo-bg:
  361. type: colorscheme.color
  362. default: '#1e333e'
  363. help: PLUGIN_ADMIN.LOGO_BG_HELP
  364. whitelabel.color_scheme.colors.logo-link:
  365. type: colorscheme.color
  366. default: '#ffffff'
  367. help: PLUGIN_ADMIN.LOGO_LINK_HELP
  368. whitelabel.color_scheme.colors.nav-bg:
  369. type: colorscheme.color
  370. default: '#253a47'
  371. help: PLUGIN_ADMIN.NAV_BG_HELP
  372. whitelabel.color_scheme.colors.nav-text:
  373. type: colorscheme.color
  374. default: '#afc7d5'
  375. help: PLUGIN_ADMIN.NAV_TEXT_HELP
  376. whitelabel.color_scheme.colors.nav-link:
  377. type: colorscheme.color
  378. default: '#d1dee7'
  379. help: PLUGIN_ADMIN.NAV_LINK_HELP
  380. whitelabel.color_scheme.colors.nav-selected-bg:
  381. type: colorscheme.color
  382. default: '#2d4d5b'
  383. help: PLUGIN_ADMIN.NAV_SELECTED_BG_HELP
  384. whitelabel.color_scheme.colors.nav-selected-link:
  385. type: colorscheme.color
  386. default: '#ffffff'
  387. help: PLUGIN_ADMIN.NAV_SELECTED_LINK_HELP
  388. whitelabel.color_scheme.colors.nav-hover-bg:
  389. type: colorscheme.color
  390. default: '#1e333e'
  391. help: PLUGIN_ADMIN.NAV_HOVER_BG_HELP
  392. whitelabel.color_scheme.colors.nav-hover-link:
  393. type: colorscheme.color
  394. default: '#ffffff'
  395. help: PLUGIN_ADMIN.NAV_HOVER_LINK_HELP
  396. whitelabel.color_scheme.colors.toolbar-bg:
  397. type: colorscheme.color
  398. default: '#349886'
  399. help: PLUGIN_ADMIN.TOOLBAR_BG_HELP
  400. whitelabel.color_scheme.colors.toolbar-text:
  401. type: colorscheme.color
  402. default: '#ffffff'
  403. help: PLUGIN_ADMIN.TOOLBAR_TEXT_HELP
  404. whitelabel.color_scheme.colors.page-bg:
  405. type: colorscheme.color
  406. default: '#314d5b'
  407. help: PLUGIN_ADMIN.PAGE_BG_HELP
  408. whitelabel.color_scheme.colors.page-text:
  409. type: colorscheme.color
  410. default: '#81a5b5'
  411. help: PLUGIN_ADMIN.PAGE_TEXT_HELP
  412. whitelabel.color_scheme.colors.page-link:
  413. type: colorscheme.color
  414. default: '#aad9ed'
  415. help: PLUGIN_ADMIN.PAGE_LINK_HELP
  416. whitelabel.color_scheme.colors.content-bg:
  417. type: colorscheme.color
  418. default: '#eeeeee'
  419. help: PLUGIN_ADMIN.CONTENT_BG_HELP
  420. whitelabel.color_scheme.colors.content-text:
  421. type: colorscheme.color
  422. default: '#737c81'
  423. help: PLUGIN_ADMIN.CONTENT_TEXT_HELP
  424. whitelabel.color_scheme.colors.content-link:
  425. type: colorscheme.color
  426. default: '#0082ba'
  427. help: PLUGIN_ADMIN.CONTENT_LINK_HELP
  428. whitelabel.color_scheme.colors.content-link2:
  429. type: colorscheme.color
  430. default: '#da4b46'
  431. help: PLUGIN_ADMIN.CONTENT_LINK2_HELP
  432. whitelabel.color_scheme.colors.content-header:
  433. type: colorscheme.color
  434. default: '#314d5b'
  435. help: PLUGIN_ADMIN.CONTENT_HEADER_HELP
  436. whitelabel.color_scheme.colors.content-tabs-bg:
  437. type: colorscheme.color
  438. default: '#223a47'
  439. help: PLUGIN_ADMIN.CONTENT_TABS_BG_HELP
  440. whitelabel.color_scheme.colors.content-tabs-text:
  441. type: colorscheme.color
  442. default: '#d1dee7'
  443. help: PLUGIN_ADMIN.CONTENT_TABS_TEXT_HELP
  444. whitelabel.color_scheme.colors.content-highlight:
  445. type: colorscheme.color
  446. default: '#ffffd7'
  447. help: PLUGIN_ADMIN.CONTENT_HIGHLIGHT_HELP
  448. whitelabel.color_scheme.colors.button-bg:
  449. type: colorscheme.color
  450. default: '#41bea8'
  451. help: PLUGIN_ADMIN.BUTTON_BG_HELP
  452. whitelabel.color_scheme.colors.button-text:
  453. type: colorscheme.color
  454. default: '#ffffff'
  455. help: PLUGIN_ADMIN.BUTTON_TEXT_HELP
  456. whitelabel.color_scheme.colors.notice-bg:
  457. type: colorscheme.color
  458. default: '#00a6cf'
  459. help: PLUGIN_ADMIN.NOTICE_BG_HELP
  460. whitelabel.color_scheme.colors.notice-text:
  461. type: colorscheme.color
  462. default: '#ffffff'
  463. help: PLUGIN_ADMIN.NOTICE_TEXT_HELP
  464. whitelabel.color_scheme.colors.update-bg:
  465. type: colorscheme.color
  466. default: '#8f5aad'
  467. help: PLUGIN_ADMIN.UPDATES_BG_HELP
  468. whitelabel.color_scheme.colors.update-text:
  469. type: colorscheme.color
  470. default: '#ffffff'
  471. help: PLUGIN_ADMIN.UPDATES_TEXT_HELP
  472. whitelabel.color_scheme.colors.critical-bg:
  473. type: colorscheme.color
  474. default: '#da4b46'
  475. help: PLUGIN_ADMIN.CRITICAL_BG_HELP
  476. whitelabel.color_scheme.colors.critical-text:
  477. type: colorscheme.color
  478. default: '#ffffff'
  479. help: PLUGIN_ADMIN.CRITICAL_TEXT_HELP
  480. whitelabel.color_scheme.accents.primary-accent:
  481. type: select
  482. size: meidum
  483. classes: fancy
  484. label: PLUGIN_ADMIN.PRIMARY_ACCENT_LABEL
  485. help: PLUGIN_ADMIN.PRIMARY_ACCENT_HELP
  486. options:
  487. button: PLUGIN_ADMIN.BUTTON_COLORS
  488. content: PLUGIN_ADMIN.CONTENT_COLORS
  489. tabs: PLUGIN_ADMIN.TABS_COLORS
  490. critical: PLUGIN_ADMIN.CRITICAL_COLORS
  491. logo: PLUGIN_ADMIN.LOGO_COLORS
  492. nav: PLUGIN_ADMIN.NAV_COLORS
  493. notice: PLUGIN_ADMIN.NOTICE_COLORS
  494. page: PLUGIN_ADMIN.PAGE_COLORS
  495. toolbar: PLUGIN_ADMIN.TOOLBAR_COLORS
  496. update: PLUGIN_ADMIN.UPDATE_COLORS
  497. whitelabel.color_scheme.accents.secondary-accent:
  498. type: select
  499. size: meidum
  500. classes: fancy
  501. label: PLUGIN_ADMIN.SECONDARY_ACCENT_LABEL
  502. help: PLUGIN_ADMIN.SECONDARY_ACCENT_HELP
  503. options:
  504. button: PLUGIN_ADMIN.BUTTON_COLORS
  505. content: PLUGIN_ADMIN.CONTENT_COLORS
  506. tabs: PLUGIN_ADMIN.TABS_COLORS
  507. critical: PLUGIN_ADMIN.CRITICAL_COLORS
  508. logo: PLUGIN_ADMIN.LOGO_COLORS
  509. nav: PLUGIN_ADMIN.NAV_COLORS
  510. notice: PLUGIN_ADMIN.NOTICE_COLORS
  511. page: PLUGIN_ADMIN.PAGE_COLORS
  512. toolbar: PLUGIN_ADMIN.TOOLBAR_COLORS
  513. update: PLUGIN_ADMIN.UPDATE_COLORS
  514. whitelabel.color_scheme.accents.tertiary-accent:
  515. type: select
  516. size: meidum
  517. classes: fancy
  518. label: PLUGIN_ADMIN.TERTIARY_ACCENT_LABEL
  519. help: PLUGIN_ADMIN.TERTIARY_ACCENT_HELP
  520. options:
  521. button: PLUGIN_ADMIN.BUTTON_COLORS
  522. content: PLUGIN_ADMIN.CONTENT_COLORS
  523. tabs: PLUGIN_ADMIN.TABS_COLORS
  524. critical: PLUGIN_ADMIN.CRITICAL_COLORS
  525. logo: PLUGIN_ADMIN.LOGO_COLORS
  526. nav: PLUGIN_ADMIN.NAV_COLORS
  527. notice: PLUGIN_ADMIN.NOTICE_COLORS
  528. page: PLUGIN_ADMIN.PAGE_COLORS
  529. toolbar: PLUGIN_ADMIN.TOOLBAR_COLORS
  530. update: PLUGIN_ADMIN.UPDATE_COLORS
  531. whitelabel.custom_footer:
  532. type: textarea
  533. rows: 2
  534. label: PLUGIN_ADMIN.CUSTOM_FOOTER
  535. help: PLUGIN_ADMIN.CUSTOM_FOOTER_HELP
  536. placeholder: PLUGIN_ADMIN.CUSTOM_FOOTER_PLACEHOLDER
  537. whitelabel.custom_css:
  538. label: PLUGIN_ADMIN.CUSTOM_CSS_LABEL
  539. placeholder: PLUGIN_ADMIN.CUSTOM_CSS_PLACEHOLDER
  540. help: PLUGIN_ADMIN.CUSTOM_CSS_HELP
  541. type: editor
  542. codemirror:
  543. mode: 'css'
  544. indentUnit: 2
  545. autofocus: true
  546. indentWithTabs: true
  547. lineNumbers: true
  548. styleActiveLine: true
  549. whitelabel.custom_presets:
  550. label: PLUGIN_ADMIN.CUSTOM_PRESETS
  551. help: PLUGIN_ADMIN.CUSTOM_PRESETS_HELP
  552. placeholder: PLUGIN_ADMIN.CUSTOM_PRESETS_PLACEHOLDER
  553. type: editor
  554. codemirror:
  555. mode: 'yaml'
  556. indentUnit: 2
  557. autofocus: true
  558. indentWithTabs: false
  559. lineNumbers: true
  560. styleActiveLine: true
  561. gutters: ['CodeMirror-lint-markers']
  562. lint: true
  563. extras_tab:
  564. type: tab
  565. title: PLUGIN_ADMIN.EXTRAS
  566. fields:
  567. Popularity:
  568. type: section
  569. title: PLUGIN_ADMIN.POPULARITY
  570. underline: true
  571. popularity.enabled:
  572. type: toggle
  573. label: PLUGIN_ADMIN.VISITOR_TRACKING
  574. highlight: 1
  575. default: 1
  576. options:
  577. 1: PLUGIN_ADMIN.ENABLED
  578. 0: PLUGIN_ADMIN.DISABLED
  579. validate:
  580. type: bool
  581. help: PLUGIN_ADMIN.VISITOR_TRACKING_HELP
  582. dashboard.days_of_stats:
  583. type: text
  584. label: PLUGIN_ADMIN.DAYS_OF_STATS
  585. append: days
  586. size: x-small
  587. default: 7
  588. help: PLUGIN_ADMIN.DAYS_OF_STATS_HELP
  589. validate:
  590. type: int
  591. popularity.ignore:
  592. type: array
  593. label: PLUGIN_ADMIN.IGNORE_URLS
  594. size: large
  595. help: PLUGIN_ADMIN.IGNORE_URLS_HELP
  596. default: ['/test*','/modular']
  597. value_only: true
  598. placeholder_value: /ignore-this-route
  599. popularity.history.daily:
  600. type: hidden
  601. label: PLUGIN_ADMIN.DAILY_HISTORY
  602. default: 30
  603. popularity.history.monthly:
  604. type: hidden
  605. label: PLUGIN_ADMIN.MONTHLY_HISTORY
  606. default: 12
  607. popularity.history.visitors:
  608. type: hidden
  609. label: PLUGIN_ADMIN.VISITORS_HISTORY
  610. default: 20
  611. MediaResize:
  612. type: section
  613. title: PLUGIN_ADMIN.MEDIA_RESIZE
  614. underline: true
  615. MediaResizeNote:
  616. type: spacer
  617. text: PLUGIN_ADMIN.PAGEMEDIA_RESIZER
  618. markdown: true
  619. pagemedia.resize_width:
  620. type: number
  621. size: x-small
  622. append: PLUGIN_ADMIN.PIXELS
  623. label: PLUGIN_ADMIN.RESIZE_WIDTH
  624. default: 0
  625. validate:
  626. type: number
  627. help: PLUGIN_ADMIN.RESIZE_WIDTH_HELP
  628. pagemedia.resize_height:
  629. type: number
  630. size: x-small
  631. append: PLUGIN_ADMIN.PIXELS
  632. label: PLUGIN_ADMIN.RESIZE_HEIGHT
  633. default: 0
  634. validate:
  635. type: number
  636. help: PLUGIN_ADMIN.RESIZE_HEIGHT_HELP
  637. pagemedia.res_min_width:
  638. type: number
  639. size: x-small
  640. append: PLUGIN_ADMIN.PIXELS
  641. label: PLUGIN_ADMIN.RES_MIN_WIDTH
  642. default: 0
  643. validate:
  644. type: number
  645. help: PLUGIN_ADMIN.RES_MIN_WIDTH_HELP
  646. pagemedia.res_min_height:
  647. type: number
  648. size: x-small
  649. append: PLUGIN_ADMIN.PIXELS
  650. label: PLUGIN_ADMIN.RES_MIN_HEIGHT
  651. default: 0
  652. validate:
  653. type: number
  654. help: PLUGIN_ADMIN.RES_MIN_HEIGHT_HELP
  655. pagemedia.res_max_width:
  656. type: number
  657. size: x-small
  658. append: PLUGIN_ADMIN.PIXELS
  659. label: PLUGIN_ADMIN.RES_MAX_WIDTH
  660. default: 0
  661. validate:
  662. type: number
  663. help: PLUGIN_ADMIN.RES_MAX_WIDTH_HELP
  664. pagemedia.res_max_height:
  665. type: number
  666. size: x-small
  667. append: PLUGIN_ADMIN.PIXELS
  668. label: PLUGIN_ADMIN.RES_MAX_HEIGHT
  669. default: 0
  670. validate:
  671. type: number
  672. help: PLUGIN_ADMIN.RES_MAX_HEIGHT_HELP
  673. pagemedia.resize_quality:
  674. type: number
  675. size: x-small
  676. append: 0...1
  677. label: PLUGIN_ADMIN.RESIZE_QUALITY
  678. default: 0.8
  679. validate:
  680. type: number
  681. step: 0.01
  682. help: PLUGIN_ADMIN.RESIZE_QUALITY_HELP