diff options
author | a1012112796 <1012112796@qq.com> | 2021-02-22 09:14:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-21 20:14:27 -0500 |
commit | 1ecdc55aff223048c9a469c38966378d785fbd31 (patch) | |
tree | cdcc35c06ad12b7dc419054ee51afae695c13a03 /templates/user | |
parent | a50ca283555e8c50fc56cbf035932ff612310598 (diff) | |
download | gitea-1ecdc55aff223048c9a469c38966378d785fbd31.tar.gz gitea-1ecdc55aff223048c9a469c38966378d785fbd31.zip |
fix link account ui (#14763)
Signed-off-by: a1012112796 <1012112796@qq.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/auth/link_account.tmpl | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/templates/user/auth/link_account.tmpl b/templates/user/auth/link_account.tmpl index 183c16aa12..39e312bd66 100644 --- a/templates/user/auth/link_account.tmpl +++ b/templates/user/auth/link_account.tmpl @@ -12,18 +12,17 @@ {{.i18n.Tr "auth.oauth_signin_tab"}} </a> </div> - - <div class="ui middle very relaxed page grid"> - <div class="column"> - <div class="ui tab {{if not .user_exists}}active{{end}}" - data-tab="auth-link-signup-tab"> - {{template "user/auth/signup_inner" .}} - </div> - <div class="ui tab {{if .user_exists}}active{{end}}" - data-tab="auth-link-signin-tab"> - <div class="ui user signin container icon"> - {{template "user/auth/signin_inner" .}} - </div> + </div> + <div class="ui middle very relaxed page grid"> + <div class="column"> + <div class="ui tab {{if not .user_exists}}active{{end}}" + data-tab="auth-link-signup-tab"> + {{template "user/auth/signup_inner" .}} + </div> + <div class="ui tab {{if .user_exists}}active{{end}}" + data-tab="auth-link-signin-tab"> + <div class="ui user signin container icon"> + {{template "user/auth/signin_inner" .}} </div> </div> </div> |