From 1ce349a23888471e92f25a38c85efe5f5adb272f Mon Sep 17 00:00:00 2001 From: HynoR <20227709+HynoR@users.noreply.github.com> Date: Sun, 14 Dec 2025 13:17:05 +0800 Subject: [PATCH 1/7] feat: improve website create function and interface --- frontend/src/lang/modules/en.ts | 3 + frontend/src/lang/modules/zh.ts | 3 + .../views/website/website/create/index.vue | 141 +++++----- .../website/website/domain-create/index.vue | 245 ++++++++++++++---- 4 files changed, 266 insertions(+), 126 deletions(-) diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index b934867df2e1..a568c396aa2a 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -2639,6 +2639,9 @@ const message = { createDb: 'Create Database', enableSSLHelper: 'Failure to enable will not affect the creation of the website', batchAdd: 'Batch Add Domains', + batchInput: 'Batch Input', + domainNotFQDN: 'This domain may not be accessible on the public network', + domainBatchHelper: 'One domain per line, format: domain:port@ssl\nExample: example.com:443@ssl or example.com', generateDomain: 'Generate', global: 'Global', subsite: 'Subsite', diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index 01377e8dfad6..f9fcda8cf1f8 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -2451,6 +2451,9 @@ const message = { createDb: '创建数据库', enableSSLHelper: '开启失败不会影响网站创建', batchAdd: '批量添加域名', + batchInput: '批量编辑', + domainNotFQDN: '该域名可能无法在公网访问', + domainBatchHelper: '一行一个域名,格式:域名:端口\n示例:example.com', generateDomain: '生成', global: '全局', subsite: '子网站', diff --git a/frontend/src/views/website/website/create/index.vue b/frontend/src/views/website/website/create/index.vue index 2c74cd1f2b7a..cc67c4a7577f 100644 --- a/frontend/src/views/website/website/create/index.vue +++ b/frontend/src/views/website/website/create/index.vue @@ -1,21 +1,5 @@