Files
Grav-Admin-Plugin/blueprints.yaml

477 lines
11 KiB
YAML
Raw Normal View History

2015-08-04 12:53:03 -07:00
name: Admin Panel
2020-03-19 12:37:03 -06:00
version: 1.10.0-rc.8
2019-06-14 14:49:15 -06:00
testing: true
description: Adds an advanced administration panel to manage your site
2014-10-03 15:40:58 -06:00
icon: empire
author:
name: Team Grav
email: devs@getgrav.org
url: http://getgrav.org
2015-08-04 12:43:31 -06:00
homepage: https://github.com/getgrav/grav-plugin-admin
keywords: admin, plugin, manager, panel
2015-08-04 12:43:31 -06:00
bugs: https://github.com/getgrav/grav-plugin-admin/issues
2016-09-15 17:00:15 -07:00
docs: https://github.com/getgrav/grav-plugin-admin/blob/develop/README.md
2015-08-04 12:43:31 -06:00
license: MIT
2015-08-04 12:50:56 -06:00
dependencies:
2020-03-19 12:37:03 -06:00
- { name: grav, version: '>=1.7.0-rc.8' }
- { name: form, version: '>=4.0.6' }
- { name: login, version: '>=3.1.0' }
- { name: email, version: '>=3.0.7' }
- { name: flex-objects, version: '>=1.0.0-rc.8' }
2015-08-04 12:50:56 -06:00
2014-08-05 13:06:38 -07:00
form:
2015-08-02 21:41:00 -06:00
validation: loose
2014-08-05 13:06:38 -07:00
fields:
2015-07-31 15:05:27 -06:00
Basics:
type: section
title: Basics
underline: false
2015-07-31 17:22:17 +02:00
enabled:
type: hidden
label: PLUGIN_ADMIN.PLUGIN_STATUS
2015-08-02 21:41:00 -06:00
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
2015-08-02 21:41:00 -06:00
validate:
type: bool
2015-07-31 17:22:17 +02:00
cache_enabled:
type: toggle
label: PLUGIN_ADMIN.ADMIN_CACHING
help: PLUGIN_ADMIN.ADMIN_CACHING_HELP
2020-02-19 11:42:33 +02:00
highlight: 1
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
twofa_enabled:
type: toggle
2019-02-20 12:55:34 -07:00
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
2014-08-05 13:06:38 -07:00
route:
2015-07-31 17:22:17 +02:00
type: text
label: Administrator path
2015-08-02 21:41:00 -06:00
size: medium
2015-07-31 17:22:17 +02:00
placeholder: "Default route for administrator (relative to base)"
help: If you want to change the URL for the administrator, you can provide a path here
2016-03-01 18:19:52 -07:00
logo_text:
type: text
label: Logo text
size: medium
placeholder: "Grav"
help: Text to display in place of the default Grav logo
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
2016-05-05 17:22:50 -06:00
body_classes:
type: text
label: Body classes
size: medium
2016-05-09 05:44:17 -07:00
help: Add a space separated name of custom body classes
2016-05-05 17:22:50 -06:00
sidebar.activate:
2016-05-06 14:12:39 -06:00
type: select
label: Sidebar Activation
help: Control how the sidebar is activated
size: small
default: tab
options:
tab: Tab
hover: Hover
sidebar.hover_delay:
type: text
size: x-small
append: millseconds
label: Hover delay
default: 500
validate:
type: number
min: 1
2016-05-05 17:22:50 -06:00
sidebar.size:
type: select
label: Sidebar Size
help: Control the width of the sidebar
size: medium
default: auto
options:
2016-05-06 17:04:53 -06:00
auto: Automatic width
2016-05-05 17:22:50 -06:00
small: Small width
2015-07-31 17:22:17 +02:00
theme:
type: hidden
label: Theme
default: grav
2015-08-02 21:41:00 -06:00
edit_mode:
type: select
label: Edit mode
size: small
2015-08-06 22:25:35 -06:00
default: normal
2015-08-02 21:41:00 -06:00
options:
normal: Normal
expert: Expert
help: Auto will use blueprint if available, if none found, it will use "Expert" mode.
2015-07-31 17:22:17 +02:00
frontend_preview_target:
type: select
label: Preview pages target
size: medium
default: inline
options:
2018-03-27 19:30:25 -04:00
inline: Inline in Admin
_blank: New tab
_self: Current tab
pages.show_parents:
type: select
size: medium
label: Parent dropdown
highlight: 1
options:
both: Show slug and folder
folder: Show folder
fullpath: Show fullpath
pages.parents_levels:
type: text
label: Parents Levels
size: small
help: The number of levels to show in parent select list
2019-08-14 20:36:33 +03:00
pages.show_modular:
type: toggle
label: Modular parents
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
help: Show modular pages in the parent select list
2018-03-09 11:09:33 -07:00
google_fonts:
type: toggle
label: Use Google Fonts
2017-12-27 12:28:51 -07:00
highlight: 0
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
help: Use Google custom fonts. Disable this to use Helvetica. Useful when using Cyrillic and other languages with unsupported characters.
2015-08-04 10:13:14 -06:00
show_beta_msg:
type: hidden
show_github_msg:
2015-08-04 10:13:14 -06:00
type: toggle
label: Show GitHub Link
2015-08-04 10:13:14 -06:00
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
2015-08-04 10:13:14 -06:00
validate:
type: bool
help: Show the "Found an issue? Please report it on GitHub." message.
2015-08-04 10:13:14 -06:00
pages_list_display_field:
type: text
size: small
label: Pages List Display Field
help: "Field of the page to use in the list of pages if present. Defaults/Fallback to title."
enable_auto_updates_check:
type: toggle
label: Automatically check for updates
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
help: Shows an informative message, in the admin panel, when an update is available.
session.timeout:
type: text
size: small
label: Session Timeout
2016-06-01 16:08:48 -06:00
append: secs
help: "Sets the session timeout in seconds"
validate:
type: number
min: 1
2015-07-31 17:22:17 +02:00
warnings.delete_page:
type: toggle
label: Warn on page delete
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
2015-07-31 17:22:17 +02:00
validate:
type: bool
help: Ask the user confirmation when deleting a page
warnings.secure_delete:
type: toggle
label: Secure Delete
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
help: Shows the user a field to enter the word DELETE and enable the confirm delete button.
hide_page_types:
type: select
size: large
label: Hide page types in Admin
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: Hide modular page types in Admin
classes: fancy
multiple: true
array: true
selectize:
create: true
data-options@: ['\Grav\Plugin\AdminPlugin::pagesModularTypes', true]
MediaResize:
type: section
title: Page Media Image Resizer
underline: true
MediaResizeNote:
type: spacer
text: PLUGIN_ADMIN.PAGEMEDIA_RESIZER
markdown: true
pagemedia.resize_width:
type: number
size: x-small
append: pixels
label: Resize Width
default: 0
validate:
type: number
help: Resize wide images down to the set value
pagemedia.resize_height:
type: number
size: x-small
append: pixels
label: Resize Height
default: 0
validate:
type: number
help: Resize tall images down to the set value
pagemedia.res_min_width:
type: number
size: x-small
append: pixels
label: Resolution Min Width
default: 0
validate:
type: number
help: The minimum width allowed for an image to be added
pagemedia.res_min_height:
type: number
size: x-small
append: pixels
label: Resolution Min Height
default: 0
validate:
type: number
help: The minimum height allowed for an image to be added
pagemedia.res_max_width:
type: number
size: x-small
append: pixels
label: Resolution Max Width
default: 0
validate:
type: number
help: The maximum width allowed for an image to be added
pagemedia.res_max_height:
type: number
size: x-small
append: pixels
label: Resolution Max Height
default: 0
validate:
type: number
help: The maximum height allowed for an image to be added
pagemedia.resize_quality:
type: number
size: x-small
append: 0...1
label: Resize Quality
default: 0.8
validate:
type: number
step: 0.01
help: The quality to use when resizing an image. Between 0 and 1 value.
Dashboard:
type: section
title: Dashboard
underline: true
widgets_display:
type: widgets
label: Widget Display Status
validate:
type: array
Notifications:
type: section
title: Notifications
underline: true
2017-03-16 10:43:12 -06:00
notifications.feed:
type: toggle
label: Feed Notifications
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
help: Display feed-based notifications
notifications.dashboard:
type: toggle
label: Dashboard Notifications
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
help: Display dashboard-based notifications
notifications.plugins:
type: toggle
label: Plugins Notifications
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
help: Display plugins-targeted notifications
notifications.themes:
type: toggle
label: Themes Notifications
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
help: Display themes-targeted notifications
2015-07-31 15:05:27 -06:00
Popularity:
type: section
title: Popularity
underline: true
2015-07-31 17:22:17 +02:00
popularity.enabled:
type: toggle
2015-07-31 15:05:27 -06:00
label: Visitor tracking
2015-07-31 17:22:17 +02:00
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
2015-07-31 17:22:17 +02:00
validate:
type: bool
help: Enable the visitors stats collecting feature
2015-08-02 21:41:00 -06:00
dashboard.days_of_stats:
type: text
label: Days of stats
2016-06-01 16:08:48 -06:00
append: days
2015-08-02 21:41:00 -06:00
size: x-small
default: 7
help: Keep stats for the specified number of days, then drop them
validate:
type: int
2015-07-31 17:22:17 +02:00
popularity.ignore:
type: array
label: Ignore
2015-08-02 21:41:00 -06:00
size: large
2015-07-31 17:22:17 +02:00
help: "URLs to ignore"
default: ['/test*','/modular']
value_only: true
placeholder_value: /ignore-this-route
popularity.history.daily:
type: hidden
label: Daily history
default: 30
popularity.history.monthly:
type: hidden
label: Monthly history
default: 12
popularity.history.visitors:
type: hidden
label: Visitors history
default: 20