-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
blueprints.yaml
215 lines (212 loc) · 7.77 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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
name: Shortcode Gallery++
slug: shortcode-gallery-plusplus
type: plugin
version: 1.6.0
description: A Shortcode extension to add sweet galleries with a lightbox to your Grav website.
icon: code
author:
name: Maximilian Salomon
email: msal.coding@gmail.com
homepage: https://github.com/sal0max/grav-plugin-shortcode-gallery-plusplus
demo:
keywords: grav, plugin, shortcode, gallery, glightbox, justifiedgallery
bugs: https://github.com/sal0max/grav-plugin-shortcode-gallery-plusplus/issues
docs: https://github.com/sal0max/grav-plugin-shortcode-gallery-plusplus/blob/master/README.md
license: MIT
dependencies:
- { name: grav, version: '>=1.7.4' }
- shortcode-core
form:
validation: strict
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
gallery:
type: section
title: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.GALLERY_SETTINGS
underline: true
fields:
gallery.rowHeight:
label: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_ROW_HEIGHT
help: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_ROW_HEIGHT_HELP
type: number
validate:
min: 0
size: small
gallery.margins:
label: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_MARGINS
help: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_MARGINS_HELP
type: number
validate:
min: 0
size: small
gallery.lastRow:
label: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_LAST_ROW
help: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_LAST_ROW_HELP
type: select
options:
"justify": "justify"
"nojustify": "nojustify"
"hide": "hide"
"center": "center"
"right": "right"
size: small
gallery.captions:
label: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_CAPTIONS
help: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_CAPTIONS_HELP
type: toggle
highlight: "true"
options:
"true": PLUGIN_ADMIN.ENABLED
"false": PLUGIN_ADMIN.DISABLED
gallery.border:
label: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_BORDER
help: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_BORDER_HELP
type: number
validate:
min: -1
size: small
gallery.resizeFactor:
label: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_RESIZE_FACTOR
help: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_RESIZE_FACTOR_HELP
type: select
default: 2
options:
1: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_RESIZE_FACTOR_1
"1.5": PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_RESIZE_FACTOR_1_5
2: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_RESIZE_FACTOR_2
"2.5": PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_RESIZE_FACTOR_2_5
3: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_RESIZE_FACTOR_3
size: medium
gallery.removeTitle:
label: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_REMOVE_TITLE
help: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_REMOVE_TITLE_HELP
type: toggle
highlight: "false"
options:
"true": PLUGIN_ADMIN.ENABLED
"false": PLUGIN_ADMIN.DISABLED
lightbox:
type: section
title: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.LIGHTBOX_SETTINGS
underline: true
fields:
lightbox.openEffect:
label: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_OPEN_EFFECT
type: select
options:
"zoom": "zoom"
"fade": "fade"
"none": "none"
size: small
lightbox.closeEffect:
label: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_CLOSE_EFFECT
type: select
options:
"zoom": "zoom"
"fade": "fade"
"none": "none"
size: small
lightbox.slideEffect:
label: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_SLIDE_EFFECT
type: select
options:
"slide": "slide"
"fade": "fade"
"zoom": "zoom"
"none": "none"
size: small
lightbox.closeButton:
label: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_CLOSE_BUTTON
help: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_CLOSE_BUTTON_HELP
type: toggle
highlight: "true"
options:
"true": PLUGIN_ADMIN.ENABLED
"false": PLUGIN_ADMIN.DISABLED
lightbox.touchNavigation:
label: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_TOUCH_NAVIGATION
help: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_TOUCH_NAVIGATION_HELP
type: toggle
highlight: "true"
options:
"true": PLUGIN_ADMIN.ENABLED
"false": PLUGIN_ADMIN.DISABLED
lightbox.touchFollowAxis:
label: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_TOUCH_FOLLOW_AXIS
help: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_TOUCH_FOLLOW_AXIS_HELP
type: toggle
highlight: "true"
options:
"true": PLUGIN_ADMIN.ENABLED
"false": PLUGIN_ADMIN.DISABLED
lightbox.keyboardNavigation:
label: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_KEYBOARD_NAVIGATION
help: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_KEYBOARD_NAVIGATION_HELP
type: toggle
highlight: "true"
options:
"true": PLUGIN_ADMIN.ENABLED
"false": PLUGIN_ADMIN.DISABLED
lightbox.closeOnOutsideClick:
label: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_CLOSE_ON_OUTSIDE_CLICK
help: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_CLOSE_ON_OUTSIDE_CLICK_HELP
type: toggle
highlight: "true"
options:
"true": PLUGIN_ADMIN.ENABLED
"false": PLUGIN_ADMIN.DISABLED
lightbox.loop:
label: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_LOOP
help: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_LOOP_HELP
type: toggle
highlight: "true"
options:
"true": PLUGIN_ADMIN.ENABLED
"false": PLUGIN_ADMIN.DISABLED
lightbox.draggable:
label: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_DRAGGABLE
help: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_DRAGGABLE_HELP
type: toggle
highlight: "true"
options:
"true": PLUGIN_ADMIN.ENABLED
"false": PLUGIN_ADMIN.DISABLED
lightbox.descEnabled:
label: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_DESC_ENABLED
help: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_DESC_ENABLED_HELP
type: toggle
highlight: "true"
options:
"true": PLUGIN_ADMIN.ENABLED
"false": PLUGIN_ADMIN.DISABLED
lightbox.descPosition:
label: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_DESC_POSITION
help: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_DESC_POSITION_HELP
type: select
options:
"bottom": "bottom"
"top": "top"
"left": "left"
"right": "right"
size: small
lightbox.descMoreText:
label: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_DESC_MORE_TEXT
help: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_DESC_MORE_TEXT_HELP
type: text
size: small
lightbox.descMoreLength:
label: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_DESC_MORE_LENGTH
help: PLUGIN_SHORTCODE_GALLERY_PLUSPLUS.DEFAULT_DESC_MORE_LENGTH_HELP
type: number
validate:
min: 0
size: small