Fix: rename app group name

This commit is contained in:
2019-08-29 09:36:26 +09:00
parent 716295c66b
commit 60edd28d06
@@ -186,9 +186,15 @@ function makeTypingAppList(appList) {
divTag = $("#typing_test_eng"); divTag = $("#typing_test_eng");
groupName = "typing_test_eng"; groupName = "typing_test_eng";
} }
else { // else {
// divTag = $("#typing_app");
// groupName = "typing_app_all";
// }
else if(appData.appID < 200) {
divTag = $("#typing_app"); divTag = $("#typing_app");
groupName = "typing_app_all"; groupName = "typing_app_all";
} else {
continue;
} }
divTag.append('\ divTag.append('\
@@ -229,27 +235,10 @@ function triggerAppGroup(groupName) {
</script> </script>
<div class="row mx-1 mb-4">
<div class="col">
<h5 class="mt-4 mb-2">마우스 연습</h5>
<form class="mx-4">
<input type="checkbox" id="group_mouse_app_all" aria-label="Checkbox for all mouse apps">
<label class="lead mb-0 ml-1"> 전체</label>
<hr class="my-1"/>
<div class="form-row ml-4" id="mouse_app_content">
</div>
</form>
</div>
</div>
<div class="row mx-1"> <div class="row mx-1">
<div class="col"> <div class="col">
<h5 class="mt-2 mb-2">타자 연습</h5> <h5 class="mt-2 mb-2">손가락 연습</h5>
<form class="ml-4"> <form class="ml-4">
<input type="checkbox" id="group_typing_practice_kor" aria-label="Checkbox for typing practice korean"> <input type="checkbox" id="group_typing_practice_kor" aria-label="Checkbox for typing practice korean">
<label class="lead mb-0 ml-1"> 한글</label> <label class="lead mb-0 ml-1"> 한글</label>
@@ -266,7 +255,7 @@ function triggerAppGroup(groupName) {
</form> </form>
<h5 class="mt-4 mb-2">타자 시험</h5> <h5 class="mt-4 mb-2">단어 / 문장 연습</h5>
<form class="ml-4"> <form class="ml-4">
<input type="checkbox" id="group_typing_test_kor" aria-label="Checkbox for typing test korean"> <input type="checkbox" id="group_typing_test_kor" aria-label="Checkbox for typing test korean">
<label class="lead mb-0 ml-1"> 한글</label> <label class="lead mb-0 ml-1"> 한글</label>
@@ -282,7 +271,7 @@ function triggerAppGroup(groupName) {
</form> </form>
<h5 class="mt-4 mb-2">타자 </h5> <h5 class="mt-4 mb-2">타자 놀이</h5>
<form class="ml-4"> <form class="ml-4">
<input type="checkbox" id="group_typing_app_all" aria-label="Checkbox for all typing apps"> <input type="checkbox" id="group_typing_app_all" aria-label="Checkbox for all typing apps">
<label class="lead mb-0 ml-1"> 전체</label> <label class="lead mb-0 ml-1"> 전체</label>
@@ -291,5 +280,14 @@ function triggerAppGroup(groupName) {
</div> </div>
</form> </form>
<h5 class="mt-4 mb-2">마우스 놀이</h5>
<form class="mx-4">
<input type="checkbox" id="group_mouse_app_all" aria-label="Checkbox for all mouse apps">
<label class="lead mb-0 ml-1"> 전체</label>
<hr class="my-1"/>
<div class="form-row ml-4" id="mouse_app_content">
</div>
</form>
</div> </div>
</div> </div>