From 95bdc7bbe7088d979ac0fbac1ece4d759fddb18e Mon Sep 17 00:00:00 2001 From: rafh Date: Wed, 10 Jan 2024 12:49:37 -0500 Subject: [PATCH 1/9] update sign form layout --- templates/user/auth/signin_inner.tmpl | 106 ++++++++++++------------- templates/user/auth/signin_openid.tmpl | 58 +++++++------- templates/user/auth/signup_inner.tmpl | 60 +++++++------- web_src/css/form.css | 7 +- web_src/css/helpers.css | 2 + 5 files changed, 114 insertions(+), 119 deletions(-) diff --git a/templates/user/auth/signin_inner.tmpl b/templates/user/auth/signin_inner.tmpl index 40e54ec8fa96..1305b3f48962 100644 --- a/templates/user/auth/signin_inner.tmpl +++ b/templates/user/auth/signin_inner.tmpl @@ -9,65 +9,63 @@ {{end}}
-
- {{.CsrfTokenHtml}} -
- - -
- {{if or (not .DisablePassword) .LinkAccountMode}} -
- - -
- {{end}} - {{if not .LinkAccountMode}} -
- -
- - + + {{if .OAuth2Providers}} + -
- {{end}} - - {{template "user/auth/captcha" .}} - -
- - - {{ctx.Locale.Tr "auth.forgot_password"}} -
- {{if .ShowRegistrationButton}} - - {{end}} + {{template "user/auth/captcha" .}} - {{if .OAuth2Providers}} -
- {{ctx.Locale.Tr "sign_in_or"}} -
-
-
-
- {{range $provider := .OAuth2Providers}} - - {{end}} +
+ + {{ctx.Locale.Tr "auth.forgot_password"}}
+ + {{if .ShowRegistrationButton}} + + {{end}}
-
- {{end}}
diff --git a/templates/user/auth/signin_openid.tmpl b/templates/user/auth/signin_openid.tmpl index 0428026aa8b5..cde6116100d2 100644 --- a/templates/user/auth/signin_openid.tmpl +++ b/templates/user/auth/signin_openid.tmpl @@ -1,37 +1,37 @@ {{template "base/head" .}}