Add: Maestro AccoutType 0 = experience account
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user