diff --git a/templates/user/auth/bind_phone.tmpl b/templates/user/auth/bind_phone.tmpl index 8b1378917..1e1493442 100644 --- a/templates/user/auth/bind_phone.tmpl +++ b/templates/user/auth/bind_phone.tmpl @@ -1 +1,79 @@ - +{{template "base/head" .}} +
+
+
+
+ {{.CsrfTokenHtml}} +

+ {{/*.i18n.Tr "auth.forgot_password_title"*/}} + 请绑定手机号 +

+
+ {{template "base/alert" .}} + + {{if .EnablePhone }} +
+
+ {{template "user/auth/phone_verify" .}} +
+
+ + {{end}} +
+
+ + +
+
+
+ +
+
+
+{{template "base/footer" .}} diff --git a/templates/user/auth/forgot_passwd.tmpl b/templates/user/auth/forgot_passwd.tmpl index 1e061763a..773ec94c7 100644 --- a/templates/user/auth/forgot_passwd.tmpl +++ b/templates/user/auth/forgot_passwd.tmpl @@ -1,4 +1,14 @@ {{template "base/head" .}} +
diff --git a/templates/user/auth/forgot_passwd_phone.tmpl b/templates/user/auth/forgot_passwd_phone.tmpl new file mode 100644 index 000000000..ca98b59e4 --- /dev/null +++ b/templates/user/auth/forgot_passwd_phone.tmpl @@ -0,0 +1,47 @@ +{{template "base/head" .}} + +
+
+
+
+ {{.CsrfTokenHtml}} +

+ {{.i18n.Tr "auth.forgot_password_title"}} +

+
+ {{template "base/alert" .}} + + {{if .EnablePhone }} +
+
+ {{template "user/auth/phone_verify" .}} +
+
+ + {{end}} + +
+
+ + +
+ +
+
+
+
+
+{{template "base/footer" .}} diff --git a/templates/user/auth/phone_verify.tmpl b/templates/user/auth/phone_verify.tmpl index 84d053a1e..935940961 100644 --- a/templates/user/auth/phone_verify.tmpl +++ b/templates/user/auth/phone_verify.tmpl @@ -1,7 +1,30 @@
+
+ 手机号码 +
-
-
-
向右拖动滑块填充拼图
-
-
-
-
-
+
+
+
+
+
向右拖动滑块填充拼图
+
+
+
+
+
+
+
+
+ 手机验证码 +
@@ -217,9 +286,28 @@
获取验证码
+
+
+ 新的登录密码 +
+
+ +
+
+
+
+
+
+ + +
+
+
+ diff --git a/templates/user/auth/signin_phone.tmpl b/templates/user/auth/signin_phone.tmpl index 35c00c6f9..6821c9049 100644 --- a/templates/user/auth/signin_phone.tmpl +++ b/templates/user/auth/signin_phone.tmpl @@ -23,9 +23,9 @@
{{.CsrfTokenHtml}} - + {{if .EnablePhone }} -
+
{{template "user/auth/phone_verify" .}}
{{end}} diff --git a/templates/user/settings/profile.tmpl b/templates/user/settings/profile.tmpl index eb0d271ce..f159ca1ca 100644 --- a/templates/user/settings/profile.tmpl +++ b/templates/user/settings/profile.tmpl @@ -33,13 +33,13 @@
- {{if .EnablePhone }} -
- -
- {{template "user/auth/phone_verify" .}} -
+ {{if .EnablePhone }} +
+ +
+ {{template "user/auth/phone_verify" .}}
+
{{end}}