Excel Download 버튼 아이콘 모양으로 모두 변경

This commit is contained in:
2026-02-02 16:35:57 +09:00
parent 05a9f87fdf
commit 7c96446708
10 changed files with 25 additions and 9 deletions

View File

@@ -357,7 +357,7 @@
<input type="button" value="자재불출" class="plm_btns" id="btnAccept">
<input type="button" value="접수" class="plm_btns" id="btnRec">
<input type="button" value="조회" class="plm_btns" id="btnSearch">
<input type="button" value="Excel Download" class="plm_btns" id="btnExcel">
<input type="button" value="Excel Download" class="plm_btns excelIcon" id="btnExcel">
</div>
</div>
<div id="plmSearchZon">

View File

@@ -497,7 +497,7 @@ String connector = person.getUserId();
-->
<input type="button" value="도면 다중 업로드" class="plm_btns" id="btnDrawingUpload">
<input type="button" value="조회" class="plm_btns" id="btnSearch">
<input type="button" value="Excel Download" class="plm_btns" id="btnExcel">
<input type="button" value="Excel Download" class="plm_btns excelIcon" id="btnExcel">
<input type="file" id="drawingFiles" multiple style="display:none;" accept=".stp,.step,.dwg,.dxf,.pdf">
</div>
</div>

View File

@@ -786,7 +786,7 @@ function fn_excelDownload(){
<div class="btnArea">
<input type="button" value="정전개 조회" class="plm_btns" id="btnSearchAscending">
<input type="button" value="역전개 조회" class="plm_btns" id="btnSearchDescending">
<input type="button" value="Excel Download" class="plm_btns excel" id="btnExcel">
<input type="button" value="Excel Download" class="plm_btns excel excelIcon" id="btnExcel">
</div>
</div>
<div id="plmSearchZon">

View File

@@ -388,7 +388,7 @@ function fn_search() {
<input type="button" class="plm_btns" value="행 추가" id="btnAddRow">
<input type="button" class="plm_btns" value="행 삭제" id="btnDeleteRow">
<input type="button" class="plm_btns" value="조회" id="btnSearch">
<input type="button" class="plm_btns excelBtn" value="Excel Download" id="btnExcel">
<input type="button" class="plm_btns excelBtn excelIcon" value="Excel Download" id="btnExcel">
</div>
</div>

View File

@@ -341,7 +341,7 @@ function fn_search() {
<input type="button" class="plm_btns" value="행 추가" id="btnAddRow">
<input type="button" class="plm_btns" value="행 삭제" id="btnDeleteRow">
<input type="button" class="plm_btns" value="조회" id="btnSearch">
<input type="button" class="plm_btns excelBtn" value="Excel Download" id="btnExcel">
<input type="button" class="plm_btns excelBt excelIcon" value="Excel Download" id="btnExcel">
</div>
</div>

View File

@@ -303,7 +303,7 @@ function fn_deliveryAcceptanceViewPopUp(objId, deliveryStatus){
<div class="btnArea">
<input type="button" class="plm_btns" value="수입검사 진행" id="btnInspection">
<input type="button" class="plm_btns" value="조회" id="btnSearch">
<input type="button" class="plm_btns excel" value="Excel Download" id="btnExcel">
<input type="button" class="plm_btns excel excelIcon" value="Excel Download" id="btnExcel">
</div>
</div>

View File

@@ -302,7 +302,7 @@ async function fn_createExcelFile(data){
<div class="btnArea">
<input type="button" class="plm_btns" value="공정검사 등록" id="btnRegist">
<input type="button" class="plm_btns" value="조회" id="btnSearch">
<input type="button" class="plm_btns" value="Excel Download" id="btnExcel">
<input type="button" class="plm_btns excelIcon" value="Excel Download" id="btnExcel">
</div>
</div>

View File

@@ -392,7 +392,7 @@ function fn_registPopUp(){
<div class="btnArea">
<input type="button" class="plm_btns" value="반제품검사 등록" id="btnRegist">
<input type="button" class="plm_btns" value="조회" id="btnSearch">
<input type="button" class="plm_btns" value="Excel Download" id="btnExcel">
<input type="button" class="plm_btns excelIcon" value="Excel Download" id="btnExcel">
</div>
</div>

View File

@@ -721,6 +721,22 @@ html,body {height:100%}
.plm_btns:first-child:hover {margin-left: 0px;}
.plm_btns:hover {height:25px; border-radius: 3px; background: #38426b; color:#fff; cursor: pointer;
font-size: 12px; border: 1px solid #fff; float:left; padding:3px 10px; font-weight:700; margin-left: 5px;}
/* Excel Download 아이콘 버튼 */
.plm_btns.excelIcon {
background: #e7eaee url('/images/ExcelDownload2.png') no-repeat center center;
background-size: 18px;
width: 25px;
height: 25px;
padding: 0;
text-indent: -9999px;
overflow: hidden;
}
.plm_btns.excelIcon:hover {
background: #38426b url('/images/ExcelDownload2.png') no-repeat center center;
background-size: 18px;
border: 1px solid #fff;
}
.upload_btns {height:20px; border-radius: 3px; background: #e7eaee; color:#0d58c8; cursor: pointer; margin-top:3px;
font-size: 12px; border: 1px solid #ccc; float:right; padding:3px 10px; font-weight:700; transition-duration: 0.2s;}

View File

@@ -3023,7 +3023,7 @@ $(document).ready(function() {
// 이미 엑셀 버튼이 있으면 추가하지 않음 (#btnExcel 또는 .excel 클래스 체크)
if ($('#btnExcel').length === 0 && $('.btnArea .excel').length === 0) {
// $('.btnArea').append("<input type='button' class='plm_btns excelBtn' value='Excel Download'>");
$('.btnArea').append("<button type='button' class='plm_btns excelBtn' title='Excel Download'><img src='/images/ExcelDownload2.png' alt='Excel' style='height:18px;vertical-align:middle;'></button>");
$('.btnArea').append("<input type='button' class='plm_btns excelIcon excelBtn' value='Excel Download' title='Excel Download'>");
}
$(document).on('click', '.excelBtn', async function() {