123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787 |
- name: Admin Panel
- slug: admin
- type: plugin
- version: 1.10.25
- description: Adds an advanced administration panel to manage your site
- icon: empire
- author:
- name: Team Grav
- email: devs@getgrav.org
- url: http://getgrav.org
- homepage: https://github.com/getgrav/grav-plugin-admin
- keywords: admin, plugin, manager, panel
- bugs: https://github.com/getgrav/grav-plugin-admin/issues
- docs: https://github.com/getgrav/grav-plugin-admin/blob/develop/README.md
- license: MIT
- dependencies:
- - { name: grav, version: '>=1.7.24' }
- - { name: form, version: '>=5.1.0' }
- - { name: login, version: '>=3.5.0' }
- - { name: email, version: '>=3.1.0' }
- - { name: flex-objects, version: '>=1.1.0' }
- form:
- validation: loose
- fields:
- admin_tabs:
- type: tabs
- fields:
- config_tab:
- type: tab
- title: PLUGIN_ADMIN.CONFIGURATION
- fields:
- Basics:
- type: section
- title: PLUGIN_ADMIN.BASICS
- underline: false
- enabled:
- type: hidden
- label: PLUGIN_ADMIN.PLUGIN_STATUS
- highlight: 1
- default: 0
- options:
- 1: PLUGIN_ADMIN.ENABLED
- 0: PLUGIN_ADMIN.DISABLED
- validate:
- type: bool
- cache_enabled:
- type: toggle
- label: PLUGIN_ADMIN.ADMIN_CACHING
- help: PLUGIN_ADMIN.ADMIN_CACHING_HELP
- highlight: 1
- options:
- 1: PLUGIN_ADMIN.YES
- 0: PLUGIN_ADMIN.NO
- validate:
- type: bool
- twofa_enabled:
- type: toggle
- label: PLUGIN_LOGIN.2FA_TITLE
- help: PLUGIN_LOGIN.2FA_ENABLED_HELP
- default: 1
- highlight: 1
- options:
- 1: PLUGIN_ADMIN.YES
- 0: PLUGIN_ADMIN.NO
- validate:
- type: bool
- route:
- type: text
- label: PLUGIN_ADMIN.ADMIN_PATH
- size: medium
- placeholder: ADMIN_PATH_PLACEHOLDER
- help: ADMIN_PATH_HELP
- logo_text:
- type: text
- label: PLUGIN_ADMIN.LOGO_TEXT
- size: medium
- placeholder: "Grav"
- help: PLUGIN_ADMIN.LOGO_TEXT_HELP
- content_padding:
- type: toggle
- label: PLUGIN_ADMIN.CONTENT_PADDING
- help: PLUGIN_ADMIN.CONTENT_PADDING_HELP
- highlight: 1
- options:
- 1: PLUGIN_ADMIN.YES
- 0: PLUGIN_ADMIN.NO
- validate:
- type: bool
- body_classes:
- type: text
- label: PLUGIN_ADMIN.BODY_CLASSES
- size: medium
- help: PLUGIN_ADMIN.BODY_CLASSES_HELP
- sidebar.activate:
- type: select
- label: PLUGIN_ADMIN.SIDEBAR_ACTIVATION
- help: PLUGIN_ADMIN.SIDEBAR_ACTIVATION_HELP
- size: small
- default: tab
- options:
- tab: PLUGIN_ADMIN.SIDEBAR_ACTIVATION_TAB
- hover: PLUGIN_ADMIN.SIDEBAR_ACTIVATION_HOVER
- sidebar.hover_delay:
- type: text
- size: x-small
- append: PLUGIN_ADMIN.SIDEBAR_HOVER_DELAY_APPEND
- label: PLUGIN_ADMIN.SIDEBAR_HOVER_DELAY
- default: 500
- validate:
- type: number
- min: 1
- sidebar.size:
- type: select
- label: PLUGIN_ADMIN.SIDEBAR_SIZE
- help: PLUGIN_ADMIN.SIDEBAR_SIZE_HELP
- size: medium
- default: auto
- options:
- auto: PLUGIN_ADMIN.SIDEBAR_SIZE_AUTO
- small: PLUGIN_ADMIN.SIDEBAR_SIZE_SMALL
- theme:
- type: hidden
- label: PLUGIN_ADMIN.THEME
- default: grav
- edit_mode:
- type: select
- label: PLUGIN_ADMIN.EDIT_MODE
- size: small
- default: normal
- options:
- normal: PLUGIN_ADMIN.NORMAL
- expert: PLUGIN_ADMIN.EXPERT
- help: PLUGIN_ADMIN.EDIT_MODE_HELP
- frontend_preview_target:
- type: select
- label: PLUGIN_ADMIN.FRONTEND_PREVIEW_TARGET
- size: medium
- default: inline
- options:
- inline: PLUGIN_ADMIN.FRONTEND_PREVIEW_TARGET_INLINE
- _blank: PLUGIN_ADMIN.FRONTEND_PREVIEW_TARGET_NEW
- _self: PLUGIN_ADMIN.FRONTEND_PREVIEW_TARGET_CURRENT
- pages.show_parents:
- type: select
- size: medium
- label: PLUGIN_ADMIN.PARENT_DROPDOWN
- highlight: 1
- options:
- both: PLUGIN_ADMIN.PARENT_DROPDOWN_BOTH
- folder: PLUGIN_ADMIN.PARENT_DROPDOWN_FOLDER
- fullpath: PLUGIN_ADMIN.PARENT_DROPDOWN_FULLPATH
- pages.parents_levels:
- type: text
- label: PLUGIN_ADMIN.PARENTS_LEVELS
- size: small
- help: PLUGIN_ADMIN.PARENTS_LEVELS_HELP
- pages.show_modular:
- type: toggle
- label: PLUGIN_ADMIN.MODULAR_PARENTS
- highlight: 1
- default: 1
- options:
- 1: PLUGIN_ADMIN.ENABLED
- 0: PLUGIN_ADMIN.DISABLED
- validate:
- type: bool
- help: PLUGIN_ADMIN.MODULAR_PARENTS_HELP
- show_beta_msg:
- type: hidden
- show_github_msg:
- type: toggle
- label: PLUGIN_ADMIN.SHOW_GITHUB_LINK
- highlight: 1
- default: 1
- options:
- 1: PLUGIN_ADMIN.ENABLED
- 0: PLUGIN_ADMIN.DISABLED
- validate:
- type: bool
- help: PLUGIN_ADMIN.SHOW_GITHUB_LINK_HELP
- pages_list_display_field:
- type: text
- size: small
- label: PLUGIN_ADMIN.PAGES_LIST_DISPLAY_FIELD
- help: PLUGIN_ADMIN.PAGES_LIST_DISPLAY_FIELD_HELP
- enable_auto_updates_check:
- type: toggle
- label: PLUGIN_ADMIN.AUTO_UPDATES
- highlight: 1
- default: 1
- options:
- 1: PLUGIN_ADMIN.ENABLED
- 0: PLUGIN_ADMIN.DISABLED
- validate:
- type: bool
- help: PLUGIN_ADMIN.AUTO_UPDATES_HELP
- session.timeout:
- type: text
- size: small
- label: PLUGIN_ADMIN.TIMEOUT
- append: GRAV.NICETIME.SECOND_PLURAL
- help: PLUGIN_ADMIN.TIMEOUT_HELP
- validate:
- type: number
- min: 1
- hide_page_types:
- type: select
- size: large
- label: PLUGIN_ADMIN.HIDE_PAGE_TYPES
- classes: fancy
- multiple: true
- array: true
- selectize:
- create: true
- data-options@: ['\Grav\Plugin\AdminPlugin::pagesTypes', true]
- hide_modular_page_types:
- type: select
- size: large
- label: PLUGIN_ADMIN.HIDE_MODULAR_PAGE_TYPES
- classes: fancy
- multiple: true
- array: true
- selectize:
- create: true
- data-options@: ['\Grav\Plugin\AdminPlugin::pagesModularTypes', true]
- Dashboard:
- type: section
- title: PLUGIN_ADMIN.DASHBOARD
- underline: true
- widgets_display:
- type: widgets
- label: PLUGIN_ADMIN.WIDGETS_DISPLAY
- validate:
- type: array
- Notifications:
- type: section
- title: PLUGIN_ADMIN.NOTIFICATIONS
- underline: true
- notifications.feed:
- type: toggle
- label: PLUGIN_ADMIN.FEED_NOTIFICATIONS
- highlight: 1
- default: 1
- options:
- 1: PLUGIN_ADMIN.ENABLED
- 0: PLUGIN_ADMIN.DISABLED
- validate:
- type: bool
- help: PLUGIN_ADMIN.FEED_NOTIFICATIONS_HELP
- notifications.dashboard:
- type: toggle
- label: PLUGIN_ADMIN.DASHBOARD_NOTIFICATIONS
- highlight: 1
- default: 1
- options:
- 1: PLUGIN_ADMIN.ENABLED
- 0: PLUGIN_ADMIN.DISABLED
- validate:
- type: bool
- help: PLUGIN_ADMIN.DASHBOARD_NOTIFICATIONS_HELP
- notifications.plugins:
- type: toggle
- label: PLUGIN_ADMIN.PLUGINS_NOTIFICATIONS
- highlight: 1
- default: 1
- options:
- 1: PLUGIN_ADMIN.ENABLED
- 0: PLUGIN_ADMIN.DISABLED
- validate:
- type: bool
- help: PLUGIN_ADMIN.PLUGINS_NOTIFICATIONS_HELP
- notifications.themes:
- type: toggle
- label: PLUGIN_ADMIN.THEMES_NOTIFICATIONS
- highlight: 1
- default: 1
- options:
- 1: PLUGIN_ADMIN.ENABLED
- 0: PLUGIN_ADMIN.DISABLED
- validate:
- type: bool
- help: PLUGIN_ADMIN.THEMES_NOTIFICATIONS_HELP
- customization_tab:
- type: tab
- title: PLUGIN_ADMIN.CUSTOMIZATION
- fields:
- whitelabel.logos:
- type: section
- underline: true
- title: PLUGIN_ADMIN.LOGOS
- whitelabel.logo_login:
- type: file
- label: PLUGIN_ADMIN.LOGIN_SCREEN_CUSTOM_LOGO_LABEL
- destination: 'user://assets'
- accept:
- - image/*
- whitelabel.logo_custom:
- type: file
- label: PLUGIN_ADMIN.TOP_LEFT_CUSTOM_LOGO_LABEL
- destination: 'user://assets'
- accept:
- - image/*
- codemirror_section:
- type: section
- underline: true
- title: PLUGIN_ADMIN.CODEMIRROR
- whitelabel.codemirror_theme:
- type: select
- label: PLUGIN_ADMIN.CODEMIRROR_THEME
- default: paper
- markdown: true
- data-options@: '\Grav\Plugin\AdminPlugin::themeOptions'
- description: PLUGIN_ADMIN.CODEMIRROR_THEME_DESC
- whitelabel.codemirror_fontsize:
- type: select
- label: PLUGIN_ADMIN.CODEMIRROR_FONTSIZE
- default: md
- options:
- sm: PLUGIN_ADMIN.CODEMIRROR_FONTSIZE_SM
- md: PLUGIN_ADMIN.CODEMIRROR_FONTSIZE_MD
- lg: PLUGIN_ADMIN.CODEMIRROR_FONTSIZE_LG
- whitelabel.codemirror_md_font:
- type: select
- label: PLUGIN_ADMIN.CODEMIRROR_MD_FONT
- default: sans
- options:
- sans: PLUGIN_ADMIN.CODEMIRROR_MD_FONT_SANS
- mono: PLUGIN_ADMIN.CODEMIRROR_MD_FONT_MONO
- customization_section:
- type: section
- underline: true
- title: PLUGIN_ADMIN.CUSTOMIZATION
- whitelabel.quicktray_recompile:
- type: toggle
- label: PLUGIN_ADMIN.QUICKTRAY_RECOMPILE
- help: PLUGIN_ADMIN.QUICKTRAY_RECOMPILE_HELP
- highlight: 0
- default: 0
- options:
- 1: PLUGIN_ADMIN.ENABLED
- 0: PLUGIN_ADMIN.DISABLED
- validate:
- type: bool
- whitelabel.color_scheme.name:
- type: text
- label: PLUGIN_ADMIN.COLOR_SCHEME_NAME
- help: PLUGIN_ADMIN.COLOR_SCHEME_NAME_HELP
- placeholder: PLUGIN_ADMIN.COLOR_SCHEME_NAME_PLACEHOLDER
- themes-preview:
- type: themepreview
- ignore: true;
- label: PLUGIN_ADMIN.PRESETS
- style: vertical
- colorschemes:
- type: colorscheme
- label: PLUGIN_ADMIN.COLOR_SCHEME_LABEL
- style: vertical
- help: PLUGIN_ADMIN.COLOR_SCHEME_HELP
- fields:
- whitelabel.color_scheme.colors.logo-bg:
- type: colorscheme.color
- default: '#1e333e'
- help: PLUGIN_ADMIN.LOGO_BG_HELP
- whitelabel.color_scheme.colors.logo-link:
- type: colorscheme.color
- default: '#ffffff'
- help: PLUGIN_ADMIN.LOGO_LINK_HELP
- whitelabel.color_scheme.colors.nav-bg:
- type: colorscheme.color
- default: '#253a47'
- help: PLUGIN_ADMIN.NAV_BG_HELP
- whitelabel.color_scheme.colors.nav-text:
- type: colorscheme.color
- default: '#afc7d5'
- help: PLUGIN_ADMIN.NAV_TEXT_HELP
- whitelabel.color_scheme.colors.nav-link:
- type: colorscheme.color
- default: '#d1dee7'
- help: PLUGIN_ADMIN.NAV_LINK_HELP
- whitelabel.color_scheme.colors.nav-selected-bg:
- type: colorscheme.color
- default: '#2d4d5b'
- help: PLUGIN_ADMIN.NAV_SELECTED_BG_HELP
- whitelabel.color_scheme.colors.nav-selected-link:
- type: colorscheme.color
- default: '#ffffff'
- help: PLUGIN_ADMIN.NAV_SELECTED_LINK_HELP
- whitelabel.color_scheme.colors.nav-hover-bg:
- type: colorscheme.color
- default: '#1e333e'
- help: PLUGIN_ADMIN.NAV_HOVER_BG_HELP
- whitelabel.color_scheme.colors.nav-hover-link:
- type: colorscheme.color
- default: '#ffffff'
- help: PLUGIN_ADMIN.NAV_HOVER_LINK_HELP
- whitelabel.color_scheme.colors.toolbar-bg:
- type: colorscheme.color
- default: '#349886'
- help: PLUGIN_ADMIN.TOOLBAR_BG_HELP
- whitelabel.color_scheme.colors.toolbar-text:
- type: colorscheme.color
- default: '#ffffff'
- help: PLUGIN_ADMIN.TOOLBAR_TEXT_HELP
- whitelabel.color_scheme.colors.page-bg:
- type: colorscheme.color
- default: '#314d5b'
- help: PLUGIN_ADMIN.PAGE_BG_HELP
- whitelabel.color_scheme.colors.page-text:
- type: colorscheme.color
- default: '#81a5b5'
- help: PLUGIN_ADMIN.PAGE_TEXT_HELP
- whitelabel.color_scheme.colors.page-link:
- type: colorscheme.color
- default: '#aad9ed'
- help: PLUGIN_ADMIN.PAGE_LINK_HELP
- whitelabel.color_scheme.colors.content-bg:
- type: colorscheme.color
- default: '#eeeeee'
- help: PLUGIN_ADMIN.CONTENT_BG_HELP
- whitelabel.color_scheme.colors.content-text:
- type: colorscheme.color
- default: '#737c81'
- help: PLUGIN_ADMIN.CONTENT_TEXT_HELP
- whitelabel.color_scheme.colors.content-link:
- type: colorscheme.color
- default: '#0082ba'
- help: PLUGIN_ADMIN.CONTENT_LINK_HELP
- whitelabel.color_scheme.colors.content-link2:
- type: colorscheme.color
- default: '#da4b46'
- help: PLUGIN_ADMIN.CONTENT_LINK2_HELP
- whitelabel.color_scheme.colors.content-header:
- type: colorscheme.color
- default: '#314d5b'
- help: PLUGIN_ADMIN.CONTENT_HEADER_HELP
- whitelabel.color_scheme.colors.content-tabs-bg:
- type: colorscheme.color
- default: '#223a47'
- help: PLUGIN_ADMIN.CONTENT_TABS_BG_HELP
- whitelabel.color_scheme.colors.content-tabs-text:
- type: colorscheme.color
- default: '#d1dee7'
- help: PLUGIN_ADMIN.CONTENT_TABS_TEXT_HELP
- whitelabel.color_scheme.colors.content-highlight:
- type: colorscheme.color
- default: '#ffffd7'
- help: PLUGIN_ADMIN.CONTENT_HIGHLIGHT_HELP
- whitelabel.color_scheme.colors.button-bg:
- type: colorscheme.color
- default: '#41bea8'
- help: PLUGIN_ADMIN.BUTTON_BG_HELP
- whitelabel.color_scheme.colors.button-text:
- type: colorscheme.color
- default: '#ffffff'
- help: PLUGIN_ADMIN.BUTTON_TEXT_HELP
- whitelabel.color_scheme.colors.notice-bg:
- type: colorscheme.color
- default: '#00a6cf'
- help: PLUGIN_ADMIN.NOTICE_BG_HELP
- whitelabel.color_scheme.colors.notice-text:
- type: colorscheme.color
- default: '#ffffff'
- help: PLUGIN_ADMIN.NOTICE_TEXT_HELP
- whitelabel.color_scheme.colors.update-bg:
- type: colorscheme.color
- default: '#8f5aad'
- help: PLUGIN_ADMIN.UPDATES_BG_HELP
- whitelabel.color_scheme.colors.update-text:
- type: colorscheme.color
- default: '#ffffff'
- help: PLUGIN_ADMIN.UPDATES_TEXT_HELP
- whitelabel.color_scheme.colors.critical-bg:
- type: colorscheme.color
- default: '#da4b46'
- help: PLUGIN_ADMIN.CRITICAL_BG_HELP
- whitelabel.color_scheme.colors.critical-text:
- type: colorscheme.color
- default: '#ffffff'
- help: PLUGIN_ADMIN.CRITICAL_TEXT_HELP
- whitelabel.color_scheme.accents.primary-accent:
- type: select
- size: meidum
- classes: fancy
- label: PLUGIN_ADMIN.PRIMARY_ACCENT_LABEL
- help: PLUGIN_ADMIN.PRIMARY_ACCENT_HELP
- options:
- button: PLUGIN_ADMIN.BUTTON_COLORS
- content: PLUGIN_ADMIN.CONTENT_COLORS
- tabs: PLUGIN_ADMIN.TABS_COLORS
- critical: PLUGIN_ADMIN.CRITICAL_COLORS
- logo: PLUGIN_ADMIN.LOGO_COLORS
- nav: PLUGIN_ADMIN.NAV_COLORS
- notice: PLUGIN_ADMIN.NOTICE_COLORS
- page: PLUGIN_ADMIN.PAGE_COLORS
- toolbar: PLUGIN_ADMIN.TOOLBAR_COLORS
- update: PLUGIN_ADMIN.UPDATE_COLORS
- whitelabel.color_scheme.accents.secondary-accent:
- type: select
- size: meidum
- classes: fancy
- label: PLUGIN_ADMIN.SECONDARY_ACCENT_LABEL
- help: PLUGIN_ADMIN.SECONDARY_ACCENT_HELP
- options:
- button: PLUGIN_ADMIN.BUTTON_COLORS
- content: PLUGIN_ADMIN.CONTENT_COLORS
- tabs: PLUGIN_ADMIN.TABS_COLORS
- critical: PLUGIN_ADMIN.CRITICAL_COLORS
- logo: PLUGIN_ADMIN.LOGO_COLORS
- nav: PLUGIN_ADMIN.NAV_COLORS
- notice: PLUGIN_ADMIN.NOTICE_COLORS
- page: PLUGIN_ADMIN.PAGE_COLORS
- toolbar: PLUGIN_ADMIN.TOOLBAR_COLORS
- update: PLUGIN_ADMIN.UPDATE_COLORS
- whitelabel.color_scheme.accents.tertiary-accent:
- type: select
- size: meidum
- classes: fancy
- label: PLUGIN_ADMIN.TERTIARY_ACCENT_LABEL
- help: PLUGIN_ADMIN.TERTIARY_ACCENT_HELP
- options:
- button: PLUGIN_ADMIN.BUTTON_COLORS
- content: PLUGIN_ADMIN.CONTENT_COLORS
- tabs: PLUGIN_ADMIN.TABS_COLORS
- critical: PLUGIN_ADMIN.CRITICAL_COLORS
- logo: PLUGIN_ADMIN.LOGO_COLORS
- nav: PLUGIN_ADMIN.NAV_COLORS
- notice: PLUGIN_ADMIN.NOTICE_COLORS
- page: PLUGIN_ADMIN.PAGE_COLORS
- toolbar: PLUGIN_ADMIN.TOOLBAR_COLORS
- update: PLUGIN_ADMIN.UPDATE_COLORS
- whitelabel.custom_footer:
- type: textarea
- rows: 2
- label: PLUGIN_ADMIN.CUSTOM_FOOTER
- help: PLUGIN_ADMIN.CUSTOM_FOOTER_HELP
- placeholder: PLUGIN_ADMIN.CUSTOM_FOOTER_PLACEHOLDER
- whitelabel.custom_css:
- label: PLUGIN_ADMIN.CUSTOM_CSS_LABEL
- placeholder: PLUGIN_ADMIN.CUSTOM_CSS_PLACEHOLDER
- help: PLUGIN_ADMIN.CUSTOM_CSS_HELP
- type: editor
- codemirror:
- mode: 'css'
- indentUnit: 2
- autofocus: true
- indentWithTabs: true
- lineNumbers: true
- styleActiveLine: true
- whitelabel.custom_presets:
- label: PLUGIN_ADMIN.CUSTOM_PRESETS
- help: PLUGIN_ADMIN.CUSTOM_PRESETS_HELP
- placeholder: PLUGIN_ADMIN.CUSTOM_PRESETS_PLACEHOLDER
- type: editor
- codemirror:
- mode: 'yaml'
- indentUnit: 2
- autofocus: true
- indentWithTabs: false
- lineNumbers: true
- styleActiveLine: true
- gutters: ['CodeMirror-lint-markers']
- lint: true
- extras_tab:
- type: tab
- title: PLUGIN_ADMIN.EXTRAS
- fields:
- Popularity:
- type: section
- title: PLUGIN_ADMIN.POPULARITY
- underline: true
- popularity.enabled:
- type: toggle
- label: PLUGIN_ADMIN.VISITOR_TRACKING
- highlight: 1
- default: 1
- options:
- 1: PLUGIN_ADMIN.ENABLED
- 0: PLUGIN_ADMIN.DISABLED
- validate:
- type: bool
- help: PLUGIN_ADMIN.VISITOR_TRACKING_HELP
- dashboard.days_of_stats:
- type: text
- label: PLUGIN_ADMIN.DAYS_OF_STATS
- append: days
- size: x-small
- default: 7
- help: PLUGIN_ADMIN.DAYS_OF_STATS_HELP
- validate:
- type: int
- popularity.ignore:
- type: array
- label: PLUGIN_ADMIN.IGNORE_URLS
- size: large
- help: PLUGIN_ADMIN.IGNORE_URLS_HELP
- default: ['/test*','/modular']
- value_only: true
- placeholder_value: /ignore-this-route
- popularity.history.daily:
- type: hidden
- label: PLUGIN_ADMIN.DAILY_HISTORY
- default: 30
- popularity.history.monthly:
- type: hidden
- label: PLUGIN_ADMIN.MONTHLY_HISTORY
- default: 12
- popularity.history.visitors:
- type: hidden
- label: PLUGIN_ADMIN.VISITORS_HISTORY
- default: 20
- MediaResize:
- type: section
- title: PLUGIN_ADMIN.MEDIA_RESIZE
- underline: true
- MediaResizeNote:
- type: spacer
- text: PLUGIN_ADMIN.PAGEMEDIA_RESIZER
- markdown: true
- pagemedia.resize_width:
- type: number
- size: x-small
- append: PLUGIN_ADMIN.PIXELS
- label: PLUGIN_ADMIN.RESIZE_WIDTH
- default: 0
- validate:
- type: number
- help: PLUGIN_ADMIN.RESIZE_WIDTH_HELP
- pagemedia.resize_height:
- type: number
- size: x-small
- append: PLUGIN_ADMIN.PIXELS
- label: PLUGIN_ADMIN.RESIZE_HEIGHT
- default: 0
- validate:
- type: number
- help: PLUGIN_ADMIN.RESIZE_HEIGHT_HELP
- pagemedia.res_min_width:
- type: number
- size: x-small
- append: PLUGIN_ADMIN.PIXELS
- label: PLUGIN_ADMIN.RES_MIN_WIDTH
- default: 0
- validate:
- type: number
- help: PLUGIN_ADMIN.RES_MIN_WIDTH_HELP
- pagemedia.res_min_height:
- type: number
- size: x-small
- append: PLUGIN_ADMIN.PIXELS
- label: PLUGIN_ADMIN.RES_MIN_HEIGHT
- default: 0
- validate:
- type: number
- help: PLUGIN_ADMIN.RES_MIN_HEIGHT_HELP
- pagemedia.res_max_width:
- type: number
- size: x-small
- append: PLUGIN_ADMIN.PIXELS
- label: PLUGIN_ADMIN.RES_MAX_WIDTH
- default: 0
- validate:
- type: number
- help: PLUGIN_ADMIN.RES_MAX_WIDTH_HELP
- pagemedia.res_max_height:
- type: number
- size: x-small
- append: PLUGIN_ADMIN.PIXELS
- label: PLUGIN_ADMIN.RES_MAX_HEIGHT
- default: 0
- validate:
- type: number
- help: PLUGIN_ADMIN.RES_MAX_HEIGHT_HELP
- pagemedia.resize_quality:
- type: number
- size: x-small
- append: 0...1
- label: PLUGIN_ADMIN.RESIZE_QUALITY
- default: 0.8
- validate:
- type: number
- step: 0.01
- help: PLUGIN_ADMIN.RESIZE_QUALITY_HELP
|