This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Merge branch 'phone' of
https://git.openi.org.cn/OpenI/aiforge
into phone
pull/2447/head
ychao_1983
3 years ago
parent
e43085ca2e
e35c55dc73
commit
2f053cd9e1
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
templates/user/auth/signin_navbar.tmpl
+1
-1
web_src/js/standalone/phoneverify.js
+ 1
- 1
templates/user/auth/signin_navbar.tmpl
View File
@@ -1,4 +1,4 @@
{{if or .EnableOpenIDSignIn .EnableSSPI .EnableCloudBrain}}
{{if or .Enable
Phone .Enable
OpenIDSignIn .EnableSSPI .EnableCloudBrain}}
<div class="ui secondary pointing tabular top attached borderless menu new-menu navbar">
{{if .EnablePhone }}
<a class="{{if .PageIsPhoneLogin}}active{{end}} item" rel="nofollow" href="{{AppSubUrl}}/user/login/phone">
+ 1
- 1
web_src/js/standalone/phoneverify.js
View File
@@ -243,7 +243,7 @@
count--;
sendBtnEl.addClass('__disabled').text(count + (self.options && self.options.Lang && self.options.Lang.second_resend ? self.options.Lang.second_resend : 'S后重发'));
if (count <= 0) {
sendBtnEl.removeClass('__disabled').text(
+
(self.options && self.options.Lang && self.options.Lang.get_verification_code ? self.options.Lang.get_verification_code : '获取验证码'));
sendBtnEl.removeClass('__disabled').text((self.options && self.options.Lang && self.options.Lang.get_verification_code ? self.options.Lang.get_verification_code : '获取验证码'));
clearInterval(timer);
self.canSendCode = true;
self.countDownEnd = true;
Write
Preview
Loading…
Cancel
Save