-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblueprints.yaml
132 lines (124 loc) · 4.51 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
name: Leaflet Address
version: 1.0.5
description: With the Leaflet address plugin you can easily show an address as text and on a leaflet map.
icon: map
author:
name: Fabian Dennler
email: [email protected]
homepage: https://github.com/foxfabi/grav-plugin-leaflet-address
demo:
keywords: grav, plugin, leaflet, map, address
bugs: https://github.com/foxfabi/grav-plugin-leaflet-address/issues
docs: https://github.com/foxfabi/grav-plugin-leaflet-address/blob/master/README.md
license: MIT
dependencies:
- { name: grav, version: '>=1.5.0' }
form:
validation: strict
fields:
basics:
type: section
title: PLUGIN_LEAFLET_ADDRESS.SECTION.GLOBAL_CONFIG
underline: true
enabled:
type: toggle
label: PLUGIN_LEAFLET_ADDRESS.FIELDS.PLUGIN_STATUS.LABEL
highlight: 1
default: 0
options:
1: PLUGIN_LEAFLET_ADDRESS.ADMIN.ENABLED
0: PLUGIN_LEAFLET_ADDRESS.ADMIN.DISABLED
validate:
type: bool
cdn:
type: toggle
label: CDN
help: PLUGIN_LEAFLET_ADDRESS.FIELDS.CDN.HELP
highlight: 1
default: 1
options:
1: PLUGIN_LEAFLET_ADDRESS.ADMIN.ENABLED
0: PLUGIN_LEAFLET_ADDRESS.ADMIN.DISABLED
validate:
type: bool
provider:
type: select
id: map-provider
classes: provider-zoom
label: PLUGIN_LEAFLET_ADDRESS.FIELDS.MAP_PROVIDER.LABEL
help: PLUGIN_LEAFLET_ADDRESS.FIELDS.MAP_PROVIDER.HELP
default: OpenStreetMap.Mapnik
data-options@: '\Grav\Plugin\LeafletAddressPlugin::leafletProviders'
leaflet.zoom:
type: number
id: map-zoom
classes: provider-zoom
label: PLUGIN_LEAFLET_ADDRESS.FIELDS.ZOOM_LEVEL.LABEL
default: 13
validate:
min: 1
max: 20
leaflet.icon:
type: select
label: PLUGIN_LEAFLET_ADDRESS.FIELDS.MARKER_ICON.LABEL
help: PLUGIN_LEAFLET_ADDRESS.FIELDS.MARKER_ICON.HELP
default: 'Blue'
data-options@: '\Grav\Plugin\LeafletAddressPlugin::markerIcons'
informations:
type: section
title: PLUGIN_LEAFLET_ADDRESS.SECTION.ADDRESS
underline: true
fields:
columns:
type: columns
fields:
column1:
type: column
fields:
address.name:
type: text
label: PLUGIN_LEAFLET_ADDRESS.FIELDS.NAME.LABEL
address.address:
type: text
label: PLUGIN_LEAFLET_ADDRESS.FIELDS.ADDRESS.LABEL
id: coordinateselector-address
address.zip:
type: text
label: PLUGIN_LEAFLET_ADDRESS.FIELDS.ZIP.LABEL
id: coordinateselector-zip
address.city:
type: text
label: PLUGIN_LEAFLET_ADDRESS.FIELDS.LOCALITY.LABEL
id: coordinateselector-city
address.country:
type: select
label: PLUGIN_LEAFLET_ADDRESS.FIELDS.COUNTRY.LABEL
default: 'CH'
data-options@: '\Grav\Plugin\LeafletAddressPlugin::countryCodes'
id: coordinateselector-country
column2:
type: column
fields:
address.phone:
type: text
label: PLUGIN_LEAFLET_ADDRESS.FIELDS.PHONE.LABEL
address.email:
type: email
label: PLUGIN_LEAFLET_ADDRESS.FIELDS.EMAIL.LABEL
validate:
type: email
address.subaddress:
type: text
label: PLUGIN_LEAFLET_ADDRESS.FIELDS.ADDITIONAL.LABEL
address.state:
type: text
label: PLUGIN_LEAFLET_ADDRESS.FIELDS.PROVINCE.LABEL
map:
type: section
title: PLUGIN_LEAFLET_ADDRESS.SECTION.COORDINATES
underline: true
fields:
leaflet.coordinates:
type: coordinateselector
label: false
display_label: false