You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.7 KiB
48 lines
1.7 KiB
<!DOCTYPE html> |
|
<html> |
|
<head> |
|
<meta charset="UTF-8"> |
|
<title>Ushio Login</title> |
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
|
<meta name="Keywords" content="Login,ushio,iotcat,呓喵酱,yimian"> |
|
<meta name="Description" content="Login module for Ushio ecosystem."> |
|
<script type="text/javascript">block_aplayer = true;</script> |
|
<script src="https://cdn.yimian.xyz/ushio-js/ushio-head.min.js"></script> |
|
|
|
</head> |
|
<body> |
|
<script type="text/javascript" src="https://cdn.yimian.xyz/ushio-js/ushio-footer.min.js"></script> |
|
<script> |
|
if(page.params.hasOwnProperty('from')){ |
|
cookie.set('_from', encodeURI(page.params.from)); |
|
} |
|
session.onload(function(){ |
|
if(session.get('group') == 'anonymous'){ |
|
if(page.params.hasOwnProperty('require')){ |
|
window.location.href='/login.html?require='+page.params.require; |
|
}else{ |
|
window.location.href='/login.html'; |
|
} |
|
}else{ |
|
if(!page.params.hasOwnProperty('require')){ |
|
window.location.href="/usr.html"; |
|
return; |
|
} |
|
if(page.params.require == 'tel' || page.params.require == 'email'){ |
|
window.location.href = "/update.html?require="+page.params.require; |
|
} |
|
if(page.params.require == 'nickname'){ |
|
window.location.href = "/setNickname.html"; |
|
} |
|
window.location.href='/usr.html'; |
|
} |
|
}); |
|
</script> |
|
<script type="text/javascript" src="js/polygonizr.min.js"></script> |
|
<link rel="stylesheet" href="./css/base.css"> |
|
<link rel="stylesheet" href="./css/iconfont.css"> |
|
<link rel="stylesheet" href="./css/reg.css"> |
|
<link rel="stylesheet" type="text/css" href="css/normalize.css" /> |
|
<link rel="stylesheet" type="text/css" href="css/background.css"> |
|
</body> |
|
</html> |