mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
36 lines
750 B
YAML
36 lines
750 B
YAML
title: PLUGIN_ADMIN.MEDIA
|
|
form:
|
|
validation: loose
|
|
fields:
|
|
'types':
|
|
name: medias
|
|
type: list
|
|
label: PLUGIN_ADMIN.MEDIA_TYPES
|
|
style: vertical
|
|
key: extension
|
|
controls: both
|
|
collapsed: true
|
|
|
|
fields:
|
|
.extension:
|
|
type: key
|
|
label: PLUGIN_ADMIN.FILE_EXTENSION
|
|
.type:
|
|
type: text
|
|
label: PLUGIN_ADMIN.TYPE
|
|
.thumb:
|
|
type: text
|
|
label: PLUGIN_ADMIN.THUMB
|
|
.mime:
|
|
type: text
|
|
label: PLUGIN_ADMIN.MIME_TYPE
|
|
validate:
|
|
type: lower
|
|
.image:
|
|
type: textarea
|
|
yaml: true
|
|
label: PLUGIN_ADMIN.IMAGE_OPTIONS
|
|
validate:
|
|
type: yaml
|
|
|
|
|