-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathblueprints.yaml
209 lines (190 loc) · 5.45 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
name: File Browser
version: 0.2.8
description: File browser plugin providing directory listing
icon: folder
author:
name: Nathan Parsons
email: [email protected]
url: https://tantalum.blue
homepage: https://github.com/N-Parsons/grav-plugin-file-browser
keywords: grav, plugin, files, directory, file browser, directory listing
bugs: https://github.com/N-Parsons/grav-plugin-file-browser/issues
license: MIT
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
built_in_css:
type: toggle
label: PLUGIN_FILE_BROWSER.BUILTIN_CSS
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
load_font_awesome:
type: toggle
help: PLUGIN_FILE_BROWSER.LOAD_FONT_AWESOME_HELP
label: PLUGIN_FILE_BROWSER.LOAD_FONT_AWESOME
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
fa4_compatability:
type: toggle
help: PLUGIN_FILE_BROWSER.FA4_COMPATIBILITY_HELP
label: PLUGIN_FILE_BROWSER.FA4_COMPATIBILITY
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
source:
type: text
label: PLUGIN_FILE_BROWSER.DEFAULT_SOURCE
default: "user://files"
show_hidden_files:
type: toggle
label: PLUGIN_FILE_BROWSER.SHOW_HIDDEN_FILES
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
default_view:
type: select
label: PLUGIN_FILE_BROWSER.DEFAULT_VIEW
default: "tile"
options:
"tile": PLUGIN_FILE_BROWSER.TILE_VIEW
"list": PLUGIN_FILE_BROWSER.LIST_VIEW
base_to_extend:
type: text
label: PLUGIN_FILE_BROWSER.BASE_TO_EXTEND
placeholder: "partials/base.html.twig"
fontawesome_pro:
type: section
title: PLUGIN_FILE_BROWSER.FONT_AWESOME_PRO
fields:
use_alt_arrows:
type: toggle
label: PLUGIN_FILE_BROWSER.USE_ALT_ARROWS
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
icon_weight:
type: select
label: PLUGIN_FILE_BROWSER.ICON_WEIGHT
default: "fas"
options:
"fas": PLUGIN_FILE_BROWSER.ICON_WEIGHT_FAS
"far": PLUGIN_FILE_BROWSER.ICON_WEIGHT_FAR
"fal": PLUGIN_FILE_BROWSER.ICON_WEIGHT_FAL
"fad": PLUGIN_FILE_BROWSER.ICON_WEIGHT_FAD
sort_section:
type: section
title: PLUGIN_FILE_BROWSER.SORT_SECTION
text: PLUGIN_FILE_BROWSER.SORT_NOTE
fields:
sort_show:
type: toggle
label: PLUGIN_FILE_BROWSER.SORT_SHOW
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
sort_reverse:
type: toggle
label: PLUGIN_FILE_BROWSER.SORT_REVERSE
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
sort_icon_asc:
type: text
label: PLUGIN_FILE_BROWSER.SORT_ASCENDING
placeholder: 'eg. fa-sort-alpha-down'
sort_icon_desc:
type: text
label: PLUGIN_FILE_BROWSER.SORT_DESCENDING
placeholder: 'eg. fa-sort-alpha-up'
file_icons:
type: section
title: PLUGIN_FILE_BROWSER.FILE_ICONS
text: PLUGIN_FILE_BROWSER.FILE_ICONS_TEXT
fields:
file_icon_default:
type: text
label: PLUGIN_FILE_BROWSER.FILE_ICON_DEFAULT
default: "fa-file-alt"
colourise_icons:
type: toggle
label: PLUGIN_FILE_BROWSER.COLOURISE_ICONS
help: PLUGIN_FILE_BROWSER.COLOURISE_ICONS_HELP
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
show_thumbnails:
type: toggle
label: PLUGIN_FILE_BROWSER.SHOW_THUMBNAILS
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
file_icons_specific:
type: toggle
label: PLUGIN_FILE_BROWSER.FILE_ICONS_SPECIFIC
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
file_icon_types:
type: array
label: PLUGIN_FILE_BROWSER.FILE_ICON_TYPES
default:
"fa-file-word": "doc, docx, odt, rtf"
"fa-file-csv": "csv"
"fa-file-excel": "xls, xlsx, ods"
"fa-file-powerpoint": "ppt, pps, pptx, ppsx, odp"
"fa-file-archive": "zip"
"fa-file-video": "mp4, mov"
"fa-file-audio": "mp3, ogg, wav"
"fa-file-pdf": "pdf"