|
|
|
@ -13,11 +13,13 @@ function fnMakeGridImageViewer(tdEls, fileInputElName){
|
|
|
|
|
tdEl.appendChild(fileInputEl);
|
|
|
|
|
|
|
|
|
|
let uploadButtonEl = document.createElement("button");
|
|
|
|
|
uploadButtonEl.type = "button";
|
|
|
|
|
uploadButtonEl.classList.add("btn","btn-primary","w-px-50", "mx-1");
|
|
|
|
|
uploadButtonEl.textContent = "등록";
|
|
|
|
|
tdEl.appendChild(uploadButtonEl);
|
|
|
|
|
|
|
|
|
|
let viewButtonEl = document.createElement("button");
|
|
|
|
|
viewButtonEl.type = "button";
|
|
|
|
|
viewButtonEl.classList.add("btn","btn-primary","w-px-50", "mx-1");
|
|
|
|
|
viewButtonEl.setAttribute("hidden","hidden");
|
|
|
|
|
viewButtonEl.textContent = "보기";
|
|
|
|
|