Add: maestro record page - writing record
This commit is contained in:
@@ -84,16 +84,16 @@ function activateMouseApp(activatedList) {
|
||||
function getGroupName(groupName) {
|
||||
switch(groupName) {
|
||||
case "typing_practice_kor":
|
||||
return "자리 연습 - 한글";
|
||||
return "손가락 연습 - 한글";
|
||||
|
||||
case "typing_practice_eng":
|
||||
return "자리 연습 - 영문";
|
||||
return "손가락 연습 - 영문";
|
||||
|
||||
case "typing_test_kor":
|
||||
return "타자 시험 - 한글";
|
||||
return "단어/문장 연습 - 한글";
|
||||
|
||||
case "typing_test_eng":
|
||||
return "타자 시험 - 영문";
|
||||
return "단어/문장 연습 - 영문";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -103,6 +103,7 @@ function loadAppList() {
|
||||
// console.log(jsonData);
|
||||
makeTypingPracticeSubjectList(jsonData["appList"]);
|
||||
makeTypingTestSubjectList(jsonData["appList"]);
|
||||
makeTypingExamSubjectList(jsonData["appList"]);
|
||||
makeTypingAppSubjectList(jsonData["appList"]);
|
||||
}),
|
||||
|
||||
@@ -163,6 +164,13 @@ function makeTypingTestSubjectList(appList) {
|
||||
}
|
||||
}
|
||||
|
||||
function makeTypingExamSubjectList(appList) {
|
||||
$("#typing_exam_subject_list").empty();
|
||||
|
||||
addSubjectBundleItem("#typing_exam_subject_list", 1004, "한글 긴글 (시험) 묶음");
|
||||
addSubjectBundleItem("#typing_exam_subject_list", 1005, "영문 긴글 (시험) 묶음");
|
||||
}
|
||||
|
||||
function makeTypingAppSubjectList(appList) {
|
||||
$("#typing_app_subject_list").empty();
|
||||
|
||||
@@ -240,8 +248,10 @@ function getPlayerRecordList(limitCount) {
|
||||
|
||||
var requestURL = "";
|
||||
|
||||
if(appID == 3000)
|
||||
if(appID == 3000) // license
|
||||
requestURL = "./../server/record/request_license_timer_player_record_list.php";
|
||||
else if(appID == 1004 || appID == 1005) // typing exam
|
||||
requestURL = "./../server/record/request_writing_player_record_list.php";
|
||||
else
|
||||
requestURL = "./../server/record/request_app_player_record_list.php";
|
||||
|
||||
@@ -404,6 +414,12 @@ function addRecordListItem($date, $time, $name, $subject, $record) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<label for="time" class="col-sm-2 col-form-label py-0">긴글 (시험)</label>
|
||||
<div id="typing_exam_subject_list" class="col-sm-10 mb-2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<label for="time" class="col-sm-2 col-form-label py-0">타자 앱</label>
|
||||
<div id="typing_app_subject_list" class="col-sm-10 mb-2">
|
||||
|
||||
Reference in New Issue
Block a user