dialog.html 경로 변경

main
이범준 5 months ago
parent ec41c0bcbd
commit 22645ee5af

@ -1,15 +0,0 @@
<div id="{id}" class="modal fade" tabindex="-1" aria-hidden="true" data-bs-backdrop="static">
<div class="modal-dialog{size}" role="document">
<div class="modal-content">
<div class="modal-header bg-label-primary">
<h5 class="modal-title">{title}</h5>
<button id="close{id}" type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body modal-body-min oy-auto mh-px-800">
</div>
<div class="modal-footer text-end hidden">
<button type="button" class="btn btn-primary">확인</button>
</div>
</div>
</div>
</div>

@ -15,7 +15,7 @@ async function prompt2(msg){
async function dialog2(msg, type, buttons){ async function dialog2(msg, type, buttons){
var dlgId = "dlg-" + uuid(); var dlgId = "dlg-" + uuid();
var resp = await fetch(wctx.url("/resources/html/dialog.html")); var resp = await fetch(wctx.url("/webjars/html/dialog.html"));
var template = await resp.text(); var template = await resp.text();
var container = "<div class='container-fluid text-center fs-4'>{content}</div>"; var container = "<div class='container-fluid text-center fs-4'>{content}</div>";
if(type == "prompt"){ if(type == "prompt"){

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Loading…
Cancel
Save