버튼 색상 변경

main
이범준 1 year ago
parent 046912c80e
commit 8598d35c79

@ -45,8 +45,8 @@
</ul> </ul>
</div> </div>
<span class="container-window-btn-right"> <span class="container-window-btn-right">
<a href="#" id="btnInsertByFile--${pageName}" class="btn btn-blue" title="단속 파일 등록">단속 파일 등록</a> <a href="#" id="btnInsertByFile--${pageName}" class="btn btn-primary" title="단속 파일 등록">단속 파일 등록</a>
<a href="#" id="btnInsertByHand--${pageName}" class="btn btn-blue" title="단속 수기 등록">단속 수기 등록</a> <a href="#" id="btnInsertByHand--${pageName}" class="btn btn-primary" title="단속 수기 등록">단속 수기 등록</a>
</span> </span>
</span> </span>
</div> </div>

@ -257,9 +257,9 @@
<input type="file" id="inputUploadSet--${pageName}" name="inputUploadSet" multiple accept="image/*" hidden /> <input type="file" id="inputUploadSet--${pageName}" name="inputUploadSet" multiple accept="image/*" hidden />
</form> </form>
<div class="col-md-12"> <div class="col-md-12">
<button type="button" id="btnAddFile--${pageName}" class="btn btn-blue">이미지 추가</button> <button type="button" id="btnAddFile--${pageName}" class="btn btn-primary">이미지 추가</button>
<button type="button" id="btnOpenVideoCapture--${pageName}" class="btn btn-blue">동영상 캡쳐</button> <button type="button" id="btnOpenVideoCapture--${pageName}" class="btn btn-primary">동영상 캡쳐</button>
<button type="button" id="btnCancelAddFile--${pageName}" class="btn btn-blue">선택 사진 삭제</button> <button type="button" id="btnCancelAddFile--${pageName}" class="btn btn-primary">선택 사진 삭제</button>
</div> </div>
<div id="display--${pageName}" style="overflow-y: scroll;height: 600px;border-style: solid;"> <div id="display--${pageName}" style="overflow-y: scroll;height: 600px;border-style: solid;">

@ -133,8 +133,8 @@
</ul> </ul>
</div> </div>
<span class="container-window-btn-right"> <span class="container-window-btn-right">
<a href="#" id="" class="btn btn-blue" title="업무처리1">업무 처리1</a> <a href="#" id="" class="btn btn-primary" title="업무처리1">업무 처리1</a>
<a href="#" id="" class="btn btn-blue" title="업무처리2">업무 처리2</a> <a href="#" id="" class="btn btn-primary" title="업무처리2">업무 처리2</a>
</span> </span>
</div> </div>
</div> </div>

@ -47,7 +47,7 @@
</ul> </ul>
</div> </div>
<span class="container-window-btn-right"> <span class="container-window-btn-right">
<a href="#" id="btnUpdateToConfirmData--${pageName}" class="btn btn-blue" title="개별 확인 자료로 수정">개별 확인 자료로 수정</a> <a href="#" id="btnUpdateToConfirmData--${pageName}" class="btn btn-primary" title="개별 확인 자료로 수정">개별 확인 자료로 수정</a>
</span> </span>
</span> </span>
</div> </div>

@ -66,8 +66,8 @@
</div> </div>
<span class="container-window-btn-right"> <span class="container-window-btn-right">
<a href="#" id="btnOpenCvlcptOrgnl--${pageName}" class="btn btn-blue" title="민원원본보기">민원원본보기</a> <a href="#" id="btnOpenCvlcptOrgnl--${pageName}" class="btn btn-primary" title="민원원본보기">민원원본보기</a>
<a href="#" id="btnHold--${pageName}" class="btn btn-blue" title="처리 잠시 보류">처리 잠시 보류</a> <a href="#" id="btnHold--${pageName}" class="btn btn-primary" title="처리 잠시 보류">처리 잠시 보류</a>
</span> </span>
</span> </span>
</div> </div>
@ -133,8 +133,8 @@
</div> </div>
</div> </div>
위반장소 <input id="bottomCrdnPlc--${pageName}" type="text" size="100" /> 위반장소 <input id="bottomCrdnPlc--${pageName}" type="text" size="100" />
<a href="#" id="btnDelete--${pageName}" class="btn btn-blue" title="선택자료 삭제">선택자료 삭제</a> <a href="#" id="btnDelete--${pageName}" class="btn btn-primary" title="선택자료 삭제">선택자료 삭제</a>
<a href="#" id="btnDeleteSameRcptYmd--${pageName}" class="btn btn-blue" title="접수일 전체 삭제">접수일 전체 삭제</a> <a href="#" id="btnDeleteSameRcptYmd--${pageName}" class="btn btn-primary" title="접수일 전체 삭제">접수일 전체 삭제</a>
</div> </div>
<div class="toast-container position-fixed bottom-0 end-0 p-3"> <div class="toast-container position-fixed bottom-0 end-0 p-3">
<div id="divToast--${pageName}" class="toast" role="alert" aria-live="assertive" aria-atomic="true"> <div id="divToast--${pageName}" class="toast" role="alert" aria-live="assertive" aria-atomic="true">

