Add: Maestro AccoutType 0 = experience account

This commit is contained in:
2018-08-10 07:14:05 +09:00
parent be02c06f3d
commit ade28a3334
4 changed files with 38 additions and 5 deletions
+17
View File
@@ -28,6 +28,23 @@ function loadMaestroInfo(maestroID) {
function updateCards(accountType) {
console.log(accountType);
switch(accountType) {
case 0:
$("#account_type_1").addClass("border-warning");
$("#account_type_1_btn").addClass("btn-secondary disabled");
$("#account_type_1_footer").addClass("text-danger");
$("#account_type_1_footer").text("체험 계정은 업그레이드가 불가능합니다.");
$("#account_type_2").addClass("border-warning");
$("#account_type_2_btn").addClass("btn-secondary disabled");
$("#account_type_2_footer").addClass("text-danger");
$("#account_type_2_footer").text("체험 계정은 업그레이드가 불가능합니다.");
$("#account_type_3").addClass("border-warning");
$("#account_type_3_btn").addClass("btn-secondary disabled");
$("#account_type_3_footer").addClass("text-danger");
$("#account_type_3_footer").text("체험 계정은 업그레이드가 불가능합니다.");
break;
case 1:
$("#account_type_1").addClass("border-warning");
$("#account_type_1_btn").addClass("btn-secondary disabled");