1
0
forked from Git/send_ynh

add config panel

This commit is contained in:
Éric Gaspar
2024-11-07 09:26:42 +01:00
parent 8e5ef1a4b3
commit e50cf3a545
4 changed files with 86 additions and 3 deletions

42
config_panel.toml Normal file
View File

@ -0,0 +1,42 @@
version = "1.0"
[main]
name.en = "Send configuration"
name.fr = "Configuration de Send"
services = ["__APP__"]
[main.config]
name.en = "Configuration Options"
name.fr = "Options de configuration"
[main.config.max_file_size]
ask.en = "Max File Size"
ask.fr = "Taille maximale du fichier"
type = "number"
default = "2684354560"
help.en = "Define the maximum file size limit"
help.fr = "Définir la limite de taille maximale du fichier"
bind = ":__INSTALL_DIR__/server/config.js"
[main.config.max_download]
ask.en = "Max download"
ask.fr = "Téléchargement maximal"
type = "number"
default = "100"
help.en = "Define the maximum download limit"
help.fr = "Définir la limite maximale du nombre de téléchargement"
bind = ":__INSTALL_DIR__/server/config.js"
[main.config.custom_title]
ask.en = "Custom Title"
ask.fr = "Titre personnalisé"
type = "string"
help = "Add a custom title for Send"
bind = ":__INSTALL_DIR__/server/config.js"
[main.config.custom_description]
ask.en = "Custom Description"
ask.fr = "Description personnalisée"
type = "string"
help = "Add a custom description for Send"
bind = ":__INSTALL_DIR__/server/config.js"