mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-14 01:06:03 +01:00
142 lines
3.0 KiB
YAML
142 lines
3.0 KiB
YAML
name: Admin Panel
|
|
version: 0.4.1
|
|
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
|
|
license: MIT
|
|
|
|
dependencies:
|
|
- form
|
|
- email
|
|
- login
|
|
|
|
form:
|
|
validation: loose
|
|
fields:
|
|
Basics:
|
|
type: section
|
|
title: Basics
|
|
underline: false
|
|
|
|
enabled:
|
|
type: hidden
|
|
label: Plugin status
|
|
highlight: 1
|
|
default: 0
|
|
options:
|
|
1: Enabled
|
|
0: Disabled
|
|
validate:
|
|
type: bool
|
|
|
|
route:
|
|
type: text
|
|
label: Administrator path
|
|
size: medium
|
|
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
|
|
|
|
theme:
|
|
type: hidden
|
|
label: Theme
|
|
default: grav
|
|
|
|
edit_mode:
|
|
type: select
|
|
label: Edit mode
|
|
size: small
|
|
default: normal
|
|
options:
|
|
normal: Normal
|
|
expert: Expert
|
|
help: Auto will use blueprint if available, if none found, it will use "Expert" mode.
|
|
|
|
show_beta_msg:
|
|
type: toggle
|
|
label: Show Beta Message
|
|
highlight: 1
|
|
default: 1
|
|
options:
|
|
1: Enabled
|
|
0: Disabled
|
|
validate:
|
|
type: bool
|
|
help: Show the beta warning message on the dashboard
|
|
|
|
session.timeout:
|
|
type: text
|
|
size: small
|
|
label: Session Timeout
|
|
help: "Sets the session timeout in seconds"
|
|
validate:
|
|
type: number
|
|
min: 1
|
|
|
|
warnings.delete_page:
|
|
type: toggle
|
|
label: Warn on page delete
|
|
highlight: 1
|
|
default: 1
|
|
options:
|
|
1: Enabled
|
|
0: Disabled
|
|
validate:
|
|
type: bool
|
|
help: Ask the user confirmation when deleting a page
|
|
|
|
Popularity:
|
|
type: section
|
|
title: Popularity
|
|
underline: true
|
|
|
|
popularity.enabled:
|
|
type: toggle
|
|
label: Visitor tracking
|
|
highlight: 1
|
|
default: 1
|
|
options:
|
|
1: Enabled
|
|
0: Disabled
|
|
validate:
|
|
type: bool
|
|
help: Enable the visitors stats collecting feature
|
|
|
|
dashboard.days_of_stats:
|
|
type: text
|
|
label: Days of stats
|
|
size: x-small
|
|
default: 7
|
|
help: Keep stats for the specified number of days, then drop them
|
|
validate:
|
|
type: int
|
|
|
|
popularity.ignore:
|
|
type: array
|
|
label: Ignore
|
|
size: large
|
|
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
|