-
Notifications
You must be signed in to change notification settings - Fork 1
/
blueprints.yaml
58 lines (56 loc) · 1.38 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
name: PageLocks
slug: pagelocks
type: plugin
version: 1.0.0-beta
description: Set lock on page when edited in Admin by user
icon: lock
author:
name: Netzhexe
email: [email protected]
homepage: https://github.com/skinofthesoul/grav-plugin-pagelocks
keywords: grav, plugin, editing, multiuser
bugs: https://github.com/skinofthesoul/grav-plugin-pagelocks/issues
docs: https://github.com/skinofthesoul/grav-plugin-pagelocks/blob/master/README.md
license: MIT
dependencies:
- { name: grav, version: '>=1.6.0' }
form:
validation: loose
fields:
enabled:
type: toggle
label: PLUGIN_ADMIN.PLUGIN_STATUS
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
expiresAfter:
type: text
label: PLUGIN_PAGELOCKS.EXPIRESAFTER
help: PLUGIN_PAGELOCKS.EXPIRESAFTER_HELP
validate:
type: int
keepAliveInterval:
type: number
label: PLUGIN_PAGELOCKS.KEEPALIVEINTERVAL
validate:
type: int
productionMode:
type: toggle
label: PLUGIN_PAGELOCKS.PRODUCTIONMODE
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
debug:
type: toggle
label: PLUGIN_PAGELOCKS.DEBUG
highlight: 0
default: 0
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO