-
Notifications
You must be signed in to change notification settings - Fork 5
/
blueprints.yaml
387 lines (386 loc) · 18.1 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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
name: Presentation
version: 1.7.1-beta.1
testing: true
description: Responsive navigational slideshows with Reveal.js
icon: arrows-alt
author:
name: Ole Vik
email: git@olevik.net
homepage: https://github.com/OleVik/grav-plugin-presentation/
demo: https://olevik.me/staging/grav-skeleton-presentation/
keywords: presentation, fullscreen, slides, slideshow, reveal.js
bugs: https://github.com/OleVik/grav-plugin-presentation/issues
docs: https://github.com/OleVik/grav-plugin-presentation/blob/master/README.md
license: MIT
dependencies:
- { name: grav, version: ">=1.6" }
- { name: shortcode-core, version: ">=4.1" }
form:
validation: strict
fields:
tabs:
type: tabs
active: 1
fields:
options:
type: tab
title: PLUGIN_PRESENTATION.ADMIN.TABS.OPTIONS
fields:
enabled:
type: toggle
label: Plugin status
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
theme:
type: select
label: PLUGIN_PRESENTATION.ADMIN.OPTIONS.ASSETS.THEME.LABEL
description: PLUGIN_PRESENTATION.ADMIN.OPTIONS.ASSETS.THEME.DESCRIPTION
data-options@: '\Grav\Plugin\PresentationPlugin::getRevealThemes'
order.by:
type: select
label: PLUGIN_PRESENTATION.ADMIN.COMMON.ORDER.BY.LABEL
options:
default: PLUGIN_PRESENTATION.ADMIN.COMMON.ORDER.BY.OPTIONS.DEFAULT
folder: PLUGIN_PRESENTATION.ADMIN.COMMON.ORDER.BY.OPTIONS.FOLDER
title: PLUGIN_PRESENTATION.ADMIN.COMMON.ORDER.BY.OPTIONS.TITLE
date: PLUGIN_PRESENTATION.ADMIN.COMMON.ORDER.BY.OPTIONS.DATE
order.dir:
type: toggle
label: PLUGIN_PRESENTATION.ADMIN.COMMON.ORDER.DIR.LABEL
options:
asc: PLUGIN_PRESENTATION.ADMIN.COMMON.ORDER.DIR.OPTIONS.ASC
desc: PLUGIN_PRESENTATION.ADMIN.COMMON.ORDER.DIR.OPTIONS.DESC
all_assets:
type: toggle
label: PLUGIN_PRESENTATION.ADMIN.OPTIONS.ASSETS.ALL.LABEL
description: PLUGIN_PRESENTATION.ADMIN.OPTIONS.ASSETS.ALL.DESCRIPTION
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
theme_css:
type: toggle
label: PLUGIN_PRESENTATION.ADMIN.OPTIONS.ASSETS.THEME_CSS.LABEL
description: PLUGIN_PRESENTATION.ADMIN.OPTIONS.ASSETS.THEME_CSS.DESCRIPTION
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
builtin_css:
type: toggle
label: PLUGIN_PRESENTATION.ADMIN.OPTIONS.ASSETS.BUILTIN_CSS.LABEL
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
builtin_js:
type: toggle
label: PLUGIN_PRESENTATION.ADMIN.OPTIONS.ASSETS.BUILTIN_JS.LABEL
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
textsizing:
type: toggle
label: PLUGIN_PRESENTATION.ADMIN.ADVANCED.TEXTSIZING.LABEL
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
breakpoints:
type: array
label: PLUGIN_PRESENTATION.ADMIN.ADVANCED.BREAKPOINTS.LABEL
description: PLUGIN_PRESENTATION.ADMIN.ADVANCED.BREAKPOINTS.DESCRIPTION
placeholder_key: PLUGIN_PRESENTATION.ADMIN.ADVANCED.BREAKPOINTS.WIDTH.LABEL
placeholder_value: PLUGIN_PRESENTATION.ADMIN.ADVANCED.BREAKPOINTS.FONT_SIZE.LABEL
required: true
defaults:
type: tab
title: PLUGIN_PRESENTATION.ADMIN.DEFAULTS.TITLE
fields:
textsize:
type: section
title: PLUGIN_PRESENTATION.ADMIN.OPTIONS.TEXTSIZE.TITLE
underline: true
fields:
textsize.scale:
type: select
label: PLUGIN_PRESENTATION.ADMIN.OPTIONS.TEXTSIZE.SCALE.LABEL
description: PLUGIN_PRESENTATION.ADMIN.OPTIONS.TEXTSIZE.SCALE.DESCRIPTION
data-options@: '\Grav\Plugin\PresentationPlugin::getModularScaleBlueprintOptions'
textsize.modifier:
type: number
label: PLUGIN_PRESENTATION.ADMIN.OPTIONS.TEXTSIZE.MODIFIER.LABEL
description: PLUGIN_PRESENTATION.ADMIN.OPTIONS.TEXTSIZE.MODIFIER.DESCRIPTION
default: 1
validate:
type: int
min: 0
max: 100
step: 0.05
style:
type: section
title: PLUGIN_PRESENTATION.ADMIN.STYLE.TITLE
underline: true
fields:
style.header-font-family:
type: text
label: PLUGIN_PRESENTATION.ADMIN.STYLE.FONT.HEADER.LABEL
description: PLUGIN_PRESENTATION.ADMIN.STYLE.FONT.HEADER.DESCRIPTION
style.header-color:
type: colorpicker
label: PLUGIN_PRESENTATION.ADMIN.STYLE.FONT.HEADER_COLOR.LABEL
description: PLUGIN_PRESENTATION.ADMIN.STYLE.FONT.HEADER_COLOR.DESCRIPTION
style.block-font-family:
type: text
label: PLUGIN_PRESENTATION.ADMIN.STYLE.FONT.BLOCK.LABEL
description: PLUGIN_PRESENTATION.ADMIN.STYLE.FONT.BLOCK.DESCRIPTION
style.block-color:
type: colorpicker
label: PLUGIN_PRESENTATION.ADMIN.STYLE.FONT.BLOCK_COLOR.LABEL
description: PLUGIN_PRESENTATION.ADMIN.STYLE.FONT.BLOCK_COLOR.DESCRIPTION
style.background-color:
type: colorpicker
label: PLUGIN_PRESENTATION.ADMIN.STYLE.BACKGROUND-COLOR.LABEL
style.background-image:
type: filepicker
folder: 'user/pages/images'
preview_images: true
label: PLUGIN_PRESENTATION.ADMIN.STYLE.BACKGROUND-IMAGE.LABEL
description: PLUGIN_PRESENTATION.ADMIN.STYLE.BACKGROUND-IMAGE.DESCRIPTION
accept:
- .png
- .jpg
- .gif
- "image/*"
style.background-size:
type: select
label: PLUGIN_PRESENTATION.ADMIN.STYLE.BACKGROUND-SIZE.LABEL
options:
"": PLUGIN_PRESENTATION.ADMIN.COMMON.NONE
auto: PLUGIN_PRESENTATION.ADMIN.STYLE.BACKGROUND-SIZE.OPTIONS.AUTO
cover: PLUGIN_PRESENTATION.ADMIN.STYLE.BACKGROUND-SIZE.OPTIONS.COVER
contain: PLUGIN_PRESENTATION.ADMIN.STYLE.BACKGROUND-SIZE.OPTIONS.CONTAIN
initial: PLUGIN_PRESENTATION.ADMIN.COMMON.INITIAL
inherit: PLUGIN_PRESENTATION.ADMIN.COMMON.INHERIT
style.background-repeat:
type: select
label: PLUGIN_PRESENTATION.ADMIN.STYLE.BACKGROUND-REPEAT.LABEL
options:
"": PLUGIN_PRESENTATION.ADMIN.COMMON.NONE
no-repeat: PLUGIN_PRESENTATION.ADMIN.STYLE.BACKGROUND-REPEAT.OPTIONS.NO-REPEAT
repeat: PLUGIN_PRESENTATION.ADMIN.STYLE.BACKGROUND-REPEAT.OPTIONS.REPEAT
repeat-x: PLUGIN_PRESENTATION.ADMIN.STYLE.BACKGROUND-REPEAT.OPTIONS.REPEAT-X
repeat-y: PLUGIN_PRESENTATION.ADMIN.STYLE.BACKGROUND-REPEAT.OPTIONS.REPEAT-Y
space: PLUGIN_PRESENTATION.ADMIN.STYLE.BACKGROUND-REPEAT.OPTIONS.SPACE
round: PLUGIN_PRESENTATION.ADMIN.STYLE.BACKGROUND-REPEAT.OPTIONS.ROUND
initial: PLUGIN_PRESENTATION.ADMIN.COMMON.INITIAL
inherit: PLUGIN_PRESENTATION.ADMIN.COMMON.INHERIT
style.justify-content:
type: select
label: PLUGIN_PRESENTATION.ADMIN.STYLE.JUSTIFY-CONTENT.LABEL
help: PLUGIN_PRESENTATION.ADMIN.STYLE.JUSTIFY-CONTENT.HELP
options:
"": PLUGIN_PRESENTATION.ADMIN.COMMON.NONE
center: PLUGIN_PRESENTATION.ADMIN.STYLE.JUSTIFY-CONTENT.OPTIONS.CENTER
start: PLUGIN_PRESENTATION.ADMIN.STYLE.JUSTIFY-CONTENT.OPTIONS.START
end: PLUGIN_PRESENTATION.ADMIN.STYLE.JUSTIFY-CONTENT.OPTIONS.END
flex-start: PLUGIN_PRESENTATION.ADMIN.STYLE.JUSTIFY-CONTENT.OPTIONS.FLEX-START
flex-end: PLUGIN_PRESENTATION.ADMIN.STYLE.JUSTIFY-CONTENT.OPTIONS.FLEX-END
left: PLUGIN_PRESENTATION.ADMIN.STYLE.JUSTIFY-CONTENT.OPTIONS.LEFT
right: PLUGIN_PRESENTATION.ADMIN.STYLE.JUSTIFY-CONTENT.OPTIONS.RIGHT
normal: PLUGIN_PRESENTATION.ADMIN.STYLE.JUSTIFY-CONTENT.OPTIONS.NORMAL
space-between: PLUGIN_PRESENTATION.ADMIN.STYLE.JUSTIFY-CONTENT.OPTIONS.SPACE-BETWEEN
space-around: PLUGIN_PRESENTATION.ADMIN.STYLE.JUSTIFY-CONTENT.OPTIONS.SPACE-AROUND
space-evenly: PLUGIN_PRESENTATION.ADMIN.STYLE.JUSTIFY-CONTENT.OPTIONS.SPACE-EVENLY
stretch: PLUGIN_PRESENTATION.ADMIN.STYLE.JUSTIFY-CONTENT.OPTIONS.STRETCH
initial: PLUGIN_PRESENTATION.ADMIN.COMMON.INITIAL
inherit: PLUGIN_PRESENTATION.ADMIN.COMMON.INHERIT
style.align-items:
type: select
label: PLUGIN_PRESENTATION.ADMIN.STYLE.ALIGN-ITEMS.LABEL
help: PLUGIN_PRESENTATION.ADMIN.STYLE.ALIGN-ITEMS.HELP
options:
"": PLUGIN_PRESENTATION.ADMIN.COMMON.NONE
center: PLUGIN_PRESENTATION.ADMIN.STYLE.ALIGN-ITEMS.OPTIONS.CENTER
start: PLUGIN_PRESENTATION.ADMIN.STYLE.ALIGN-ITEMS.OPTIONS.START
end: PLUGIN_PRESENTATION.ADMIN.STYLE.ALIGN-ITEMS.OPTIONS.END
flex-start: PLUGIN_PRESENTATION.ADMIN.STYLE.ALIGN-ITEMS.OPTIONS.FLEX-START
flex-end: PLUGIN_PRESENTATION.ADMIN.STYLE.ALIGN-ITEMS.OPTIONS.FLEX-END
self-start: PLUGIN_PRESENTATION.ADMIN.STYLE.ALIGN-ITEMS.OPTIONS.SELF-START
self-end: PLUGIN_PRESENTATION.ADMIN.STYLE.ALIGN-ITEMS.OPTIONS.SELF-END
normal: PLUGIN_PRESENTATION.ADMIN.STYLE.ALIGN-ITEMS.OPTIONS.NORMAL
baseline: PLUGIN_PRESENTATION.ADMIN.STYLE.ALIGN-ITEMS.OPTIONS.BASELINE
'first baseline': PLUGIN_PRESENTATION.ADMIN.STYLE.ALIGN-ITEMS.OPTIONS.FIRST-BASELINE
'last baseline': PLUGIN_PRESENTATION.ADMIN.STYLE.ALIGN-ITEMS.OPTIONS.LAST-BASELINE
initial: PLUGIN_PRESENTATION.ADMIN.COMMON.INITIAL
inherit: PLUGIN_PRESENTATION.ADMIN.COMMON.INHERIT
horizontal:
type: toggle
label: PLUGIN_PRESENTATION.ADMIN.OPTIONS.HORIZONTAL.LABEL
help: PLUGIN_PRESENTATION.ADMIN.OPTIONS.HORIZONTAL.HELP
description: PLUGIN_PRESENTATION.ADMIN.OPTIONS.HORIZONTAL.DESCRIPTION
highlight: 0
options:
1: PLUGIN_PRESENTATION.ADMIN.OPTIONS.HORIZONTAL.OPTIONS.HORIZONTAL
0: PLUGIN_PRESENTATION.ADMIN.OPTIONS.HORIZONTAL.OPTIONS.VERTICAL
validate:
type: bool
advanced:
type: tab
title: PLUGIN_PRESENTATION.ADMIN.ADVANCED.TITLE
fields:
admin_async_save:
type: toggle
label: PLUGIN_PRESENTATION.ADMIN.ADVANCED.SAVE.ASYNC.LABEL
description: PLUGIN_PRESENTATION.ADMIN.ADVANCED.SAVE.ASYNC.DESCRIPTION
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
admin_async_save_typing:
type: toggle
label: PLUGIN_PRESENTATION.ADMIN.ADVANCED.SAVE.TYPING.LABEL
description: PLUGIN_PRESENTATION.ADMIN.ADVANCED.SAVE.TYPING.DESCRIPTION
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
footer:
type: text
label: PLUGIN_PRESENTATION.ADMIN.ADVANCED.FOOTER.LABEL
description: PLUGIN_PRESENTATION.ADMIN.ADVANCED.FOOTER.DESCRIPTION
shortcodes:
type: toggle
label: PLUGIN_PRESENTATION.ADMIN.ADVANCED.SHORTCODES.LABEL
description: PLUGIN_PRESENTATION.ADMIN.ADVANCED.SHORTCODES.DESCRIPTION
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
shortcode_classes:
type: text
label: PLUGIN_PRESENTATION.ADMIN.ADVANCED.SHORTCODE_CLASSES.LABEL
description: PLUGIN_PRESENTATION.ADMIN.ADVANCED.SHORTCODE_CLASSES.DESCRIPTION
validate:
type: string
transition:
type: toggle
label: PLUGIN_PRESENTATION.ADMIN.ADVANCED.TRANSITION.LABEL
description: PLUGIN_PRESENTATION.ADMIN.ADVANCED.TRANSITION.DESCRIPTION
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
unwrap_images:
type: toggle
label: PLUGIN_PRESENTATION.ADMIN.ADVANCED.UNWRAP_IMAGES.LABEL
description: PLUGIN_PRESENTATION.ADMIN.ADVANCED.UNWRAP_IMAGES.DESCRIPTION
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
content:
type: select
label: PLUGIN_PRESENTATION.ADMIN.ADVANCED.CONTENT.LABEL
description: PLUGIN_PRESENTATION.ADMIN.ADVANCED.CONTENT.DESCRIPTION
data-options@:
- "\\Grav\\Plugin\\PresentationPlugin::getClassNamesBlueprintOptions"
- Content
parser:
type: select
label: PLUGIN_PRESENTATION.ADMIN.ADVANCED.PARSER.LABEL
description: PLUGIN_PRESENTATION.ADMIN.ADVANCED.PARSER.DESCRIPTION
data-options@:
- "\\Grav\\Plugin\\PresentationPlugin::getClassNamesBlueprintOptions"
- Parser
styles:
type: select
label: PLUGIN_PRESENTATION.ADMIN.ADVANCED.STYLES.LABEL
description: PLUGIN_PRESENTATION.ADMIN.ADVANCED.STYLES.DESCRIPTION
data-options@:
- "\\Grav\\Plugin\\PresentationPlugin::getClassNamesBlueprintOptions"
- Transport
sync:
type: section
title: PLUGIN_PRESENTATION.ADMIN.SYNC.TITLE
fields:
sync:
type: select
label: PLUGIN_PRESENTATION.ADMIN.SYNC.SYNC.LABEL
description: PLUGIN_PRESENTATION.ADMIN.SYNC.SYNC.DESCRIPTION
options:
none: PLUGIN_PRESENTATION.ADMIN.SYNC.SYNC.OPTIONS.NONE
browser: PLUGIN_PRESENTATION.ADMIN.SYNC.SYNC.OPTIONS.BROWSER
api: PLUGIN_PRESENTATION.ADMIN.SYNC.SYNC.OPTIONS.API
api_route:
type: text
label: PLUGIN_PRESENTATION.ADMIN.SYNC.API_ROUTE.LABEL
description: PLUGIN_PRESENTATION.ADMIN.SYNC.API_ROUTE.DESCRIPTION
validate:
type: string
poll_timeout:
type: range
label: PLUGIN_PRESENTATION.ADMIN.SYNC.POLL_TIMEOUT.LABEL
description: PLUGIN_PRESENTATION.ADMIN.SYNC.POLL_TIMEOUT.DESCRIPTION
validate:
type: int
min: 1000
max: 10000
step: 1000
poll_retry_limit:
type: number
label: PLUGIN_PRESENTATION.ADMIN.SYNC.POLL_RETRY_LIMIT.LABEL
description: PLUGIN_PRESENTATION.ADMIN.SYNC.POLL_RETRY_LIMIT.DESCRIPTION
validate:
type: int
min: 1
max: 10
step: 1
token_auth:
type: toggle
label: PLUGIN_PRESENTATION.ADMIN.SYNC.TOKEN_AUTH.LABEL
description: PLUGIN_PRESENTATION.ADMIN.SYNC.TOKEN_AUTH.DESCRIPTION
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
token:
type: text
label: PLUGIN_PRESENTATION.ADMIN.SYNC.TOKEN.LABEL
description: PLUGIN_PRESENTATION.ADMIN.SYNC.TOKEN.DESCRIPTION
validate:
type: string
options:
type: section
title: PLUGIN_PRESENTATION.ADMIN.ADVANCED.REVEAL.TITLE
underline: true
fields:
options:
type: array
label: PLUGIN_PRESENTATION.ADMIN.ADVANCED.REVEAL.LABEL
placeholder_key: PLUGIN_PRESENTATION.ADMIN.COMMON.KEY
placeholder_value: PLUGIN_PRESENTATION.ADMIN.COMMON.VALUE
required: false
validate:
type: array