-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathblueprints.yaml
76 lines (71 loc) · 2.11 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
name: Shortcode Chart.js
version: 1.0.1
description: A shortcodes extension that add support for Chart.js to your Grav website.
icon: code
author:
name: Craig Phillips
email: support@craigphillips.biz
homepage: https://github.com/cppl/grav-plugin-shortcode-chartjs
keywords: grav, plugin, etc
bugs: https://github.com/cppl/grav-plugin-shortcode-chartjs/issues
docs: https://github.com/cppl/grav-plugin-shortcode-chartjs/blob/master/README.md
license: MIT
dependencies:
- 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
canvas:
type: section
title: PLUGIN_CHARTJS_SHORTCODE.CANVAS_DEFAULTS
underline: true
fields:
canvas.name:
type: text
label: PLUGIN_CHARTJS_SHORTCODE.CANVAS_NAME_ID
help: PLUGIN_CHARTJS_SHORTCODE.CANVAS_NAME_ID_HELP
default: "chart"
size: small
canvas.width:
type: text
label: PLUGIN_CHARTJS_SHORTCODE.CANVAS_WIDTH
help: PLUGIN_CHARTJS_SHORTCODE.CANVAS_WIDTH_HELP
size: small
default: 400
validate:
type: integer
canvas.height:
type: text
label: PLUGIN_CHARTJS_SHORTCODE.CANVAS_HEIGHT
help: PLUGIN_CHARTJS_SHORTCODE.CANVAS_HEIGHT_HELP
size: small
default: 400
validate:
type: integer
chart:
type: section
title: PLUGIN_CHARTJS_SHORTCODE.CHART_DEFAULTS
underline: true
fields:
chart.bkgndcolor:
type: text
label: PLUGIN_CHARTJS_SHORTCODE.DEFAULT_BKGND_COLOR
help: PLUGIN_CHARTJS_SHORTCODE.DEFAULT_BKGND_COLOR_HELP
default: 'LightGray'
size: small
chart.bordercolor:
type: text
label: PLUGIN_CHARTJS_SHORTCODE.DEFAULT_BORDER_COLOR
help: PLUGIN_CHARTJS_SHORTCODE.DEFAULT_BORDER_COLOR_HELP
default: 'Gray'
size: small