@ -271,8 +271,8 @@
<div class="col-md-12 d-flex justify-content-between"> <div class="col-md-12 d-flex justify-content-between">
<div class="fs-4 fw-bold">등록된 사진</div> <div class="fs-4 fw-bold">등록된 사진</div>
<div> <div>
<button type="button" id="btnEditPhoto--${pageName}" class="btn btn-blue">선택 사진 편집</button> <button type="button" id="btnEditPhoto--${pageName}" class="btn btn-primary">선택 사진 편집</button>
<button type="button" id="btnDeleteExistPhoto--${pageName}" class="btn btn-blue">선택 사진 삭제</button> <button type="button" id="btnDeleteExistPhoto--${pageName}" class="btn btn-primary">선택 사진 삭제</button>
</div> </div>
</div> </div>
<div id="displayForExist--${pageName}" style="overflow-y: scroll;min-height: 40px;max-height: 340px;border-style: solid;"> <div id="displayForExist--${pageName}" style="overflow-y: scroll;min-height: 40px;max-height: 340px;border-style: solid;">
@ -284,9 +284,9 @@
<div class="col-md-12 d-flex justify-content-between"> <div class="col-md-12 d-flex justify-content-between">
<div class="fs-4 fw-bold">추가한 사진</div> <div class="fs-4 fw-bold">추가한 사진</div>
<div> <div>
<button type="button" id="btnAddFile--${pageName}" class="btn btn-blue">사진 추가</button> <button type="button" id="btnAddFile--${pageName}" class="btn btn-primary">사진 추가</button>
<button type="button" id="btnOpenVideoCapture--${pageName}" class="btn btn-blue">동영상 캡쳐</button> <button type="button" id="btnOpenVideoCapture--${pageName}" class="btn btn-primary">동영상 캡쳐</button>
<button type="button" id="btnCancelAddFile--${pageName}" class="btn btn-blue">선택 사진 삭제</button> <button type="button" id="btnCancelAddFile--${pageName}" class="btn btn-primary">선택 사진 삭제</button>
</div> </div>
</div> </div>
<div id="displayForNew--${pageName}" style="overflow-y: scroll;min-height: 40px;max-height: 340px;border-style: solid;"> <div id="displayForNew--${pageName}" style="overflow-y: scroll;min-height: 40px;max-height: 340px;border-style: solid;">

@ -72,10 +72,10 @@
</ul> </ul>
</div> </div>
<span class="container-window-btn-right"> <span class="container-window-btn-right">
<a href="#" id="btnOpenCvlcptOrgnl--${pageName}" class="btn btn-blue" title="민원원본보기">민원원본보기</a> <a href="#" id="btnOpenCvlcptOrgnl--${pageName}" class="btn btn-primary" title="민원원본보기">민원원본보기</a>
<a href="#" id="btnOpenAnswerPreview--${pageName}" class="btn btn-blue" title="민원원본보기">답변미리보기</a> <a href="#" id="btnOpenAnswerPreview--${pageName}" class="btn btn-primary" title="답변미리보기">답변미리보기</a>
<a href="#" id="" class="btn btn-blue" title="선택자료답변등록실행">선택자료답변등록실행</a> <a href="#" id="" class="btn btn-primary" title="답변등록 실행">&#x2611; 답변등록 실행</a>
<a href="#" id="" class="btn btn-blue" title="답변완료로 수정">답변완료로 수정</a> <a href="#" id="" class="btn btn-primary" title="답변완료로 수정">&#x2611; 답변완료로 수정</a>
</span> </span>
</span> </span>
</div> </div>
@ -295,6 +295,10 @@ $(document).ready(function(){
$P.crdnControl.query.pageNum = $P.crdnControl.untilPageNum; $P.crdnControl.query.pageNum = $P.crdnControl.untilPageNum;
$P.crdnControl.untilPageNum = 0; $P.crdnControl.untilPageNum = 0;
} }
if($("#table-responsive--${pageName}").find("input[name='gridAllCheckbox']").is(":checked")){
$("#table-responsive--${pageName}").find("input[name='gridCheckbox']").prop("checked",true);
}
} }
$P.getParams = () => { $P.getParams = () => {
@ -421,6 +425,10 @@ $(document).ready(function(){
$("#table-responsive--${pageName}").scroll(function(){ $P.scrollEnd(this); }); $("#table-responsive--${pageName}").scroll(function(){ $P.scrollEnd(this); });
$("#table-responsive--${pageName}").find("input[name='gridAllCheckbox']").on("click", function(){
var checkYn = $(this).is(":checked");
$("#table-responsive--${pageName}").find("input[name='gridCheckbox']").prop("checked", checkYn);
});
/************************************************************************** /**************************************************************************
* 초기화 * 초기화

Loading…
Cancel
Save