Добавление и исправление комментариев, начало добавление валидации, сообщение прокрути viewport на форме

This commit is contained in:
XeRo 2026-01-20 17:40:21 +05:00
parent c7ff7662ba
commit e37cabadcc
14 changed files with 371 additions and 297 deletions

View file

@ -159,6 +159,9 @@ sections:
variable-name: "is_secure"
field-type: "check"
description: "Использовать SSL"
validate:
- rule: "min(1,nginx_port)"
message: "Значение слишком большое"
- name: "server_address"
variable-name: "server_address"
field-type: "input"
@ -284,6 +287,9 @@ sections:
variable-name: "debian_root"
field-type: "directory"
description: "Директория debian"
validate:
- rule: "dir_exists(debian_root)"
message: "Папка не существует"
- name: "finale"
description: "Последний этап, проверьте правильность введенных данных"
type: "final"
@ -307,8 +313,8 @@ sections:
error: "Ошибка при создании файла repko.target.service"
- name: "update_repko_ini"
type: "file_template"
# file-source: "/home/test/Projects/Personal/GoSetup/_public/files/donor/config.donor.ini"
# file-target: "/home/test/Projects/Personal/GoSetup/_public/files/target/config.target.ini"
# file-source: "/home/test/Projects/Personal/GoSetup/_public/files/donor/config.donor.ini"
# file-target: "/home/test/Projects/Personal/GoSetup/_public/files/target/config.target.ini"
file-source: "http://gsg.site/_public/config.donor.ini"
file-target: "/home/test/Projects/Personal/GoSetup/_public/files/target/http.config.ini"
error: "Ошибка при создании файла repko.target.service"