FAISP/src/main/resources/templates/fipTarget/partWorkEditModal.html

81 lines
3.8 KiB
HTML

<!DOCTYPE html>
<html lang="ko" xmlns:th="http://www.thymeleaf.org">
<div class="modal-header bg-dark">
<h5 class="modal-title text-white" id="menuEditModalLabel">외사분실 실적 등록</h5>
<button type="button" class="btn-close f-invert" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body" id="noticeEditBody">
<form action="#" method="post" id="partWorkSaveFm">
<input type="hidden" name="_csrf_header" th:value="${_csrf.headerName}"/>
<input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/>
<input type="hidden" id="saveYn" name="saveYn">
<div class="row mb-1">
<label for="wrtUserNm" class="col-sm-2 col-form-label col-form-label-sm text-center">작성자</label>
<div class="col-sm-4">
<input type="text" class="form-control form-control-sm" id="wrtUserNm" placeholder="작성자 자동입력" readonly>
</div>
<label for="wrtDt" class="col-sm-2 col-form-label col-form-label-sm text-center">작성일</label>
<div class="col-sm-4">
<input type="text" class="form-control form-control-sm" id="wrtDt" placeholder="자동입력" readonly>
</div>
</div>
<div class="row mb-1">
<label for="piSeq" class="col-sm-2 col-form-label col-form-label-sm text-center">터미널명</label>
<div class="col-sm-4">
<select class="form-select form-select-sm" id="piSeq" name="piSeq">
<option value="">선택</option>
<th:block th:each="terminal:${tnList}">
<option th:value="${terminal.pi_seq}" th:text="${terminal.terminal_nm}"></option>
</th:block>
</select>
</div>
<label for="workDt" class="col-sm-2 col-form-label col-form-label-sm text-center">일시</label>
<div class="col-sm-4">
<input type="text" class="form-control form-control-sm" id="workDt" name="workDt" readonly>
</div>
</div>
<div class="row mb-1 justify-content-center">
<label class="col-sm-2 col-form-label col-form-label-sm text-center">종류</label>
<div class="col-sm-10">
<th:block th:each="code:${pwtList}">
<input type="radio" th:id="|workType${code.itemCd}|" name="workType" th:value="${code.itemCd}">
<label th:for="|workType${code.itemCd}|" class="col-form-label bg-white" th:text="${code.itemValue}"></label>
</th:block>
</div>
</div>
<div class="row mb-1 justify-content-center">
<label for="editor" class="col-sm-2 col-form-label col-form-label-sm text-center">내용</label>
<div class="col-sm-10">
<div id="editor"></div>
<textarea id="content" class="d-none"></textarea>
</div>
</div>
<div class="row mb-1">
<label for="description" class="col-sm-2 col-form-label col-form-label-sm text-center">비고</label>
<div class="col-sm-10">
<input type="text" class="form-control form-control-sm" id="description" name="description">
</div>
</div>
<div class="row mb-3">
<label for="fileInputer" class="col-sm-2 col-form-label col-form-label-sm text-center">첨부파일</label>
<div class="col-sm-10" style="min-height: 70px;">
<div class="w-100 h-100 border border-info rounded text-center" id="uploadDiv">
<br>파일을 업로드 해주세요.
</div>
</div>
<input type="file" class="d-none" id="fileInputer" multiple>
</div>
</form>
</div>
<div class="modal-footer justify-content-between bg-light">
<div class="col-auto">
<!--
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button>
-->
</div>
<div class="col-auto">
<button type="button" class="btn btn-primary" id="temporarySaveBtn">임시저장</button>
<button type="button" class="btn btn-primary" id="saveBtn">저장</button>
</div>
</div>
</html>