diff --git a/.classpath_sample b/.classpath_sample index 63cbfb12..bb797b3c 100644 --- a/.classpath_sample +++ b/.classpath_sample @@ -1,5 +1,10 @@ + + + + + @@ -27,15 +32,11 @@ - - - - @@ -44,50 +45,14 @@ - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + + + diff --git a/apply.bat b/apply.bat deleted file mode 100644 index 54e9f790..00000000 --- a/apply.bat +++ /dev/null @@ -1,80 +0,0 @@ -@echo off -setlocal enabledelayedexpansion - -set source_prefix=src\main\webapp\ -set target_prefix=C:\Users\dbnt\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\geoinfo_eGov_work\ -set target_directory=D:\git\dbnt\geoinfo.or.kr\geoinfo_eGov_work\ - -set source_file= -set target_file= - -for /f "delims=" %%i in (list.txt) do ( - - echo %%i | findstr /v "^#" > nul - if !errorlevel! == 0 ( - set "line=%%i" - rem #À¸·Î ½ÃÀÛÇÏÁö ¾Ê´Â ¶óÀΠó¸® - echo !line! - - - set line=%%i - - if "!line:~-5!" == ".java" ( - echo Skip - ) else if "!line:~-4!" == ".xml" ( - set source_file=%target_directory%!line! - set relative_path=!line:%source_prefix%=! - :: "src\main\resources\" Á¦°Å - set relative_path=!relative_path:*src\main\resources\=! - set target_file=%target_prefix%WEB-INF\classes\!relative_path! - ) else if "!line:~-4!" == ".jsp" ( - set source_file=%target_directory%!line! - set relative_path=!line:%source_prefix%=! - set target_file=%target_prefix%!relative_path! - ) else if "!line:~-4!" == ".css" ( - set source_file=%target_directory%!line! - set relative_path=!line:%source_prefix%=! - set target_file=%target_prefix%!relative_path! - ) else if "!line:~-4!" == ".png" ( - set source_file=%target_directory%!line! - set relative_path=!line:%source_prefix%=! - set target_file=%target_prefix%!relative_path! - ) else if "!line:~-4!" == ".svg" ( - set source_file=%target_directory%!line! - set relative_path=!line:%source_prefix%=! - set target_file=%target_prefix%!relative_path! - ) else if "!line:~-3!" == ".js" ( - set source_file=%target_directory%!line! - set relative_path=!line:%source_prefix%=! - set target_file=%target_prefix%!relative_path! - ) else if "!line:~-4!" == ".reb" ( - set source_file=%target_directory%!line! - set relative_path=!line:%source_prefix%=! - set target_file=%target_prefix%!relative_path! - ) else if "!line:~-6!" == ".woff2" ( - set source_file=%target_directory%!line! - set relative_path=!line:%source_prefix%=! - set target_file=%target_prefix%!relative_path! - ) else if "!line:~-5!" == ".woff" ( - set source_file=%target_directory%!line! - set relative_path=!line:%source_prefix%=! - set target_file=%target_prefix%!relative_path! - ) else if "!line:~-4!" == ".otf" ( - set source_file=%target_directory%!line! - set relative_path=!line:%source_prefix%=! - set target_file=%target_prefix%!relative_path! - ) else if "!line:~-11!" == ".properties" ( - set source_file=%target_directory%!line! - set relative_path=!line:%source_prefix%=! - set target_file=%target_prefix%!relative_path! - ) - - rem Copy the source file to the target location, overwriting if necessary - echo Copying "!source_file!" to "!target_file!" - xcopy /i /Y "!source_file!" "!target_file!" - ) else ( - echo #Àº ¹«½ÃµË´Ï´Ù - ) - - -) \ No newline at end of file diff --git a/list.txt b/list.txt deleted file mode 100644 index 63b4be24..00000000 --- a/list.txt +++ /dev/null @@ -1,38 +0,0 @@ -#src\main\resources\egovframework\egovProps\globals.properties -src\main\webapp\com\css\common.v2.0.css -src\main\webapp\com\css\common.v2.0.css.map -src\main\webapp\WEB-INF\views\drilling\input\drilling_input.jsp -src\main\webapp\js\map\main\map.js -src\main\java\geoinfo\map\left\service\impl\MapLeftServiceImpl.java -src\main\resources\egovframework\sqlmap\mapper\map\MapLeft_SQL.xml -src\main\webapp\proxyo2map.jsp -src\main\resources\egovframework\sqlmap\mapper\map\MapMain_SQL.xml -src\main\resources\egovframework\sqlmap\mapper\map\MapControl_SQL.xml -src\main\webapp\WEB-INF\views\drilling\inquiry\drilling_inquiry.jsp -src\main\resources\egovframework\sqlmap\mapper\drilling\input\DrillingInputMapper.xml -src\main\webapp\WEB-INF\views\drilling\home\drilling_index.jsp -src\main\webapp\com\img\drilling\logos\06.svg -src\main\webapp\com\img\drilling\logos\07.svg -src\main\webapp\com\img\drilling\logos\08.svg -src\main\webapp\com\img\drilling\logos\09.svg -src\main\webapp\com\img\drilling\logos\10.svg -src\main\webapp\com\img\drilling\logos\17.svg -src\main\webapp\com\img\drilling\logos\28.svg -src\main\webapp\com\img\drilling\logos\29.png -src\main\webapp\com\img\drilling\logos\31.svg -src\main\webapp\com\img\drilling\logos\33.svg -src\main\webapp\com\img\drilling\logos\34.svg -src\main\webapp\com\img\drilling\logos\35.svg -src\main\webapp\com\img\drilling\logos\36.svg -src\main\webapp\com\img\drilling\logos\37.svg -src\main\webapp\com\img\drilling\logos\38.svg -src\main\webapp\com\img\drilling\logos\39.svg -src\main\webapp\com\img\drilling\logos\40.svg -src\main\webapp\com\img\drilling\logos\41.svg -src\main\webapp\com\img\drilling\logos\42.svg -src\main\webapp\com\img\drilling\logos\43.svg -src\main\webapp\com\img\drilling\logos\44.png -src\main\webapp\com\img\drilling\logos\45.png -src\main\webapp\com\img\drilling\logos\46.svg -src\main\webapp\com\img\drilling\maps\map.svg -src\main\webapp\WEB-INF\views\drilling\common\includeTopMenu.jsp diff --git a/src/main/webapp/WEB-INF/views/web/input/header.jsp b/src/main/webapp/WEB-INF/views/web/input/header.jsp index ef39bfd5..ec3d8973 100644 --- a/src/main/webapp/WEB-INF/views/web/input/header.jsp +++ b/src/main/webapp/WEB-INF/views/web/input/header.jsp @@ -622,14 +622,30 @@ window.onload = function() { //시추방향 if('${mapHeader.boringDirection}' != null && '${mapHeader.boringDirection}' != ''){ - var boring = "${mapHeader.boringDirection}".split("|"); - - var consFrmSel = document.getElementById("BORING_DIRECTION_SEL"); - var consFrmInput = document.getElementById("BORING_DIRECTION_INPUT"); - - fn_SelectedData(consFrmSel,boring[0]); - consFrmInput.value = boring[1]; + var boring = "${mapHeader.boringDirection}".split("|"); + + var consFrmSel = document.getElementById("BORING_DIRECTION_SEL"); + var consFrmInput = document.getElementById("BORING_DIRECTION_INPUT"); + + fn_SelectedData(consFrmSel,boring[0]); + consFrmInput.value = boring[1]; + + if (boring[0] === "-") { + consFrmInput.disabled = true; + consFrmInput.value = ""; // Optionally clear the input when disabled + } else { + consFrmInput.disabled = false; + } } + + consFrmSel.addEventListener("change", function() { + if (this.value === "-") { + consFrmInput.disabled = true; + consFrmInput.value = ""; // Optionally clear the input when disabled + } else { + consFrmInput.disabled = false; + } + }); //좌표기준 if('${mapHeader.holeCoordinateE}' != null && '${mapHeader.holeCoordinateE}' != ''){ @@ -1307,6 +1323,12 @@ function fn_HoleLoad(){ fn_SelectedData(consFrmSel,boring[0]); consFrmInput.value = boring[1]; + if (boring[0] === "-") { + consFrmInput.disabled = true; + consFrmInput.value = ""; // Optionally clear the input when disabled + } else { + consFrmInput.disabled = false; + } } diff --git a/src/main/webapp/com/css/apply.bat b/src/main/webapp/com/css/apply.bat deleted file mode 100644 index 7d6346a2..00000000 --- a/src/main/webapp/com/css/apply.bat +++ /dev/null @@ -1,2 +0,0 @@ -copy *.css /y C:\Users\dbnt\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\geoinfo_eGov_work\com\css\ -copy *.map /y C:\Users\dbnt\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\geoinfo_eGov_work\com\css\