+ columns={tableColumns}
+ dataSource={tableData}
+ expandable={{
+ expandedRowKeys: tableExpandedKeys,
+ expandedRowRender: (record) => record.advancedForm,
+ rowExpandable: (record) => !!record.advanced,
+ showExpandColumn: false,
+ }}
+ rowHoverable={false}
+ pagination={false}
+ rowKey={(record) => record.format}
+ size="medium"
+ />
+
+
+ >
+ );
+};
+
+export default CertificateDownloadModal;
diff --git a/ui/src/components/workflow/WorkflowRunDetail.tsx b/ui/src/components/workflow/WorkflowRunDetail.tsx
index 37b98db92..318787a0b 100644
--- a/ui/src/components/workflow/WorkflowRunDetail.tsx
+++ b/ui/src/components/workflow/WorkflowRunDetail.tsx
@@ -412,7 +412,7 @@ const WorkflowRunArtifacts = ({ runData }: { runData: WorkflowRunModel }) => {
{
key: "$action",
align: "end",
- width: 32,
+ width: 64,
render: (_, record) => (
{
}}
pagination={false}
rowKey={(record) => record.id}
- size="small"
+ size="medium"
/>
);
};
diff --git a/ui/src/i18n/resources/en/nls.certificate.json b/ui/src/i18n/resources/en/nls.certificate.json
index 552bffc66..7a0c2eb0e 100644
--- a/ui/src/i18n/resources/en/nls.certificate.json
+++ b/ui/src/i18n/resources/en/nls.certificate.json
@@ -30,6 +30,65 @@
"batch_delete.modal": {
"title": "Delete certificates",
"content": "Are you sure want to delete these {{count}} selected certificates?
This action cannot be undone."
+ },
+ "download.modal": {
+ "title": "Download certificate",
+ "form": {
+ "format": {
+ "label": "Format",
+ "option": {
+ "pem": {
+ "label": "PEM (*.pem, *.crt, *.key)",
+ "description": "Suitable for most scenarios. Supported by servers like Apache, Nginx."
+ },
+ "pfx": {
+ "label": "PFX (*.pfx, *.p12)",
+ "description": "Supported by servers like IIS."
+ },
+ "jks": {
+ "label": "JKS (*.jks)",
+ "description": "Supported by servers like Tomcat."
+ }
+ }
+ },
+ "pfx_password": {
+ "label": "PFX Password (Optional)",
+ "placeholder": "Please enter PFX password"
+ },
+ "pfx_encoder": {
+ "label": "PFX Encoder (Optional)",
+ "placeholder": "Please select PFX encoder",
+ "option": {
+ "legacyrc2": {
+ "label": "LegacyRC2 (RC2, compatible with older systems, but less secure)"
+ },
+ "legacydes": {
+ "label": "LegacyDES (3DES + SHA-1, default)"
+ },
+ "modern2023": {
+ "label": "Modern2023 (AES-256-CBC + SHA-256 MAC, compatible with OpenSSL v1.1.1+)"
+ },
+ "modern2026": {
+ "label": "Modern2026 (AES-256-CBC + PBMAC1 MAC, compatible with OpenSSL v3.4.0+)"
+ }
+ }
+ },
+ "jks_alias": {
+ "label": "JKS Alias (Optional)",
+ "placeholder": "Please enter JKS alias"
+ },
+ "jks_keypass": {
+ "label": "JKS Key password (Optional)",
+ "placeholder": "Please enter JKS key password"
+ },
+ "jks_storepass": {
+ "label": "JKS Store password (Optional)",
+ "placeholder": "Please enter JKS store password"
+ }
+ },
+ "action": {
+ "advanced.button": "Advanced"
+ }
}
},
diff --git a/ui/src/i18n/resources/zh/nls.certificate.json b/ui/src/i18n/resources/zh/nls.certificate.json
index a23a7a4fe..eba234321 100644
--- a/ui/src/i18n/resources/zh/nls.certificate.json
+++ b/ui/src/i18n/resources/zh/nls.certificate.json
@@ -30,6 +30,65 @@
"batch_delete.modal": {
"title": "删除证书",
"content": "确定要删除这 {{count}} 个被选中的证书吗?
注意此操作不可撤销,请谨慎操作。"
+ },
+ "download.modal": {
+ "title": "下载证书",
+ "form": {
+ "format": {
+ "label": "格式",
+ "option": {
+ "pem": {
+ "label": "PEM 格式(*.pem, *.crt, *.key)",
+ "description": "适用于大部分场景。Apache、Nginx 等服务器支持此格式。"
+ },
+ "pfx": {
+ "label": "PFX 格式(*.pfx, *.p12)",
+ "description": "IIS 等服务器支持此格式。"
+ },
+ "jks": {
+ "label": "JKS 格式(*.jks)",
+ "description": "Tomcat 等服务器支持此格式。"
+ }
+ }
+ },
+ "pfx_password": {
+ "label": "PFX 密码(可选)",
+ "placeholder": "请输入 PFX 导出密码"
+ },
+ "pfx_encoder": {
+ "label": "PFX 编码器(可选)",
+ "placeholder": "请选择 PFX 编码器",
+ "option": {
+ "legacyrc2": {
+ "label": "LegacyRC2(RC2,兼容旧系统,但安全性较低)"
+ },
+ "legacydes": {
+ "label": "LegacyDES(3DES + SHA-1,默认值)"
+ },
+ "modern2023": {
+ "label": "Modern2023(AES-256-CBC + SHA-256 MAC,适配 OpenSSL v1.1.1+)"
+ },
+ "modern2026": {
+ "label": "Modern2026(AES-256-CBC + PBMAC1 MAC,适配 OpenSSL v3.4.0+)"
+ }
+ }
+ },
+ "jks_alias": {
+ "label": "JKS 别名(可选)",
+ "placeholder": "请输入 JKS 别名"
+ },
+ "jks_keypass": {
+ "label": "JKS 私钥访问口令(可选)",
+ "placeholder": "请输入 JKS 私钥访问口令"
+ },
+ "jks_storepass": {
+ "label": "JKS 密钥库存储口令(可选)",
+ "placeholder": "请输入 JKS 密钥库存储口令"
+ }
+ },
+ "action": {
+ "advanced.button": "高级"
+ }
}
},