Update index.html
This commit is contained in:
parent
6149d88690
commit
1c4deca3ae
@ -198,19 +198,19 @@
|
||||
document.getElementById("origin").value = window.location.search.replace('&error', '');
|
||||
var userLang = navigator.language || navigator.userLanguage;
|
||||
if (window.location.search.indexOf('error') != -1) {
|
||||
if (userLang == 'cn') {
|
||||
if (userLang == 'zh-CN') {
|
||||
document.getElementById('error').innerHTML = '无效的用户名或密码';
|
||||
} else {
|
||||
document.getElementById('error').innerHTML = 'Invalid username or password';
|
||||
}
|
||||
document.getElementById('error').style.display = '';
|
||||
}
|
||||
if (userLang == 'cn') {
|
||||
if (userLang == 'zh-CN') {
|
||||
document.getElementById('login_header').innerHTML = '登录新空间云控平台';
|
||||
} else {
|
||||
document.getElementById('login_header').innerHTML = 'Please enter user name and password';
|
||||
}
|
||||
if (userLang == 'cn') {
|
||||
if (userLang == 'zh-CN') {
|
||||
if (document.getElementById('username').placeholder) {
|
||||
document.getElementById('username').placeholder = '用户名';
|
||||
document.getElementById('password').placeholder = '密码';
|
||||
|
Loading…
Reference in New Issue
Block a user