From bf4011b1dc260551b64d5ab401d61b4e762b3b56 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Thu, 21 Mar 2024 16:12:16 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8C=8C=EC=9D=BC=EC=97=85=EB=A1=9C=EB=93=9C?= =?UTF-8?q?=20=EC=9E=91=EC=97=85=20=EC=B0=BD=EC=9D=B4=20=EB=8B=A4=EC=9D=B4?= =?UTF-8?q?=EC=96=BC=EB=A1=9C=EA=B7=B8=20=EC=B0=BD=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=ED=91=9C=EC=8B=9C=EB=90=98=EB=8F=84=EB=A1=9D=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=ED=95=A8.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/jsp/include/head.jsp | 1 + src/main/webapp/WEB-INF/jsp/include/top.jsp | 18 +++-- .../webapp/resources/html/fileUpload.html | 75 ++----------------- 3 files changed, 20 insertions(+), 74 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/include/head.jsp b/src/main/webapp/WEB-INF/jsp/include/head.jsp index be0cd699..286c061d 100644 --- a/src/main/webapp/WEB-INF/jsp/include/head.jsp +++ b/src/main/webapp/WEB-INF/jsp/include/head.jsp @@ -32,6 +32,7 @@ " /> " /> + " /> " /> diff --git a/src/main/webapp/WEB-INF/jsp/include/top.jsp b/src/main/webapp/WEB-INF/jsp/include/top.jsp index a52cf021..2d3ae2b7 100644 --- a/src/main/webapp/WEB-INF/jsp/include/top.jsp +++ b/src/main/webapp/WEB-INF/jsp/include/top.jsp @@ -176,12 +176,18 @@ -function fnOpenTempFileUploadWindow(){ - window.open( - wctx.url("/resources/html/fileUpload.html") - ,"fileUpload" - ,'top=10, left=10, width=1000, height=500' - ); +async function fnOpenTempFileUploadWindow(){ + + var resp = await fetch(wctx.url("/resources/html/fileUpload.html")); + var template = await resp.text(); + + dialog.open({ + id : "fileUploadDialog", + title: "파일 업로드", + size : "lg", + content: template + }); + } /*--------------------- 설정 선택 다이얼로그 표시 ---------------------*/ diff --git a/src/main/webapp/resources/html/fileUpload.html b/src/main/webapp/resources/html/fileUpload.html index 7d7b689e..778290b8 100644 --- a/src/main/webapp/resources/html/fileUpload.html +++ b/src/main/webapp/resources/html/fileUpload.html @@ -1,42 +1,3 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -파일업로드 - -
@@ -154,35 +115,18 @@
- - - - - - - - - - - - - - - - - - - + \ No newline at end of file