forked from getgrav/grav-plugin-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblueprints.yaml
166 lines (148 loc) · 3.68 KB
/
blueprints.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
name: Admin Panel
version: 1.0.0-rc.2
description: Adds an advanced administration panel to manage your site
icon: empire
author:
name: Team Grav
email: [email protected]
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
readme: https://github.com/getgrav/grav-plugin-admin/blob/develop/README.md
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.
google_fonts:
type: toggle
label: Use Google Fonts
highlight: 1
default: 1
options:
1: Enabled
0: Disabled
validate:
type: bool
help: Use Google custom fonts. Disable this to use Helvetica. Useful when using Cyrillic and other languages with unsupported characters.
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
enable_auto_updates_check:
type: toggle
label: Automatically check for updates
highlight: 1
default: 1
options:
1: Enabled
0: 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
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