Browse Source

手机验证码

tags/v1.22.7.1
chenshihai 3 years ago
parent
commit
ed00564fea
4 changed files with 10 additions and 4 deletions
  1. +1
    -0
      templates/user/auth/phone_verify.tmpl
  2. +3
    -0
      templates/user/auth/signin_phone.tmpl
  3. +5
    -3
      templates/user/auth/signup_inner.tmpl
  4. +1
    -1
      templates/user/settings/organization.tmpl

+ 1
- 0
templates/user/auth/phone_verify.tmpl View File

@@ -586,6 +586,7 @@
clearInterval(timer);
self.canSendCode = true;
self.countDownEnd = true;
self.refreshImages();
}
}, 1000);
};


+ 3
- 0
templates/user/auth/signin_phone.tmpl View File

@@ -10,6 +10,9 @@
.ui.secondary.pointing.menu{ border-bottom:none;}
</style>
{{template "base/alert" .}}
<div class="ui negative message" style="display:none;">
<p></p>
</div>
<div class="ui centered grid">
<div class="sixteen wide mobile ten wide tablet ten wide computer column">
<div class="ui bottom aligned two column grid">


+ 5
- 3
templates/user/auth/signup_inner.tmpl View File

@@ -7,7 +7,7 @@
<div class="ui centered grid">
<div class="sixteen wide mobile ten wide tablet ten wide computer column">
<div class="ui bottom aligned two column grid">
<div class="column">
<div class="column">
<h2 class="ui header">
{{if .LinkAccountMode}}
{{.i18n.Tr "auth.oauth_signup_title"}}
@@ -23,13 +23,15 @@
{{end}}
</div>
<div class="ui grid">
<div class="column">
<div class="column">
<form class="ui form" action="{{.SignUpLink}}" method="post">
{{.CsrfTokenHtml}}
{{if or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeRegister)}}
{{template "base/alert" .}}
{{end}}
<div class="ui negative message" style="display:none;">
<p></p>
</div>
{{if .DisableRegistration}}
<p>{{.i18n.Tr "auth.disable_register_prompt"}}</p>
{{else}}


+ 1
- 1
templates/user/settings/organization.tmpl View File

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="user settings organization">
<div class="user settings organization" style="padding-top:15px;">
{{template "user/settings/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}


Loading…
Cancel
Save