Fix: test player, test maestro account

This commit is contained in:
2019-09-16 00:32:10 +09:00
parent ead4aec6f0
commit 7caafb712d
5 changed files with 22 additions and 15 deletions
@@ -156,9 +156,11 @@ TypingExamButton.prototype.setInputEnabled = function(isEnabled) {
if(isEnabled === true) {
this.mouseOut();
this.writingNameText.style.fill = MainColor.LINEN_STRING;
this.animal.sprite.alpha = 1;
} else {
this.buttonDisabled();
this.writingNameText.style.fill = MainColor.GRAY_STRING;
this.animal.sprite.alpha = 0.3;
}
}
+8
View File
@@ -383,6 +383,14 @@ MainMenu.prototype.updateTypingExamAppButtons = function(appData) {
if(i < count) {
button.setActive(true);
button.updateAppData(appDataList[i]);
console.log(appDataList[i]);
if(isExperiencePlayerAccount() === true) {
var splitedFilename = appDataList[i].filename.split("_");
var language = splitedFilename[0];
if(language === "english") {
button.setInputEnabled(false);
}
}
} else {
button.setActive(true);
button.showEmptyDisabled();
+1 -1
View File
@@ -64,7 +64,7 @@
sessionStorage.setItem("playerAccountType", playerAccountType);
sessionStorage.setItem("playerName", playerName);
location.href = "./../client/menu_app.html";
location.href = "./../client/main_menu.html";
},
function(errorMessage, errorCode) {
+9 -12
View File
@@ -1,15 +1,12 @@
<script>
$(document).ready(function() {
/*
showErrorMessage(
"(0330일) 알림<br/>\
* 마에스트로(유료 계정) 관리 화면에 <b>학생 기록 검색 기능</b>을 추가했습니다.<br/>\
* [학생 기록] 탭에서 날짜 / 학생 이름 / 과목 조건으로 검색할 수 있습니다.<br/>\
* 검색 결과를 클립보드 데이터로 복사하세요. 엑셀에 붙여넣기 하신 후, 필요한 정보로 가공해서 활용하세요.<br/>\
※※※ 마에스트로 관리 화면에 문제가 생기면 [ Ctrl + Shift + R ] 단축키를 눌러서 브라우저 캐시 삭제를 해주세요. ※※※", "error"
"(0915일) 알림<br/>\
* 학생 로그인 후 나타나는 메뉴 화면을 개선했습니다.<br/>\
* 타자 실력을 확인하는 [긴글 (시험)] 앱을 새로 추가했습니다.<br/>\
※※※ 앱 실행시 문제가 생기면 [ Ctrl + F5 ](MS IE, Edge) 또는 [ Ctrl + Shift + R ](크롬 등) 단축키를 눌러서 브라우저 캐시 삭제를 해주세요. ※※※", "info"
);
*/
});
@@ -79,8 +76,8 @@ function experienceMaestro() {
<div>
<ul>
<li>한글 타자 연습</li>
<li>두더지 타자 (한글)</li>
<li>두더지 타자 (영어)</li>
<li>두더지 타자</li>
<!-- <li></li> -->
</ul>
</div>
</div>
@@ -97,13 +94,13 @@ function experienceMaestro() {
<div>
<ul>
<li>영어 타자 연습</li>
<li>단어 비행접시 (한글)</li>
<li>단어 비행접시 (영어)</li>
<li>단어 비행접시</li>
<!-- <li></li> -->
</ul>
</div>
<div>
<ul>
<li>자격증 타이머</li>
<li>자격증 타이머 (기록 저장)</li>
</ul>
</div>
</div>
+2 -2
View File
@@ -20,8 +20,8 @@ $(document).ready(function() {
maestroInfo.loadMaestroInfo(onLoadSuccessMaestroInfo, onLoadFailMaestroInfo);
showErrorMessage(
"(05월 18일) 알림<br/>\
* [타자시험] 앱에서도 키보드와 손가락 위치를 보여주도록 개선했습니다.<br/>\
"(09월 15일) 알림<br/>\
* 타자 실력을 확인하는 [긴글 (시험)] 앱을 새로 추가했습니다.<br/>\
※※※ 앱 실행시 문제가 생기면 [ Ctrl + F5 ](MS IE, Edge) 또는 [ Ctrl + Shift + R ](크롬 등) 단축키를 눌러서 브라우저 캐시 삭제를 해주세요. ※※※", "success"
);
});