FAISP/src/main/resources/templates/translator/translatorEditModal.html

119 lines
6.9 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="ko" xmlns:th="http://www.thymeleaf.org">
<form id="trInfoUpdate" method="post">
<input type="hidden" name="_csrf_header" th:value="${_csrf.headerName}"/>
<input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/>
<input type="hidden" class="translatorKey" name="translatorKey" th:value="${trInfo.translatorKey}"/>
<input type="hidden" class="versionNo" name="versionNo" th:value="${trInfo.versionNo}"/>
<br>
<div class="pl-15">
<div class="row mb-1">
2023-01-26 06:19:28 +00:00
<label for="eOgdp1" class="col-sm-1 col-form-label-sm text-center">관서</label>
<div class="col-sm-2">
<select class="form-select" id="eOgdp1" name="ogdp1" th:disabled="${accessAuth ne 'ACC003'}">
<option value="">선택</option>
<th:block th:each="commonCode:${session.commonCode.get('OG')}">
<th:block th:if="${#lists.contains(mgtOrganList, commonCode.itemCd)}">
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}" th:selected="${commonCode.itemCd} == ${trInfo.ogdp1}"></option>
</th:block>
</th:block>
</select>
</div>
2023-01-26 06:19:28 +00:00
<label for="eTrLang" class="col-sm-1 col-form-label-sm text-center">언어</label>
<div class="col-sm-2">
<select class="form-select" id="eTrLang" name="trLang">
<option value="">선택</option>
<th:block th:each="commonCode:${session.commonCode.get('LGG')}">
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}" th:selected="${commonCode.itemCd} == ${trInfo.trLang}"></option>
</th:block>
</select>
</div>
2023-01-26 06:19:28 +00:00
<label for="eTrCareer" class="col-sm-1 col-form-label-sm text-center">경력</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="eTrCareer" name="trCareer" th:value="${trInfo.trCareer}">
</div>
</div>
<div class="row mb-1">
2023-01-26 06:19:28 +00:00
<label for="eTrEname" class="col-sm-1 col-form-label-sm text-center">성명</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="eTrEname" name="trName" th:value="${trInfo.trName}">
</div>
2023-01-26 06:19:28 +00:00
<label for="eTrSex" class="col-sm-1 col-form-label-sm text-center">성별</label>
<div class="col-sm-2">
<select class="form-select" id="eTrSex" name="trSex">
<option value="">선택</option>
<th:block th:each="commonCode:${session.commonCode.get('SEX')}">
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}" th:selected="${commonCode.itemCd} == ${trInfo.trSex}"></option>
</th:block>
</select>
</div>
2023-01-26 06:19:28 +00:00
<label for="eTrPhone" class="col-sm-1 col-form-label-sm text-center">연락처</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="eTrPhone" name="trPhone" th:value="${trInfo.trPhone}">
</div>
</div>
<div class="row mb-1">
2023-01-26 06:19:28 +00:00
<label for="eTrNny" class="col-sm-1 col-form-label-sm text-center">국적</label>
<div class="col-sm-2">
<select class="form-select" id="eTrNny" name="trNny">
<option value="">선택</option>
<th:block th:each="commonCode:${session.commonCode.get('NNY')}">
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}" th:selected="${commonCode.itemCd} == ${trInfo.trNny}"></option>
</th:block>
</select>
</div>
2023-01-26 06:19:28 +00:00
<label for="eTrAge" class="col-sm-1 col-form-label-sm text-center">나이</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="eTrAge" name="trAge" th:value="${trInfo.trAge}">
</div>
2023-01-26 06:19:28 +00:00
<label for="eTrEdu" class="col-sm-1 col-form-label-sm text-center">학력</label>
<div class="col-sm-2">
<select class="form-select" id="eTrEdu" name="trEdu">
<option value="">선택</option>
<th:block th:each="commonCode:${session.commonCode.get('EDU')}">
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}" th:selected="${commonCode.itemCd} == ${trInfo.trEdu}"></option>
</th:block>
</select>
</div>
</div>
<div class="row mb-1">
2023-01-26 06:19:28 +00:00
<label for="eTrCft" class="col-sm-1 col-form-label-sm text-center">자격증</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="eTrCft" name="trCft" th:value="${trInfo.trCft}">
</div>
2023-01-26 06:19:28 +00:00
<label for="eTrVisa" class="col-sm-1 col-form-label-sm text-center">비자</label>
<div class="col-sm-2">
<select class="form-select" id="eTrVisa" name="trVisa">
<option value="">선택</option>
<th:block th:each="commonCode:${session.commonCode.get('VISA')}">
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}" th:selected="${commonCode.itemCd} == ${trInfo.trVisa}"></option>
</th:block>
</select>
</div>
2023-01-26 06:19:28 +00:00
<label for="viewAptDt" class="col-sm-1 col-form-label-sm text-center">위촉일</label>
<div class="col-sm-2">
<input type="text" class="form-control" id="viewAptDt" name="aptDt" th:value="${trInfo.aptDt}" readonly>
</div>
</div>
<div class="mb-2 row">
2023-01-26 06:19:28 +00:00
<label for="eDmlYn" class="col-sm-1 col-form-label-sm text-center">해촉</label>
<div class="col-sm-2">
<select class="form-select" id="eDmlYn" name="dmlYn">
<option value="">선택</option>
<option value="O" th:selected="'O' == ${trInfo.dmlYn}">O</option>
<option value="X" th:selected="'X' == ${trInfo.dmlYn}">X</option>
</select>
</div>
2023-01-26 06:19:28 +00:00
<label for="eRemark" class="col-sm-1 col-form-label-sm text-center">비고</label>
<div class="col-sm-5">
<input type="text" class="form-control" id="eRemark" name="remark" th:text="${trInfo.remark}">
</div>
</div>
</div>
<div class="modal-footer bg-light">
<button type="button" class="btn btn-secondary" id="trDeleteBtn" th:if="${accessAuth eq 'ACC003'} or ${wrtUserSeq eq userSeq}">해임</button>
<button type="button" class="btn btn-warning" id="updateBtn" th:if="${accessAuth eq 'ACC003'} or ${wrtUserSeq eq userSeq}">수정</button>
</div>
</form>
</html>