-
Notifications
You must be signed in to change notification settings - Fork 0
/
blueprints.yaml
97 lines (95 loc) · 2.48 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
name: GIS
slug: gis
type: plugin
version: 0.1.0
description: This plugin, using the Leaflet javascript library, aims to provide a simple way to geolocate contents and to display interactive maps.
icon: map-o
author:
name: Brice Boucard
email: [email protected]
homepage: https://github.com/bricebou/grav-plugin-gis
demo: https://grav.reclic.dev
keywords: grav, plugin, gis, leaflet, map
bugs: https://github.com/bricebou/grav-plugin-gis/issues
docs: https://github.com/bricebou/grav-plugin-gis/blob/develop/README.md
license: MIT
dependencies:
- { name: grav, version: '>=1.7.0' }
- { name: shortcode-core, version: '>=5.1.1' }
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
private:
type: fieldset
title: PLUGIN_GIS.PRIVATE
fields:
private.load:
type: toggle
label: PLUGIN_GIS.LOAD
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
private.height:
type: number
label: PLUGIN_GIS.MAP_HEIGHT
default: '340'
validate:
type: int
private.center:
type: text
label: PLUGIN_GIS.MAP_DEFAULT_CENTER
default: '51.505, -0.093'
validate:
type: text
private.zoom:
type: number
label: PLUGIN_GIS.MAP_AUTOCENTER_MAX_ZOOM
default: '13'
validate:
type: int
public:
type: fieldset
title: PLUGIN_GIS.PUBLIC
fields:
public.load:
type: toggle
label: PLUGIN_GIS.LOAD
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
public.height:
type: number
label: PLUGIN_GIS.MAP_HEIGHT
default: '340'
validate:
type: int
public.center:
type: text
label: PLUGIN_GIS.MAP_DEFAULT_CENTER
default: '51.505, -0.093'
validate:
type: text
public.zoom:
type: number
label: PLUGIN_GIS.MAP_AUTOCENTER_MAX_ZOOM
default: '13'
validate:
type: int