인라인CSS 제거

main
이범준 8 months ago
parent 41a4df89df
commit 2121e5d7f0

@ -376,7 +376,7 @@ $(document).ready(function(){
content : document.getElementById("delRsnDialogTemplate--${pageName}").innerHTML, content : document.getElementById("delRsnDialogTemplate--${pageName}").innerHTML,
size : "xl", size : "xl",
init : () => { init : () => {
$("#delRsnDialog--${pageName} .modal-content").css("min-width","700px"); $("#delRsnDialog--${pageName} .modal-content").addClass("min-w-px-700");
$('#btnRemove--${pageName}').on("click", () => $P.fnRemove()); $('#btnRemove--${pageName}').on("click", () => $P.fnRemove());
}, },
onClose : () => {} onClose : () => {}

@ -407,8 +407,7 @@ $(document).ready(function(){
var $P = pageObject["${pageName}"]; var $P = pageObject["${pageName}"];
$("#photoMainWrapper--${pageName}").css("width","550px"); $("#photoMainWrapper--${pageName}").addClass("w-px-550 min-w-px-550");
$("#photoMainWrapper--${pageName}").css("min-width","550px");
if(pageObject.parentRes.length > 0){ if(pageObject.parentRes.length > 0){
$P.provided = pageObject.parentRes.pop(); $P.provided = pageObject.parentRes.pop();

@ -308,8 +308,7 @@
// pageObject // pageObject
var $P = pageObject["${pageName}"]; var $P = pageObject["${pageName}"];
$("#photoMainWrapper--${pageName}").css("width", "320px"); $("#photoMainWrapper--${pageName}").addClass("w-px-320 min-w-px-320");
$("#photoMainWrapper--${pageName}").css("min-width", "320px");
// FormFields // FormFields
$P.formFields = new FimsFormFields("#frmEdit--${pageName}"); $P.formFields = new FimsFormFields("#frmEdit--${pageName}");

@ -140,7 +140,7 @@ $(document).ready(function(){
editableImage.src = fullSrc; editableImage.src = fullSrc;
editableImage.onload = function () { editableImage.onload = function () {
initEditor(); initEditor();
editableImage.style.display = 'none'; editableImage.hidden = true;
var vhclInfo = window.opener.pageObject[openerPageName].carInfoFunc(); var vhclInfo = window.opener.pageObject[openerPageName].carInfoFunc();
$("input[name='vhrno']").val(vhclInfo.vhrno); $("input[name='vhrno']").val(vhclInfo.vhrno);

@ -666,10 +666,26 @@ select.option-style-select > option[value='BLACK']{ color: var(--pdf-black);back
min-width: 300px; min-width: 300px;
} }
.min-w-px-320 {
min-width: 320px;
}
.min-w-px-350 {
min-width: 350px;
}
.min-w-px-400 { .min-w-px-400 {
min-width: 400px; min-width: 400px;
} }
.min-w-px-550 {
min-width: 550px;
}
.min-w-px-700 {
min-width: 700px;
}
.min-w-px-1400 { .min-w-px-1400 {
min-width: 1400px; min-width: 1400px;
} }

@ -10949,6 +10949,10 @@ button.list-group-item-gray.active {
width: 300px !important; width: 300px !important;
} }
.w-px-320 {
width: 320px !important;
}
.w-px-350 { .w-px-350 {
width: 350px !important; width: 350px !important;
} }
@ -10957,10 +10961,18 @@ button.list-group-item-gray.active {
width: 400px !important; width: 400px !important;
} }
.w-px-450 {
width: 450px !important;
}
.w-px-500 { .w-px-500 {
width: 500px !important; width: 500px !important;
} }
.w-px-550 {
width: 550px !important;
}
.w-px-600 { .w-px-600 {
width: 600px !important; width: 600px !important;
} }

@ -217,7 +217,7 @@ function fnMakeScrollableTable(tableScrollEl, thisScrollendEvent){
var more = document.createElement("tr"); var more = document.createElement("tr");
if(hasScroll && !noMore){ if(hasScroll && !noMore){
more.style.height = "30px"; more.classList.add("h-px-30");
$(this).find("tbody").append(more); $(this).find("tbody").append(more);

@ -115,14 +115,6 @@ function openMenu(obj, params) {
let dynamicPage = document.createElement("div"); let dynamicPage = document.createElement("div");
dynamicPage.setAttribute("id","innerPage-"+dataKey); dynamicPage.setAttribute("id","innerPage-"+dataKey);
// .attr("frameborder" , "0")
// .attr("scrolling" , "no")
// .attr("width" , "100%")
// .css("border" , "0")
// .css("height" , "100%")
// .css("min-height" , "800px")
// .css("overflow" , "auto")
// .css("overflow-x" , "no")
; ;
$("#formForInnerPage").remove(); $("#formForInnerPage").remove();

Loading…
Cancel
Save