diff --git a/src/web/module/maestro_section_main.html b/src/web/module/maestro_section_main.html index 183d63c..78c5ec3 100644 --- a/src/web/module/maestro_section_main.html +++ b/src/web/module/maestro_section_main.html @@ -12,6 +12,16 @@ $(document).ready(function() { maestroInfo.loadMaestroInfo(onLoadSuccessMaestroInfo, onLoadFailMaestroInfo); }); +function isExperienceMaestroAccount() { + var maestroAccountType = maestroInfo.accountType; + console.log("maestroAccountType : " + maestroAccountType); + if(maestroAccountType == 101) + return true; + + return false; +} + + function onLoadSuccessMaestroInfo() { $("#maestro_info_id").text(maestroInfo.maestroName + "님, 환영합니다."); $("#maestro_info_player_count").val("학생수 : " + maestroInfo.getRegisteredPlayerCount() + " / " + maestroInfo.getMaxPlayerCount()); @@ -21,6 +31,9 @@ function onLoadSuccessMaestroInfo() { } else if(maestroInfo.getRegisteredPlayerCount() + 5 > maestroInfo.getMaxPlayerCount()) { $("#maestro_info_player_count").addClass("text-danger"); } + + if(isExperienceMaestroAccount()) + $("#experienceMaestroModal").modal(); } function onLoadFailMaestroInfo(errorMessage, errorCode) { @@ -74,6 +87,33 @@ function deactivateApp(appID) { +
+