파일업로드 작업 창이 다이얼로그 창으로 표시되도록 수정함.

main
이범준 8 months ago
parent 1025769c33
commit bf4011b1dc

@ -32,6 +32,7 @@
<!-- Vendors CSS -->
<link rel="stylesheet" href="<c:url value="/resources/3rd-party/sneat/libs/perfect-scrollbar/perfect-scrollbar.css"/>" />
<link rel="stylesheet" href="<c:url value="/resources/3rd-party/sneat/libs/fullcalendar/fullcalendar.css"/>" />
<link rel="stylesheet" href="<c:url value="/resources/3rd-party/sneat/libs/bs-stepper/bs-stepper.css"/>" />
<link rel="stylesheet" href="<c:url value="/resources/css/styles.css"/>" />

@ -176,12 +176,18 @@
</template>
<c:set var="topScript" scope="request">
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
});
}
/*--------------------- 설정 선택 다이얼로그 표시 ---------------------*/

@ -1,42 +1,3 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Favicon -->
<link rel="icon" type="image/x-icon" href="/resources/image/favicon.ico" />
<!-- Fonts -->
<link rel="stylesheet" href="/resources/font/publicsans/fontface.css" />
<!-- Icons. Uncomment required icon fonts -->
<link rel="stylesheet" href="/resources/3rd-party/sneat/fonts/boxicons.css" />
<link rel="stylesheet" href="/resources/3rd-party/sneat/fonts/fontawesome.css" />
<link rel="stylesheet" href="/resources/3rd-party/sneat/fonts/flag-icons.css" />
<link rel="stylesheet" href="/resources/css/fims/framework/common/xit-icon.css" />
<!-- Core CSS -->
<link rel="stylesheet" href="/resources/css/fims/framework/common/xit-core.css" />
<link rel="stylesheet" href="/resources/3rd-party/sneat/css/theme-default.css" />
<link rel="stylesheet" href="/resources/3rd-party/sneat/css/docs.css" />
<link rel="stylesheet" href="/resources/css/fims/framework/common/xit-core-extend.css" />
<!-- Vendors CSS -->
<link rel="stylesheet" href="/resources/3rd-party/sneat/libs/perfect-scrollbar/perfect-scrollbar.css" />
<link rel="stylesheet" href="/resources/3rd-party/sneat/libs/bs-stepper/bs-stepper.css" />
<link rel="stylesheet" href="/resources/css/styles.css" />
<link rel="stylesheet" href="/resources/css/fims/framework/common/common.css"/>
<link rel="stylesheet" href="/resources/3rd-party/sneat/libs/bootstrap-datepicker/bootstrap-datepicker.css" />
<title>파일업로드</title>
</head>
<body>
<div class="card m-4 p-3">
<form id="hiddenForm" name="hiddenForm">
@ -154,35 +115,18 @@
</div>
</div>
<!-- Core JS -->
<script src="/resources/3rd-party/sneat/js/helpers.js"></script>
<script src="/resources/3rd-party/sneat/js/config.js"></script>
<script src="/resources/3rd-party/sneat/libs/popper/popper.js"></script>
<script src="/resources/3rd-party/sneat/js/bootstrap.js"></script>
<script src="/resources/3rd-party/sneat/libs/jquery/jquery.js" ></script>
<script src="/resources/3rd-party/sneat/libs/perfect-scrollbar/perfect-scrollbar.js"></script>
<script src="/resources/3rd-party/sneat/js/menu.js"></script>
<!-- base -->
<script src="/resources/js/base/base.js"></script>
<script src="/resources/js/base/dataset.js"></script>
<script src="/resources/3rd-party/sneat/libs/bs-stepper/bs-stepper.js"></script>
<script src="/resources/js/base/base-fims.js"></script>
<script language="javascript">
LoadScript("stepperScript","/resources/3rd-party/sneat/libs/bs-stepper/bs-stepper.js");
const wizardNumbered = document.querySelector(".wizard-numbered");
const numberedStepper = new Stepper(wizardNumbered, {
var wizardNumbered = document.querySelector(".wizard-numbered");
var numberedStepper = new Stepper(wizardNumbered, {
linear: false
});
if (typeof wizardNumbered !== undefined && wizardNumbered !== null) {
const wizardNumberedBtnNextList = [].slice.call(wizardNumbered.querySelectorAll('.btn-next'));
const wizardNumberedBtnPrevList = [].slice.call(wizardNumbered.querySelectorAll('.btn-prev'));
const wizardNumberedBtnSubmit = wizardNumbered.querySelector('.btn-submit');
var wizardNumberedBtnNextList = [].slice.call(wizardNumbered.querySelectorAll('.btn-next'));
var wizardNumberedBtnPrevList = [].slice.call(wizardNumbered.querySelectorAll('.btn-prev'));
var wizardNumberedBtnSubmit = wizardNumbered.querySelector('.btn-submit');
if (wizardNumberedBtnNextList) {
wizardNumberedBtnNextList.forEach(wizardNumberedBtnNext => {
@ -259,10 +203,5 @@ $("#btnComplete").on("click", function(){
//}
}
});
});
wctx.csrf = window.opener.wctx.csrf;
</script>
</body>
</html>

Loading…
Cancel
Save