From e231b5c0d0d5e36af33851e7d8799c6bd6ac0b22 Mon Sep 17 00:00:00 2001 From: Gerben Date: Sun, 6 Jan 2019 23:43:13 +0100 Subject: [PATCH] Add original signin_inner.tmpl --- templates/user/auth/signin_inner.tmpl | 64 +++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 templates/user/auth/signin_inner.tmpl diff --git a/templates/user/auth/signin_inner.tmpl b/templates/user/auth/signin_inner.tmpl new file mode 100644 index 0000000..bf1cc05 --- /dev/null +++ b/templates/user/auth/signin_inner.tmpl @@ -0,0 +1,64 @@ + {{if or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeSignIn)}} + {{template "base/alert" .}} + {{end}} +

+ {{if .LinkAccountMode}} + {{.i18n.Tr "auth.oauth_signin_title"}} + {{else}} + {{.i18n.Tr "auth.login_userpass"}} + {{end}} +

+
+
+ {{.CsrfTokenHtml}} +
+ + +
+
+ + +
+ {{if not .LinkAccountMode}} +
+ +
+ + +
+
+ {{end}} + +
+ + + {{.i18n.Tr "auth.forgot_password"}} +
+ + {{if .ShowRegistrationButton}} + + {{end}} + + {{if and .OrderedOAuth2Names .OAuth2Providers}} +
+
+
+

{{.i18n.Tr "sign_in_with"}}

{{range $key := .OrderedOAuth2Names}} + {{$provider := index $.OAuth2Providers $key}} + {{$provider.DisplayName}}{{if eq $provider.Name + {{end}} +
+
+
+ {{end}} +
+