feat: import Havline fnOS application package
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
[
|
||||
{
|
||||
"stepTitle": "端口设置",
|
||||
"items": [
|
||||
{
|
||||
"type": "text",
|
||||
"field": "wizard_nginx_http_port",
|
||||
"label": "HTTP 反向代理端口",
|
||||
"initValue": "18080",
|
||||
"rules": [
|
||||
{ "required": true, "message": "请输入 HTTP 端口" },
|
||||
{ "pattern": "^[0-9]+$", "message": "端口必须是数字" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"field": "wizard_nginx_https_port",
|
||||
"label": "HTTPS 反向代理端口",
|
||||
"initValue": "9443",
|
||||
"rules": [
|
||||
{ "required": true, "message": "请输入 HTTPS 端口" },
|
||||
{ "pattern": "^[0-9]+$", "message": "端口必须是数字" }
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stepTitle": "基础设置",
|
||||
"items": [
|
||||
{
|
||||
"type": "select",
|
||||
"field": "wizard_timezone",
|
||||
"label": "时区",
|
||||
"initValue": "Asia/Shanghai",
|
||||
"options": [
|
||||
{ "label": "Asia/Shanghai", "value": "Asia/Shanghai" },
|
||||
{ "label": "UTC", "value": "UTC" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,70 @@
|
||||
[
|
||||
{
|
||||
"stepTitle": "端口设置",
|
||||
"items": [
|
||||
{
|
||||
"type": "text",
|
||||
"field": "wizard_service_port",
|
||||
"label": "Havline 管理端口",
|
||||
"initValue": "6893",
|
||||
"rules": [
|
||||
{ "required": true, "message": "请输入管理端口" },
|
||||
{ "pattern": "^[0-9]+$", "message": "端口必须是数字" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"field": "wizard_nginx_http_port",
|
||||
"label": "HTTP 反向代理端口",
|
||||
"initValue": "18080",
|
||||
"rules": [
|
||||
{ "required": true, "message": "请输入 HTTP 端口" },
|
||||
{ "pattern": "^[0-9]+$", "message": "端口必须是数字" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"field": "wizard_nginx_https_port",
|
||||
"label": "HTTPS 反向代理端口",
|
||||
"initValue": "9443",
|
||||
"rules": [
|
||||
{ "required": true, "message": "请输入 HTTPS 端口" },
|
||||
{ "pattern": "^[0-9]+$", "message": "端口必须是数字" }
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stepTitle": "管理员初始化",
|
||||
"items": [
|
||||
{
|
||||
"type": "password",
|
||||
"field": "wizard_initial_admin_password",
|
||||
"label": "初始管理员密码",
|
||||
"rules": [
|
||||
{ "required": true, "message": "请输入初始管理员密码" },
|
||||
{ "min": 8, "message": "密码至少 8 位" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "tips",
|
||||
"helpText": "首次启动时使用该密码创建 admin 管理员。登录后请在系统设置中修改密码。"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stepTitle": "基础设置",
|
||||
"items": [
|
||||
{
|
||||
"type": "select",
|
||||
"field": "wizard_timezone",
|
||||
"label": "时区",
|
||||
"initValue": "Asia/Shanghai",
|
||||
"options": [
|
||||
{ "label": "Asia/Shanghai", "value": "Asia/Shanghai" },
|
||||
{ "label": "UTC", "value": "UTC" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,21 @@
|
||||
[
|
||||
{
|
||||
"stepTitle": "卸载选项",
|
||||
"items": [
|
||||
{
|
||||
"type": "radio",
|
||||
"field": "wizard_uninstall_mode",
|
||||
"label": "数据处理",
|
||||
"initValue": "keep",
|
||||
"options": [
|
||||
{ "label": "保留数据(推荐)", "value": "keep" },
|
||||
{ "label": "删除全部数据", "value": "purge" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "tips",
|
||||
"helpText": "删除数据将移除数据库、证书、Nginx 配置、FRP 与 Cloudflare 配置,且无法恢复。"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user