-
-
-
+
-
diff --git a/src/web/module/maestro_setup.html b/src/web/module/maestro_setup.html
index 4f361f3..01942fd 100644
--- a/src/web/module/maestro_setup.html
+++ b/src/web/module/maestro_setup.html
@@ -57,13 +57,15 @@ function showEndDate(date) {
var endDay = new Date(endDate);
var diffDay = (endDay.getTime() - today.getTime()) / (1000 * 60 * 60 * 24);
- $("#maestro_count_down_date").html("~ " + endDate + "
유효 기간 : " + Math.ceil(diffDay) + "일");
+ $("#maestro_count_down_date").html("유효 기간 : ~ " + endDate + "
(남은 기간 : " + Math.ceil(diffDay) + "일)");
if(diffDay < 30)
- $("#maestro_count_down_date").addClass("text-danger");
+ $("#countdown_day").addClass("text-danger");
else if(diffDay < 10)
- $("#maestro_count_down_date").addClass("bg-danger text-light");
+ $("#countdown_day").addClass("bg-danger text-light");
else if(diffDay < 0)
- $("#maestro_count_down_date").addClass("bg-secondary text-light");
+ $("#countdown_day").addClass("bg-secondary text-light");
+ else
+ $("#countdown_day").addClass("text-muted");
}
function showPlayerCount(accountType, playerCount) {
@@ -236,20 +238,17 @@ function changeMaestroPassword() {
-
-
+
-
diff --git a/src/web/module/maestro_upgrade.html b/src/web/module/maestro_upgrade.html
index 7f328a5..96ccf5f 100644
--- a/src/web/module/maestro_upgrade.html
+++ b/src/web/module/maestro_upgrade.html
@@ -35,13 +35,15 @@ function showEndDate(date) {
var endDay = new Date(endDate);
var diffDay = (endDay.getTime() - today.getTime()) / (1000 * 60 * 60 * 24);
- $("#maestro_count_down_date").html("~ " + endDate + "
유효 기간 : " + Math.ceil(diffDay) + "일");
+ $("#maestro_count_down_date").html("유효 기간 : ~ " + endDate + "
(남은 기간 : " + Math.ceil(diffDay) + "일)");
if(diffDay < 30)
- $("#maestro_count_down_date").addClass("text-danger");
+ $("#countdown_day").addClass("text-danger");
else if(diffDay < 10)
- $("#maestro_count_down_date").addClass("bg-danger text-light");
+ $("#countdown_day").addClass("bg-danger text-light");
else if(diffDay < 0)
- $("#maestro_count_down_date").addClass("bg-secondary text-light");
+ $("#countdown_day").addClass("bg-secondary text-light");
+ else
+ $("#countdown_day").addClass("text-muted");
}
function showPlayerCount(accountType, playerCount) {
@@ -173,20 +175,17 @@ function upgradeMaestroInfo(accountType) {