feat(ui): add AccessEditDrawer component

This commit is contained in:
Fu Diwei
2025-04-02 11:02:09 +08:00
parent 899a0b75b0
commit 949660bc01
4 changed files with 133 additions and 15 deletions

View File

@@ -48,10 +48,10 @@
"access.form.acmehttpreq_mode.label": "Mode",
"access.form.acmehttpreq_mode.placeholder": "Please select mode",
"access.form.acmehttpreq_mode.tooltip": "For more information, see <a href=\"https://go-acme.github.io/lego/dns/httpreq/\" target=\"_blank\">https://go-acme.github.io/lego/dns/httpreq/</a>",
"access.form.acmehttpreq_username.label": "HTTP Basic Auth username",
"access.form.acmehttpreq_username.label": "HTTP Basic Auth username (Optional)",
"access.form.acmehttpreq_username.placeholder": "Please enter HTTP Basic Auth username",
"access.form.acmehttpreq_username.tooltip": "For more information, see <a href=\"https://go-acme.github.io/lego/dns/httpreq/\" target=\"_blank\">https://go-acme.github.io/lego/dns/httpreq/</a>",
"access.form.acmehttpreq_password.label": "HTTP Basic Auth password",
"access.form.acmehttpreq_password.label": "HTTP Basic Auth password (Optional)",
"access.form.acmehttpreq_password.placeholder": "Please enter HTTP Basic Auth password",
"access.form.acmehttpreq_password.tooltip": "For more information, see <a href=\"https://go-acme.github.io/lego/dns/httpreq/\" target=\"_blank\">https://go-acme.github.io/lego/dns/httpreq/</a>",
"access.form.aliyun_access_key_id.label": "Aliyun AccessKeyId",
@@ -251,14 +251,14 @@
"access.form.ssh_port.placeholder": "Please enter server port",
"access.form.ssh_username.label": "Username",
"access.form.ssh_username.placeholder": "Please enter username",
"access.form.ssh_password.label": "Password",
"access.form.ssh_password.label": "Password (Optional)",
"access.form.ssh_password.placeholder": "Please enter password",
"access.form.ssh_password.tooltip": "Required when using password to connect to SSH.",
"access.form.ssh_key.label": "SSH key",
"access.form.ssh_key.label": "SSH key (Optional)",
"access.form.ssh_key.placeholder": "Please enter SSH key",
"access.form.ssh_key.upload": "Choose file ...",
"access.form.ssh_key.tooltip": "Required when using key to connect to SSH.",
"access.form.ssh_key_passphrase.label": "SSH key passphrase",
"access.form.ssh_key_passphrase.label": "SSH key passphrase (Optional)",
"access.form.ssh_key_passphrase.placeholder": "Please enter SSH key passphrase",
"access.form.ssh_key_passphrase.tooltip": "Optional when using key to connect to SSH.",
"access.form.sslcom_eab_kid.label": "ACME EAB KID",

View File

@@ -48,10 +48,10 @@
"access.form.acmehttpreq_mode.label": "模式",
"access.form.acmehttpreq_mode.placeholder": "请选择模式",
"access.form.acmehttpreq_mode.tooltip": "这是什么?请参阅 <a href=\"https://go-acme.github.io/lego/dns/httpreq/\" target=\"_blank\">https://go-acme.github.io/lego/dns/httpreq/</a>",
"access.form.acmehttpreq_username.label": "HTTP 基本认证用户名",
"access.form.acmehttpreq_username.label": "HTTP 基本认证用户名(可选)",
"access.form.acmehttpreq_username.placeholder": "请输入 HTTP 基本认证用户名",
"access.form.acmehttpreq_username.tooltip": "这是什么?请参阅 <a href=\"https://go-acme.github.io/lego/dns/httpreq/\" target=\"_blank\">https://go-acme.github.io/lego/dns/httpreq/</a>",
"access.form.acmehttpreq_password.label": "HTTP 基本认证密码",
"access.form.acmehttpreq_password.label": "HTTP 基本认证密码(可选)",
"access.form.acmehttpreq_password.placeholder": "请输入 HTTP 基本认证密码",
"access.form.acmehttpreq_password.tooltip": "这是什么?请参阅 <a href=\"https://go-acme.github.io/lego/dns/httpreq/\" target=\"_blank\">https://go-acme.github.io/lego/dns/httpreq/</a>",
"access.form.aliyun_access_key_id.label": "阿里云 AccessKeyId",
@@ -245,14 +245,14 @@
"access.form.ssh_port.placeholder": "请输入服务器端口",
"access.form.ssh_username.label": "用户名",
"access.form.ssh_username.placeholder": "请输入用户名",
"access.form.ssh_password.label": "密码",
"access.form.ssh_password.label": "密码(可选)",
"access.form.ssh_password.placeholder": "请输入密码",
"access.form.ssh_password.tooltip": "使用密码连接到 SSH 时必填。<br>该字段与密钥文件字段二选一,如果同时填写优先使用 SSH 密钥登录。",
"access.form.ssh_key.label": "SSH 密钥",
"access.form.ssh_key.label": "SSH 密钥(可选)",
"access.form.ssh_key.placeholder": "请输入 SSH 密钥文件",
"access.form.ssh_key.upload": "选择文件",
"access.form.ssh_key.tooltip": "使用 SSH 密钥连接到 SSH 时必填。<br>该字段与密码字段二选一,如果同时填写优先使用 SSH 密钥登录。",
"access.form.ssh_key_passphrase.label": "SSH 密钥口令",
"access.form.ssh_key_passphrase.label": "SSH 密钥口令(可选)",
"access.form.ssh_key_passphrase.placeholder": "请输入 SSH 密钥口令",
"access.form.ssh_key_passphrase.tooltip": "使用 SSH 密钥连接到 SSH 时选填。",
"access.form.sslcom_eab_kid.label": "ACME EAB KID",