From d00085ea4170c63a54a79e7304b49c3f1bc31c3f Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Wed, 6 Sep 2023 22:15:36 +0800 Subject: [PATCH] fix --- templates/repo/settings/deploy_keys.tmpl | 4 ++-- templates/user/settings/keys_gpg.tmpl | 30 ++++++++++++------------ templates/user/settings/keys_ssh.tmpl | 30 ++++++++++++------------ web_src/css/shared/flex-list.css | 6 ++--- 4 files changed, 35 insertions(+), 35 deletions(-) diff --git a/templates/repo/settings/deploy_keys.tmpl b/templates/repo/settings/deploy_keys.tmpl index a9e540bc65d61..b776848a5628f 100644 --- a/templates/repo/settings/deploy_keys.tmpl +++ b/templates/repo/settings/deploy_keys.tmpl @@ -4,14 +4,14 @@ {{.locale.Tr "repo.settings.deploy_keys"}}
{{if not .DisableSSH}} - + {{else}} {{end}}
-
+
{{.CsrfTokenHtml}}
diff --git a/templates/user/settings/keys_gpg.tmpl b/templates/user/settings/keys_gpg.tmpl index e7a66de23f72e..2ecebcd7c01b6 100644 --- a/templates/user/settings/keys_gpg.tmpl +++ b/templates/user/settings/keys_gpg.tmpl @@ -1,11 +1,11 @@

{{.locale.Tr "settings.manage_gpg_keys"}}
- +

-
+
{{.CsrfTokenHtml}} @@ -41,7 +41,10 @@
- {{.locale.Tr "settings.gpg_desc"}} +

+ {{.locale.Tr "settings.gpg_desc"}}
+ {{.locale.Tr "settings.gpg_helper" "https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/about-commit-signature-verification#gpg-commit-signature-verification" | Str2html}} +

{{range .GPGKeys}}
@@ -107,17 +110,14 @@ {{end}} {{end}}
-
-
-

{{.locale.Tr "settings.gpg_helper" "https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/about-commit-signature-verification#gpg-commit-signature-verification" | Str2html}}

- -