diff --git a/public/ng/css/gogs.css b/public/ng/css/gogs.css index 12ae89ed4b..653b4dc934 100644 --- a/public/ng/css/gogs.css +++ b/public/ng/css/gogs.css @@ -1761,6 +1761,7 @@ The register and sign-in page style #org-setting-form, #repo-setting-form, #user-profile-form, +#add-email-form, .repo-setting-form { background-color: #FFF; padding: 30px 0; @@ -1789,6 +1790,7 @@ The register and sign-in page style #org-setting-form .ipt, #repo-setting-form .ipt, #user-profile-form .ipt, +#add-email-form .ipt, .repo-setting-form .ipt { width: 360px; } @@ -1819,7 +1821,7 @@ The register and sign-in page style #repo-hooks-panel .setting-list, #repo-hooks-history-panel .setting-list, #user-social-panel .setting-list, -#user-applications-panel .setting-list, +#user-applications-panel .setting-list, #user-ssh-panel .setting-list { background-color: #FFF; } @@ -1827,6 +1829,7 @@ The register and sign-in page style #repo-hooks-history-panel .setting-list li, #user-social-panel .setting-list li, #user-applications-panel .setting-list li, +#user-email-panel .setting-list li, #user-ssh-panel .setting-list li { padding: 8px 20px; border-bottom: 1px solid #eaeaea; diff --git a/templates/user/settings/email.tmpl b/templates/user/settings/email.tmpl index fc8bcbbcf9..c5dfbeb7e1 100644 --- a/templates/user/settings/email.tmpl +++ b/templates/user/settings/email.tmpl @@ -36,19 +36,21 @@ {{end}} {{end}} -
- {{.CsrfTokenHtml}} -

{{.i18n.Tr "settings.add_new_email"}}

-

+ +

+ {{.i18n.Tr "settings.add_new_email"}} +
+ + {{.CsrfTokenHtml}} +

- +

-
- +