diff --git a/ui/src/assets/chat/user-login-bg.png b/ui/src/assets/chat/user-login-bg.png new file mode 100644 index 000000000..261ae5054 Binary files /dev/null and b/ui/src/assets/chat/user-login-bg.png differ diff --git a/ui/src/layout/login-layout/UserLoginLayout.vue b/ui/src/layout/login-layout/UserLoginLayout.vue index f7222795f..1e2f4c713 100644 --- a/ui/src/layout/login-layout/UserLoginLayout.vue +++ b/ui/src/layout/login-layout/UserLoginLayout.vue @@ -11,6 +11,6 @@ diff --git a/ui/src/locales/lang/en-US/views/model.ts b/ui/src/locales/lang/en-US/views/model.ts index 2c8a648eb..2f4c70e28 100644 --- a/ui/src/locales/lang/en-US/views/model.ts +++ b/ui/src/locales/lang/en-US/views/model.ts @@ -5,8 +5,9 @@ export default { addModel: 'Add Model', delete: { - confirmTitle: 'Delete Model', - confirmMessage: 'Are you sure you want to delete the model:', + confirmTitle: 'Delete Model:', + confirmMessage: + 'Deleting the model will affect the resources currently using it. Please proceed with caution.', }, tip: { createSuccessMessage: 'Model created successfully', diff --git a/ui/src/locales/lang/en-US/views/tool.ts b/ui/src/locales/lang/en-US/views/tool.ts index aadccf95b..410150488 100644 --- a/ui/src/locales/lang/en-US/views/tool.ts +++ b/ui/src/locales/lang/en-US/views/tool.ts @@ -1,7 +1,5 @@ export default { title: 'Tool', - internalTitle: 'Internal Tool', - added: 'Added', createTool: 'Create Tool', editTool: 'Edit Tool', copyTool: 'Copy Tool', @@ -16,7 +14,7 @@ export default { image: 'Image', developer: 'Developer', communication: 'Communication', - searchResult: '{count} search results for' + searchResult: '{count} search results for', }, searchBar: { placeholder: 'Search by tool name', @@ -38,6 +36,7 @@ export default { form: { toolName: { label: 'Name', + name: 'Tool Name', placeholder: 'Please enter the tool name', requiredMessage: 'Please enter the tool name', }, diff --git a/ui/src/locales/lang/zh-CN/views/model.ts b/ui/src/locales/lang/zh-CN/views/model.ts index 16de7793a..413c82343 100644 --- a/ui/src/locales/lang/zh-CN/views/model.ts +++ b/ui/src/locales/lang/zh-CN/views/model.ts @@ -4,8 +4,8 @@ export default { providerPlaceholder: '选择供应商', addModel: '添加模型', delete: { - confirmTitle: '删除模型', - confirmMessage: '是否删除模型:', + confirmTitle: '是否删除:', + confirmMessage: '模型删除后将影响正在使用该模型的资源,请谨慎操作。', }, tip: { createSuccessMessage: '创建模型成功', diff --git a/ui/src/locales/lang/zh-CN/views/tool.ts b/ui/src/locales/lang/zh-CN/views/tool.ts index f07b18089..483aa157e 100644 --- a/ui/src/locales/lang/zh-CN/views/tool.ts +++ b/ui/src/locales/lang/zh-CN/views/tool.ts @@ -14,9 +14,12 @@ export default { image: '图像', developer: '开发者', communication: '通信', - searchResult: '的搜索结果 {count} 个' + searchResult: '的搜索结果 {count} 个', + }, + delete: { + confirmTitle: '是否刪除工具:', + confirmMessage: '删除后,引用了该工具的应用提问时会报错 ,请谨慎操作。', }, - enabled: '启用', disabled: { confirmTitle: '是否禁用工具:', confirmMessage: '禁用后,引用了该工具的应用提问时会报错 ,请谨慎操作。', diff --git a/ui/src/locales/lang/zh-Hant/views/model.ts b/ui/src/locales/lang/zh-Hant/views/model.ts index 8c3794099..d01f705a9 100644 --- a/ui/src/locales/lang/zh-Hant/views/model.ts +++ b/ui/src/locales/lang/zh-Hant/views/model.ts @@ -4,8 +4,8 @@ export default { providerPlaceholder: '選擇供應商', addModel: '新增模型', delete: { - confirmTitle: '刪除模型', - confirmMessage: '是否刪除模型:', + confirmTitle: '是否刪除: ', + confirmMessage: '模型刪除後將影響正在使用該模型的資源,請謹慎操作。', }, tip: { createSuccessMessage: '創建模型成功', diff --git a/ui/src/locales/lang/zh-Hant/views/tool.ts b/ui/src/locales/lang/zh-Hant/views/tool.ts index b7ef5cb98..cde32d1cd 100644 --- a/ui/src/locales/lang/zh-Hant/views/tool.ts +++ b/ui/src/locales/lang/zh-Hant/views/tool.ts @@ -1,7 +1,5 @@ export default { title: '工具', - internalTitle: '內置工具', - added: '已新增', createTool: '建立工具', editTool: '編輯工具', copyTool: '複製工具', @@ -16,7 +14,7 @@ export default { image: '圖像', developer: '開發者', communication: '通信', - searchResult: '的搜索結果 {count} 個' + searchResult: '的搜索結果 {count} 個', }, searchBar: { placeholder: '按工具名稱搜尋', @@ -26,7 +24,7 @@ export default { }, delete: { confirmTitle: '是否刪除工具:', - confirmMessage: '刪除後,引用該工具的應用在查詢時會報錯,請謹慎操作。', + confirmMessage: '刪除後,引用該函數的應用在查詢時會報錯,請謹慎操作。', }, disabled: { confirmTitle: '是否停用工具:', @@ -35,6 +33,7 @@ export default { form: { toolName: { label: '名稱', + name: '工具名稱', placeholder: '請輸入工具名稱', requiredMessage: '請輸入工具名稱', }, diff --git a/ui/src/styles/variables.scss b/ui/src/styles/variables.scss index fe19302da..321b1dde7 100644 --- a/ui/src/styles/variables.scss +++ b/ui/src/styles/variables.scss @@ -1,4 +1,3 @@ -$primary-color: #3370ff; :root { --app-base-px: 8px; --app-layout-bg-color: #f5f6f7; diff --git a/ui/src/views/application/index.vue b/ui/src/views/application/index.vue index c20ec7eb6..7951bbf2e 100644 --- a/ui/src/views/application/index.vue +++ b/ui/src/views/application/index.vue @@ -442,7 +442,7 @@ function deleteApplication(row: any) { { confirmButtonText: t('common.confirm'), cancelButtonText: t('common.cancel'), - confirmButtonClass: 'color-danger', + confirmButtonClass: 'danger', }, ) .then(() => { diff --git a/ui/src/views/chat/pc/index.vue b/ui/src/views/chat/pc/index.vue index f614199f4..320d83ee8 100644 --- a/ui/src/views/chat/pc/index.vue +++ b/ui/src/views/chat/pc/index.vue @@ -70,7 +70,10 @@
- + + + +