From 0460078d8f329410e9ca848bbd77dc81b4dbcc02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A3=BC=EC=88=98=ED=98=84?= Date: Thu, 17 Jul 2025 14:56:13 +0900 Subject: [PATCH] =?UTF-8?q?=EC=97=91=EC=85=80=20=EC=97=85=EB=A1=9C?= =?UTF-8?q?=EB=93=9C=20/=20=EB=8B=A4=EC=9A=B4=EB=A1=9C=EB=93=9C=20/=20?= =?UTF-8?q?=EB=8C=80=EC=89=AC=EB=B3=B4=EB=93=9C=ED=92=80=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/src/main/resources/templates/admin/adminList.html | 2 +- admin/src/main/resources/templates/home.html | 8 ++++---- .../main/resources/templates/households/households.html | 6 +++--- .../main/resources/templates/researcher/researchers.html | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/admin/src/main/resources/templates/admin/adminList.html b/admin/src/main/resources/templates/admin/adminList.html index 0eeccb8a..13ff4a31 100644 --- a/admin/src/main/resources/templates/admin/adminList.html +++ b/admin/src/main/resources/templates/admin/adminList.html @@ -128,7 +128,7 @@
- diff --git a/admin/src/main/resources/templates/home.html b/admin/src/main/resources/templates/home.html index fb321878..f3795650 100644 --- a/admin/src/main/resources/templates/home.html +++ b/admin/src/main/resources/templates/home.html @@ -4,7 +4,7 @@ xmlns:sec="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"> -
+

@@ -405,9 +405,9 @@ const activeProfile = '[[${activeProfile}]]'; // 페이지 로드 시 호출 $(document).ready(function() { - if(activeProfile === 'local'){ - getTotalPercentage(); - } + + getTotalPercentage(); + $('#usageType').change(function() { getTotalPercentage(); }); diff --git a/admin/src/main/resources/templates/households/households.html b/admin/src/main/resources/templates/households/households.html index df290145..aca3a836 100644 --- a/admin/src/main/resources/templates/households/households.html +++ b/admin/src/main/resources/templates/households/households.html @@ -270,10 +270,10 @@
- - diff --git a/admin/src/main/resources/templates/researcher/researchers.html b/admin/src/main/resources/templates/researcher/researchers.html index 9b265fe6..fe11154d 100644 --- a/admin/src/main/resources/templates/researcher/researchers.html +++ b/admin/src/main/resources/templates/researcher/researchers.html @@ -95,7 +95,7 @@
-
+