diff --git a/ui/src/global.css b/ui/src/global.css index 0cf2aee9c..54dc2549b 100644 --- a/ui/src/global.css +++ b/ui/src/global.css @@ -59,3 +59,9 @@ line-height: 1; } } + +@layer components { + .container { + @apply mx-auto max-w-320; + } +} diff --git a/ui/src/i18n/locales/zh/nls.certificate.json b/ui/src/i18n/locales/zh/nls.certificate.json index 6ea7260a3..470d5756d 100644 --- a/ui/src/i18n/locales/zh/nls.certificate.json +++ b/ui/src/i18n/locales/zh/nls.certificate.json @@ -3,7 +3,7 @@ "certificate.page.subtitle": "SSL 证书含有网站的公钥和网站标识以及其他相关信息。它们来自于工作流的执行输出。", "certificate.nodata.title": "暂无证书", - "certificate.nodata.description": "当前未找到任何认证。请先运行一个工作流以生成证书。", + "certificate.nodata.description": "当前未找到任何认证。请先执行一个工作流以生成证书。", "certificate.nodata.button": "前往工作流", "certificate.search.placeholder": "按证书名称或序列号搜索……", diff --git a/ui/src/i18n/locales/zh/nls.dashboard.json b/ui/src/i18n/locales/zh/nls.dashboard.json index 53ef62e72..f9912c35a 100644 --- a/ui/src/i18n/locales/zh/nls.dashboard.json +++ b/ui/src/i18n/locales/zh/nls.dashboard.json @@ -8,7 +8,7 @@ "dashboard.statistics.enabled_workflows": "已启用工作流", "dashboard.latest_workflow_runs": "最近执行的工作流", - "dashboard.latest_workflow_runs.nodata.description": "当前未找到任何工作流执行记录。请先运行一个工作流。", + "dashboard.latest_workflow_runs.nodata.description": "当前未找到任何工作流执行记录。请先执行一个工作流。", "dashboard.latest_workflow_runs.nodata.button": "前往工作流", "dashboard.quick_actions": "快捷操作", diff --git a/ui/src/i18n/locales/zh/nls.workflow.runs.json b/ui/src/i18n/locales/zh/nls.workflow.runs.json index bc02aa1c1..5833dbfc1 100644 --- a/ui/src/i18n/locales/zh/nls.workflow.runs.json +++ b/ui/src/i18n/locales/zh/nls.workflow.runs.json @@ -10,7 +10,7 @@ "workflow_run.deletion.alert": "执行记录中包含工作流各节点的执行结果,删除后可能导致因找不到前次执行结果而触发重新申请或部署证书。如无必要请勿提前删除,建议保留至少 180 天。", "workflow_run.cancellation.alert": "如遇进程意外中止、服务器超时等原因,你可以手动取消长时间挂起的执行,避免阻塞后续执行。", - "workflow_run.nodata.description": "当前未找到任何执行记录。请先运行此工作流。", + "workflow_run.nodata.description": "当前未找到任何执行记录。请先执行此工作流。", "workflow_run.props.id": "ID", "workflow_run.props.status": "状态", diff --git a/ui/src/pages/ConsoleLayout.tsx b/ui/src/pages/ConsoleLayout.tsx index a8e628d5c..175bc4b5e 100644 --- a/ui/src/pages/ConsoleLayout.tsx +++ b/ui/src/pages/ConsoleLayout.tsx @@ -69,7 +69,7 @@ const ConsoleLayout = () => {
-
+
{ return (
-
+

{t("access.page.title")}

{t("access.page.subtitle")}

+
+
diff --git a/ui/src/pages/accesses/AccessNew.tsx b/ui/src/pages/accesses/AccessNew.tsx index dc4686698..85065344b 100644 --- a/ui/src/pages/accesses/AccessNew.tsx +++ b/ui/src/pages/accesses/AccessNew.tsx @@ -85,12 +85,12 @@ const AccessNew = () => { return (
-
+

{t("access.new.title")}

{t("access.new.subtitle")}

-
+
{ return (
-
+

{t("certificate.page.title")}

{t("certificate.page.subtitle")}

+
+
diff --git a/ui/src/pages/dashboard/Dashboard.tsx b/ui/src/pages/dashboard/Dashboard.tsx index 3e36b551a..5462528da 100644 --- a/ui/src/pages/dashboard/Dashboard.tsx +++ b/ui/src/pages/dashboard/Dashboard.tsx @@ -39,9 +39,11 @@ const Dashboard = () => { return (
-
+

{t("dashboard.page.title")}

+
+
diff --git a/ui/src/pages/settings/Settings.tsx b/ui/src/pages/settings/Settings.tsx index 9386e19f4..41a0dae5a 100644 --- a/ui/src/pages/settings/Settings.tsx +++ b/ui/src/pages/settings/Settings.tsx @@ -34,9 +34,11 @@ const Settings = () => { return (
-
+

{t("settings.page.title")}

+
+
v === formInst.getFieldValue("newPassword"), { error: t("settings.account.password.form.email.password.errmsg.not_matched"), }), diff --git a/ui/src/pages/workflows/WorkflowDetail.tsx b/ui/src/pages/workflows/WorkflowDetail.tsx index 921ec8a0f..b4be3d1ce 100644 --- a/ui/src/pages/workflows/WorkflowDetail.tsx +++ b/ui/src/pages/workflows/WorkflowDetail.tsx @@ -93,7 +93,7 @@ const WorkflowDetail = () => { return (
-
+
@@ -135,7 +135,7 @@ const WorkflowDetail = () => { +
} diff --git a/ui/src/pages/workflows/WorkflowDetailRuns.tsx b/ui/src/pages/workflows/WorkflowDetailRuns.tsx index 9f597bab2..f5950da80 100644 --- a/ui/src/pages/workflows/WorkflowDetailRuns.tsx +++ b/ui/src/pages/workflows/WorkflowDetailRuns.tsx @@ -274,7 +274,7 @@ const WorkflowDetailRuns = () => { }; return ( -
+
} showIcon type="info" /> } showIcon type="info" /> diff --git a/ui/src/pages/workflows/WorkflowList.tsx b/ui/src/pages/workflows/WorkflowList.tsx index 88641169a..0c7362d90 100644 --- a/ui/src/pages/workflows/WorkflowList.tsx +++ b/ui/src/pages/workflows/WorkflowList.tsx @@ -415,10 +415,12 @@ const WorkflowList = () => { return (
-
+

{t("workflow.page.title")}

{t("workflow.page.subtitle")}

+
+
diff --git a/ui/src/pages/workflows/WorkflowNew.tsx b/ui/src/pages/workflows/WorkflowNew.tsx index 6524fb1f3..a4115b1a1 100644 --- a/ui/src/pages/workflows/WorkflowNew.tsx +++ b/ui/src/pages/workflows/WorkflowNew.tsx @@ -72,12 +72,12 @@ const WorkflowNew = () => { return (
-
+

{t("workflow.new.title")}

{t("workflow.new.subtitle")}

-
+
{t("workflow.new.templates.title")}